File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -832,6 +832,7 @@ if(NOT MSVC)
832
832
append_cxx_flag_if_supported("-Wno-type-limits" CMAKE_CXX_FLAGS )
833
833
append_cxx_flag_if_supported("-Wno-array-bounds" CMAKE_CXX_FLAGS )
834
834
append_cxx_flag_if_supported("-Wno-unknown-pragmas" CMAKE_CXX_FLAGS )
835
+ append_cxx_flag_if_supported("-Wunused-local-typedefs" CMAKE_CXX_FLAGS )
835
836
append_cxx_flag_if_supported("-Wno-unused-parameter" CMAKE_CXX_FLAGS )
836
837
append_cxx_flag_if_supported("-Wno-unused-function" CMAKE_CXX_FLAGS )
837
838
append_cxx_flag_if_supported("-Wno-unused-result" CMAKE_CXX_FLAGS )
@@ -895,6 +896,7 @@ if(NOT MSVC)
895
896
append_cxx_flag_if_supported("-Wno-constexpr-not-const" CMAKE_CXX_FLAGS )
896
897
append_cxx_flag_if_supported("-Wno-missing-braces" CMAKE_CXX_FLAGS )
897
898
append_cxx_flag_if_supported("-Wunused-lambda-capture" CMAKE_CXX_FLAGS )
899
+ append_cxx_flag_if_supported("-Wunused-local-typedef" CMAKE_CXX_FLAGS )
898
900
append_cxx_flag_if_supported("-Qunused-arguments" CMAKE_CXX_FLAGS )
899
901
if (${USE_COLORIZE_OUTPUT} )
900
902
endif ()
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ default_compiler_flags = [
15
15
"-Wno-unused-function" ,
16
16
"-Wno-unused-parameter" ,
17
17
"-Wno-error=strict-aliasing" ,
18
- "-Wno-unused-local-typedefs" ,
19
18
"-Wno-shadow-compatible-local" ,
20
19
"-Wno-maybe-uninitialized" , # aten is built with gcc as part of HHVM
21
20
"-Wno-unknown-pragmas" ,
You can’t perform that action at this time.
0 commit comments