This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/47635] ICE on invalid code in constructor_name_p, at cp/name-lookup.c:1809
- From: "pluto at agmk dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 26 May 2011 18:49:38 +0000
- Subject: [Bug c++/47635] ICE on invalid code in constructor_name_p, at cp/name-lookup.c:1809
- Auto-submitted: auto-generated
- References: <bug-47635-4@http.gcc.gnu.org/bugzilla/>
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