[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug c++/33093] ICE in C++ frontend with constant defined in template specialization




------- Comment #1 from pinskia at gcc dot gnu dot org  2007-08-16 21:01 -------
>As far as I can see this is valid C++ code.
It is not but the way to fix it is doing:
template<>
const unsigned char B<unsigned char>::c = 1;

----- cut ------
This is a dup of bug 24791

*** This bug has been marked as a duplicate of 24791 ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33093

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



Reply to: