Repository :
http://git.fedorahosted.org/cgit/firewalld-recode.git
On branch : master
---------------------------------------------------------------
commit 3f37dcdfd138f2e889d5c4b17f4e0f5b7c3792a1
Author: Daniel Kopecek <dkopecek(a)redhat.com>
Date: Wed Aug 27 09:15:22 2014 +0200
Treat compiler warnings as errors and check calls to printf/scanf-like functions
---------------------------------------------------------------
CMakeLists.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4ac227f..c832928 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -11,7 +11,7 @@ include_directories(${GLIBMM_INCLUDE_DIRS})
include_directories(${GIOMM_INCLUDE_DIRS})
include_directories(${EXPAT_INCLUDE_DIRS})
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -pthread")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Werror -Wformat=2
-pthread")
#
# Compile main components