error on the default warnings
This commit is contained in:
parent
5cc8b63b1c
commit
6922ff42d8
1 changed files with 1 additions and 1 deletions
|
@ -849,7 +849,7 @@ endif()
|
|||
# Stratagus needs to have char by default signed
|
||||
# No idea how to tell this to other compilers
|
||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -std=gnu++0x")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -std=gnu++0x -Werror")
|
||||
endif()
|
||||
if(CMAKE_COMPILER_IS_GNUC)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char")
|
||||
|
|
Loading…
Reference in a new issue