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++/47635] ICE on invalid code in constructor_name_p, at cp/name-lookup.c:1809


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

--- Comment #4 from Pawel Sikora <pluto at agmk dot net> 2011-05-26 18:49:35 UTC ---
(In reply to comment #3)
> Is this a C++0x issue? Should be marked as such.

yes, w/o c++0x i get:

heshvpUtils.cpp:460:28: error: declaration of 'hvp::LibraryVersion version()'
not in a namespace surrounding '::'
heshvpUtils.cpp:460:28: error: 'hvp::LibraryVersion version()' should have been
declared inside '::'
heshvpUtils.cpp:460:28: error: non-member function 'hvp::LibraryVersion
version()' cannot have cv-qualifier
heshvpUtils.cpp: In function 'hvp::LibraryVersion version()':
heshvpUtils.cpp:461:10: error: 'libVersion_' was not declared in this scope
cc1plus: warnings being treated as errors
heshvpUtils.cpp:462:2: error: control reaches end of non-void function


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