Skip to content

Commit fc6b7c5

Browse files
committed
Latest version of gcc from Apple does not work well with -traditional-cpp
(it rejects some system header files...). Use -no-cpp-precomp instead. I think it is okay to change this unconditionally, but if we hear complaints from people still using very old compilers on Darwin, we could put in a test to see which switch the compiler likes.
1 parent 28847ae commit fc6b7c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/template/darwin

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# -traditional-cpp means "don't use apple's cpp-precomp" on darwin
2-
# this should change to -no-cpp-precomp when that flag is implemented
3-
CC="$CC -traditional-cpp"
1+
# Apple's cpp-precomp seems a tad broken, so don't use it
2+
# (Note: on OS X before 10.2, you might need -traditional-cpp instead)
3+
CC="$CC -no-cpp-precomp"
44

55
# Select appropriate semaphore support
66
USE_NAMED_POSIX_SEMAPHORES=1

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy