This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/20313] poor diagnostic



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]