[Bug 1349907] [NEW] gcc, powerpc with C++11 standard does not define __linux
Dimitri John Ledkov
launchpad at surgut.co.uk
Tue Jul 29 15:23:58 UTC 2014
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
Foundations Bugs, which is subscribed to gcc-4.9 in Ubuntu.
https://bugs.launchpad.net/bugs/1349907
Title:
gcc, powerpc with C++11 standard does not define __linux
Status in “gcc-4.9” package in Ubuntu:
New
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.9/+bug/1349907/+subscriptions
More information about the foundations-bugs
mailing list