[LLVMbugs] [Bug 1030] __APPLE_CC__ is incorrect defined on Linux

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Dec 3 08:42:16 PST 2006


rspencer at x10sys.com changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

------- Additional Comments From rspencer at x10sys.com  2006-12-03 10:42 -------
This isn't correct. The __APPLE_CC__ symbol is defined by the compiler (header
or not) to identify the compiler as the apple version of gcc. It doesn't tell
you anything about the platform.

I have fixed the test/Regression/CFrontend/extern-weak.ll test to check for the
symbol __linux__ instead.

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list