Skip to content
Snippets Groups Projects
Commit 210c9419 authored by James R.'s avatar James R.
Browse files

Ignore -Wtrigraphs

parent 8b021ec1
Branches
Tags
1 merge request!1504Fix some compiler warnings
...@@ -604,6 +604,8 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang") ...@@ -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 ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment