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++/67746] Mangled name is accepted for variables in namespace-scope


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67746

--- Comment #2 from Roger Ferrer Ibanez <roger.ferrer at bsc dot es> ---
(In reply to Jonathan Wakely from comment #1)
> Your examples are undefined due to the use of reserved names, and the
> libstdc++ implementation actually relies on this in places, so I think
> changing it would break things.

Ah ok, I didn't know this was used in the libstdc++.

Thanks,


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