Fixed warnings to compile on gcc with -Wall -pedantic -Wextra

This commit is contained in:
jbeder
2009-07-10 03:30:04 +00:00
parent 907960850b
commit 616eafc3c1
8 changed files with 12 additions and 12 deletions

View File

@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.6)
project (YAML_CPP)
SET(CMAKE_CXX_FLAGS "-O2")
SET(CMAKE_CXX_FLAGS "-O2 -Wall -pedantic -Wextra")
enable_testing()