[Bug 1349907] Re: gcc, powerpc with C++11 standard does not define __linux

2014-07-29 Thread Ulrich Weigand
So there's two issues: First of all, on amd64: g++ -std=c++0x -dM -E - < /dev/null | grep linux cc1: warning: command line option "-std=c++0x" is valid for C++/ObjC++ but not for C #define __linux 1 #define __linux__ 1 #define __gnu_linux__ 1 #define linux 1 Note the warning? That means the -

[Bug 1349907] Re: gcc, powerpc with C++11 standard does not define __linux

2014-07-29 Thread Dimitri John Ledkov
Use __linux__, as per https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28314 ** Bug watch added: GCC Bugzilla #28314 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28314 ** Changed in: gcc-4.9 (Ubuntu) Status: New => Won't Fix -- You received this bug notification because you are a member of