[Bug c++/36699] not compile code, but must

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Mon Jul 7 23:31:00 GMT 2008

------- Comment #1 from bangerth at dealii dot org  2008-07-07 23:30 -------
Not a bug: type arguments to templates need to be *named* types with
external linkage. The declaration of 'x' uses an unnamed structure,
the declaration of 'z' a type of function-scope (and so internal) linkage.



bangerth at dealii dot org changed:

           What    |Removed                     |Added
                 CC|                            |bangerth at dealii dot org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


More information about the Gcc-bugs mailing list