@ -123,8 +123,8 @@ c_args = []
foreach a : [ '-Werror=implicit-function-declaration' ,
foreach a : [ '-Werror=implicit-function-declaration' ,
'-Werror=missing-prototypes' , '-Werror=return-type' ,
'-Werror=missing-prototypes' , '-Werror=return-type' ,
'-Werror=incompatible-pointer-types' ,
'-Werror=incompatible-pointer-types' ,
'- fno-math-errno ',
'- Wno-unused-parameter', '-Qunused-arguments ',
'-fno- trapping-math', '-Qunused-arguments ']
'-fno- math-errno', '-fno-trapping-math ']
if cc . has_argument ( a )
if cc . has_argument ( a )
c_args + = a
c_args + = a
endif
endif
@ -139,8 +139,8 @@ endforeach
# Check for generic C++ arguments
# Check for generic C++ arguments
cpp_args = [ ]
cpp_args = [ ]
foreach a : [ '-Werror=return-type' ,
foreach a : [ '-Werror=return-type' ,
'- fno-math-errno', '-fno-trapping-math ',
'- Wno-unused-parameter', '-Qunused-arguments ',
'- Qunused-arguments ']
'- fno-math-errno', '-fno-trapping-math ']
if cpp . has_argument ( a )
if cpp . has_argument ( a )
cpp_args + = a
cpp_args + = a
endif
endif