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

This commit is contained in:
Jesse Beder
2009-07-10 03:30:04 +00:00
parent b113c37819
commit 781fb4d093
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()