http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51749

--- Comment #5 from nospam.kotarou.dono at gmail dot com 2012-01-08 12:14:56 
UTC ---
Also found another similar problem while compiling on Windows with mingw-w64.
Including <chrono> also pollutes the global namespace.

text.cpp:

#include <chrono>
timeval t; // Shouldn't compile
int main() { return 0; }

Compiles with: g++ -std=gnu++11 test.cpp -o test

GCC version is exactly the same as the one in my first comment.

PS. Should I report this specific problem to mingw-w64 instead?

Reply via email to