This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __APPLE_CC__ defined on head of mainline
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: "Timothy J.Wood" <tjw at omnigroup dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 30 Dec 2004 23:52:15 -0500
- Subject: Re: __APPLE_CC__ defined on head of mainline
- References: <637591E2-5ADF-11D9-A009-000D93361BA8@omnigroup.com>
On Dec 30, 2004, at 10:52 PM, Timothy J.Wood wrote:
I'm building the mainline (not the Apple branch) on Darwin and when
I use the compiler, __APPLE_CC__ is defined. I would have expected
this to only be defined if using Apple's branch. Is this desired
behavior, or did the __APPLE_CC__ define accidentally get put in FSF's
sources?
No it did not accidentally get defined in the FSF's sources.
The comment from the place where gets defined:
/* Machine dependent cpp options. __APPLE_CC__ is defined as the
Apple include files expect it to be defined and won't work if it
isn't. */
Didn't I also close a bug about this before from you?
Thanks,
Andrew Pinski