diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e920c890..93a51f2df 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ if (${CMAKE_C_COMPILER} MATCHES ".*tcc") endif(${CMAKE_C_COMPILER} MATCHES ".*tcc") if (${CMAKE_C_COMPILER} MATCHES ".*gcc") - set(CMAKE_C_FLAGS "-g -Wall -Werror -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wno-char-subscripts -ansi -pedantic") + set(CMAKE_C_FLAGS "-g -Wall -Werror -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wno-char-subscripts -pedantic -Wno-long-long") endif(${CMAKE_C_COMPILER} MATCHES ".*gcc") if (WIN32)