[Bug c++/20313] poor diagnostic

manu at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Jun 6 00:13:00 GMT 2010



------- Comment #2 from manu at gcc dot gnu dot org  2010-06-06 00:13 -------
This testcase does show PR99 but that is not what this PR is about. The
diagnostics of GCC would be clearer if it said:

/home/manuel/pr20313.C:10:30: error: invalid use of incomplete type ‘struct
s<>Â’
/home/manuel/pr20313.C:5:22: note: ‘struct s<>’ declared here

What do you think Ivan?


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |


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



More information about the Gcc-bugs mailing list