This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49252] Problem with inline
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 1 Jun 2011 10:20:01 +0000
- Subject: [Bug c++/49252] Problem with inline
- Auto-submitted: auto-generated
- References: <bug-49252-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49252
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-06-01 10:20:00 UTC ---
This has absolutely nothing to do with 'inline'
Whitespace is not significant in C++ so that line is equivalent to a single
qualified name:
std :: string :: Demo :: SOne :: text
Which is invalid.
Since the "::" in "::Demo" is optional you can just leave it out to cause the
correct name to be found.