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.