mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-22 04:21:23 +00:00
Ignore -Wtrigraphs
This commit is contained in:
parent
8b021ec16b
commit
210c9419e4
2 changed files with 3 additions and 1 deletions
|
@ -604,6 +604,8 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||||
set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} -Wno-absolute-value)
|
set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} -Wno-absolute-value)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} -Wno-trigraphs)
|
||||||
|
|
||||||
add_definitions(-DCMAKECONFIG)
|
add_definitions(-DCMAKECONFIG)
|
||||||
|
|
||||||
#add_library(SRB2Core STATIC
|
#add_library(SRB2Core STATIC
|
||||||
|
|
|
@ -209,7 +209,7 @@ endif
|
||||||
|
|
||||||
OLDWFLAGS:=$(WFLAGS)
|
OLDWFLAGS:=$(WFLAGS)
|
||||||
# -W -Wno-unused
|
# -W -Wno-unused
|
||||||
WFLAGS=-Wall
|
WFLAGS=-Wall -Wno-trigraphs
|
||||||
ifndef GCC295
|
ifndef GCC295
|
||||||
#WFLAGS+=-Wno-packed
|
#WFLAGS+=-Wno-packed
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue