[Bug libstdc++/51749] Including <algorithm> pollute global namespace
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jan 8 12:41:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51749
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-01-08 12:41:16 UTC ---
(In reply to comment #5)
> Also found another similar problem while compiling on Windows with mingw-w64.
> Including <chrono> also pollutes the global namespace.
In general you'll just have to live with some of these bugs, we're not going to
reimplement the entire system's libc so libstdc++ has to be built on top of OS
features and not all of them can easily be hidden or redeclared with names
reserved names.
> PS. Should I report this specific problem to mingw-w64 instead?
No, it's not mingw-specific
More information about the Gcc-bugs
mailing list