Changing clang settings to c11, not c99, for Windows
This commit is contained in:
parent
a2f8669f9e
commit
efa1019db2
1 changed files with 4 additions and 5 deletions
|
@ -5,13 +5,13 @@ INTEST = intest/Tangled/intest
|
|||
INWEB = inweb/Tangled/inweb
|
||||
|
||||
# Use the MinGW x64 clang compiler
|
||||
CC = x86_64-w64-mingw32-clang -std=c99 -c $(MANYWARNINGS) $(CCOPTS)
|
||||
INDULGENTCC = x86_64-w64-mingw32-clang -std=c99 -c $(FEWERWARNINGS) $(CCOPTS)
|
||||
CC = x86_64-w64-mingw32-clang -std=c11 -c $(MANYWARNINGS) $(CCOPTS)
|
||||
INDULGENTCC = x86_64-w64-mingw32-clang -std=c11 -c $(FEWERWARNINGS) $(CCOPTS)
|
||||
|
||||
# Define the Windows platform preprocessor symbol
|
||||
CCOPTS = -DPLATFORM_WINDOWS=1 -D_WIN32_WINNT=0x0600
|
||||
MANYWARNINGS = -Weverything -Wno-pointer-arith -Wno-unused-macros -Wno-shadow -Wno-cast-align -Wno-variadic-macros -Wno-missing-noreturn -Wno-missing-prototypes -Wno-unused-parameter -Wno-padded -Wno-missing-variable-declarations -Wno-unreachable-code-break -Wno-class-varargs -Wno-format-nonliteral -Wno-cast-qual -Wno-double-promotion -Wno-comma -Wno-strict-prototypes -Wno-extra-semi-stmt -Wno-used-but-marked-unused -ferror-limit=1000
|
||||
FEWERWARNINGS = -Wno-implicit-int -Wno-dangling-else -Wno-pointer-sign -Wno-format-extra-args -Wno-tautological-compare -Wno-deprecated-declarations -Wno-logical-op-parentheses -Wno-format -Wno-extra-semi-stmt
|
||||
MANYWARNINGS = -Weverything -Wno-pointer-arith -Wno-unused-macros -Wno-shadow -Wno-cast-align -Wno-variadic-macros -Wno-missing-noreturn -Wno-missing-prototypes -Wno-unused-parameter -Wno-padded -Wno-missing-variable-declarations -Wno-unreachable-code-break -Wno-class-varargs -Wno-format-nonliteral -Wno-cast-qual -Wno-double-promotion -Wno-comma -Wno-strict-prototypes -Wno-extra-semi-stmt -Wno-used-but-marked-unused -Wno-unreachable-code-return -ferror-limit=1000
|
||||
FEWERWARNINGS = -Wno-implicit-int -Wno-dangling-else -Wno-pointer-sign -Wno-format-extra-args -Wno-tautological-compare -Wno-deprecated-declarations -Wno-logical-op-parentheses -Wno-format -Wno-extra-semi-stmt -Wno-unreachable-code-return
|
||||
|
||||
LINK = x86_64-w64-mingw32-clang $(CCOPTS)
|
||||
LINKEROPTS = -lshlwapi
|
||||
|
@ -22,4 +22,3 @@ ARTOOL = ar -r
|
|||
|
||||
INFORM6OS = PC_WIN32
|
||||
GLULXEOS = OS_WIN32
|
||||
|
||||
|
|
Loading…
Reference in a new issue