[Bug c++/47343] incorrect location for declaration of class template partial specialization

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 15 02:28:00 GMT 2012


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.8.0

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-11-15 02:28:15 UTC ---
Fixed by http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193524

pt.cc:21:16: error: invalid use of incomplete type ‘struct X<Y<T> >’
   X< Y<T> >::f()    // xxx
                ^
pt.cc:17:10: error: declaration of ‘struct X<Y<T> >’
   struct X< Y<T> >;  // here
          ^



More information about the Gcc-bugs mailing list