#4078: GCC C++ compiler for powerpc defines _GNU_SOURCE as a built-in
------------------------------+-----------------------------
Reporter: Sebastian Huber | Owner: Sebastian Huber
Type: defect | Status: assigned
Priority: normal | Milestone: 6.1
Component: arch/powerpc | Version: 6
Severity: normal | Keywords:
Blocked By: | Blocking:
------------------------------+-----------------------------
For example:
powerpc-rtems6-g++ -E -P -v -dD empty.cc 2>&1 | grep GNU_SOURCE
Yields:
/opt/rtems/6/libexec/gcc/powerpc-rtems6/10.2.1/cc1plus -E -quiet -v -P
-D_GNU_SOURCE -Dmpc750 empty.cc -dD
#define _GNU_SOURCE 1
This is a GCC configuration bug. The reason is that the RTEMS GCC
configuration includes gnu-user.h.
--
Ticket URL: <http://devel.rtems.org/ticket/4078>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs