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 -
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