mirror of
https://github.com/google/benchmark.git
synced 2025-03-05 23:00:10 +08:00
Enable int shortening warnings
This commit is contained in:
parent
19464f7dab
commit
f022d780eb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user