diff options
author | Eric Fiselier <eric@efcs.ca> | 2015-03-12 20:17:40 -0400 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2015-03-12 20:17:40 -0400 |
commit | f022d780ebf71a842418cf3e210e68efbc7a49c3 (patch) | |
tree | ad8b8109d999bd74c954a4e19d56e2b963c94838 /CMakeLists.txt | |
parent | 19464f7dab7d3029b89069ea8add6d54eaf08c9b (diff) | |
download | google-benchmark-f022d780ebf71a842418cf3e210e68efbc7a49c3.tar.gz |
Enable int shortening warnings
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4296b23..b4a36bd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,6 +38,7 @@ add_cxx_compiler_flag(-Wextra) add_cxx_compiler_flag(-Wshadow) add_cxx_compiler_flag(-Werror) add_cxx_compiler_flag(-pedantic-errors) +add_cxx_compiler_flag(-Wshorten-64-to-32) # TODO(ericwf): enable this for g++ #add_cxx_compiler_flag(-Wzero-as-null-pointer-constant) # Release flags |