1
0
Fork 0

Explicitly make chars signed at the compiler-level.

Should fix #640.
This commit is contained in:
madmaxoft 2014-02-04 23:43:40 +01:00
parent cc032995bd
commit 45958cb835
1 changed files with 3 additions and 0 deletions

View File

@ -60,6 +60,9 @@ else()
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -std=c++11")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -std=c++11")
endif()
# We use a signed char (fixes #640 on RasPi)
add_flags_cxx("-fsigned-char")
endif()