From 8a28aaf8a1c15bb3d4091374d9a1da62c718ea38 Mon Sep 17 00:00:00 2001 From: Sears Russell Date: Sat, 8 Mar 2008 03:02:49 +0000 Subject: [PATCH] Enabled C++ compilation warnings --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4aec8b5..c5c468a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,3 +42,4 @@ LINK_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/src/stasis ${CMAKE_CURRENT_BINARY_D SET(COMMON_LIBRARIES stasis rw m pthread) SET(CMAKE_C_FLAGS "-g -Wall -pedantic -std=gnu99 -DPBL_COMPAT ${CMAKE_C_FLAGS}") +SET(CMAKE_CXX_FLAGS "-g -Wall -Wno-variadic-macros -Wno-long-long -pedantic -DPBL_COMPAT ${CMAKE_CXX_FLAGS}")