This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: __APPLE_CC__ defined on head of mainline



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]