File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,7 @@ function(_get_common_compile_options output_var flags)
154154 list (APPEND compile_options "-Wno-sign-conversion" )
155155 # Silence this warning because _Complex is a part of C99.
156156 list (APPEND compile_options "-Wno-c99-extensions" )
157+ list (APPEND compile_options "-Wno-pedantic" )
157158 list (APPEND compile_options "-Wimplicit-fallthrough" )
158159 list (APPEND compile_options "-Wwrite-strings" )
159160 list (APPEND compile_options "-Wextra-semi" )
@@ -231,6 +232,7 @@ function(_get_common_test_compile_options output_var c_test flags)
231232 # list(APPEND compile_options "-Wextra-semi")
232233 # Silence this warning because _Complex is a part of C99.
233234 list (APPEND compile_options "-Wno-c99-extensions" )
235+ list (APPEND compile_options "-Wno-pedantic" )
234236 # if(NOT CMAKE_COMPILER_IS_GNUCXX)
235237 # list(APPEND compile_options "-Wnewline-eof")
236238 # list(APPEND compile_options "-Wnonportable-system-include-path")
You can’t perform that action at this time.
0 commit comments