diff options
author | Wouter van Oortmerssen <wvo@google.com> | 2014-08-12 15:46:27 -0700 |
---|---|---|
committer | Wouter van Oortmerssen <wvo@google.com> | 2014-08-12 16:29:20 -0700 |
commit | 620d8d6f7caca5cca01f2adaf34cf33b332cf768 (patch) | |
tree | aad3c22bd42042816fb5a81f6b9bec099515b22d /CMakeLists.txt | |
parent | 39d4b7e2bfb521850f28f4e42183a2f420aacdb6 (diff) | |
download | flatbuffers-620d8d6f7caca5cca01f2adaf34cf33b332cf768.tar.gz flatbuffers-620d8d6f7caca5cca01f2adaf34cf33b332cf768.tar.bz2 flatbuffers-620d8d6f7caca5cca01f2adaf34cf33b332cf768.zip |
Fixed compile warning related to file identification feature.
Change-Id: Id33cf778caa818c7d3988edee82058e63bfecbf0
Tested: on Linux
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index de525e2c..ac1c3a6e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,7 +57,7 @@ elseif(CMAKE_COMPILER_IS_GNUCXX OR "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") endif() -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Werror") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Werror -Wextra") if(FLATBUFFERS_CODE_COVERAGE) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -fprofile-arcs -ftest-coverage") |