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)
154
154
list (APPEND compile_options "-Wno-sign-conversion" )
155
155
# Silence this warning because _Complex is a part of C99.
156
156
list (APPEND compile_options "-Wno-c99-extensions" )
157
+ list (APPEND compile_options "-Wno-pedantic" )
157
158
list (APPEND compile_options "-Wimplicit-fallthrough" )
158
159
list (APPEND compile_options "-Wwrite-strings" )
159
160
list (APPEND compile_options "-Wextra-semi" )
@@ -231,6 +232,7 @@ function(_get_common_test_compile_options output_var c_test flags)
231
232
# list(APPEND compile_options "-Wextra-semi")
232
233
# Silence this warning because _Complex is a part of C99.
233
234
list (APPEND compile_options "-Wno-c99-extensions" )
235
+ list (APPEND compile_options "-Wno-pedantic" )
234
236
# if(NOT CMAKE_COMPILER_IS_GNUCXX)
235
237
# list(APPEND compile_options "-Wnewline-eof")
236
238
# list(APPEND compile_options "-Wnonportable-system-include-path")
You can’t perform that action at this time.
0 commit comments