Ignore -Wtrigraphs

This commit is contained in:
James R 2021-05-08 16:48:40 -07:00
parent 8b021ec16b
commit 210c9419e4
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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