Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian GCC (http://www.linux-archive.org/debian-gcc/)
-   -   cpp: x86/powerpc inconsistency for the __linux macro (http://www.linux-archive.org/debian-gcc/620784-cpp-x86-powerpc-inconsistency-__linux-macro.html)

"pinskia at gcc dot gnu.org" 01-13-2012 11:08 PM

cpp: x86/powerpc inconsistency for the __linux macro
 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28314

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Target| |powerpc*-*-*
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-01-14
Ever Confirmed|0 |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-14 00:08:46 UTC ---
%{!std=*:-Dunix -D__unix -Dlinux -D__linux}
%{std=gnu*:-Dunix -D__unix -Dlinux -D__linux}}}

This has been a bug since the introduction of the define for __linux by:
r33942 | sirl | 2000-05-16 13:53:49 -0700 (Tue, 16 May 2000) | 5 lines

2000-05-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>

* sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux according
to given options.

--
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug.


--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/bug-28314-5724-0ZkIW1R9OD@http.gcc.gnu.org/bugzilla/


All times are GMT. The time now is 09:22 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.