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++/43275] unclear error message for missing typename


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|manu at gcc dot gnu.org     |
         Resolution|                            |FIXED

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-09-28 22:45:39 UTC ---
The error message on 4.5.x, 4.6.x and mainline seems pretty good to me:

43275.C:6:5: error: need âtypenameâ before âB<A>::Câ because âB<A>â is a
dependent scope


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