Public bug reported:
Envoking:
$ g++-4.9 -std=c++0x -dM -E - < /dev/null | grep linux
On amd64 shows:
#define __linux 1
#define __linux__ 1
#define __gnu_linux__ 1
#define linux 1
On powerpc shows:
#define __linux__ 1
#define __gnu_linux__ 1
Looks like "linux" and "__linux" defines are missing.
Dropping "-std=c++0x" on powerpc, makes it show all 4 linux defines.
** Affects: gcc-4.9 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1349907
Title:
gcc, powerpc with C++11 standard does not define __linux
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.9/+bug/1349907/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs