------- Additional Comments From bangerth at dealii dot org  2005-05-17 16:41 
-------
This is already fixed in gcc4.0 which says 
 
g/x> /home/bangerth/bin/gcc-4*/bin/c++ -c x.cc 
x.cc:5: error: ISO C++ forbids declaration of ‘T’ with no type 
x.cc: In instantiation of &#8216;B<A>&#8217;: 
x.cc:14:   instantiated from here 
x.cc:5: error: invalid use of undefined type &#8216;class A&#8217; 
x.cc:14: error: forward declaration of &#8216;class A&#8217; 
 
  
W.  

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
           Keywords|                            |ice-on-invalid-code
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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

Reply via email to