|
@@ -23,16 +23,17 @@ cc = meson.get_compiler('c')
|
|
|
math_dep = cc.find_library('m', required : true)
|
|
|
|
|
|
args = cc.get_supported_arguments([
|
|
|
- '-Werror', '-pedantic', '-pedantic-errors', '-Wall', '-Wextra', '-Wdouble-promotion',
|
|
|
- '-Wformat=2', '-Wformat-signedness', '-Wnull-dereference', '-Winfinite-recursion',
|
|
|
- '-Winit-self', '-Wmissing-include-dirs', '-Wshift-overflow=2', '-Wtrivial-auto-var-init',
|
|
|
- '-Wduplicated-branches', '-Wduplicated-cond', '-Wfloat-equal', '-Wshadow', '-Wundef',
|
|
|
- '-Wcast-qual', '-Wcast-align=strict', '-Wconversion', '-Warith-conversion',
|
|
|
- '-Wsign-conversion', '-Wlogical-op', '-Wmissing-declarations', '-Wpadded',
|
|
|
- '-Woverlength-strings', '-Wwrite-strings', '-Walloca', '-Walloc-zero', '-Wdate-time',
|
|
|
- '-Wc++-compat', '-Wdisabled-optimization', '-Winvalid-pch', '-Wmultichar',
|
|
|
- '-Wbidi-chars=any', '-Wbad-function-cast', '-Wjump-misses-init', '-Wstrict-prototypes',
|
|
|
- '-Wmissing-prototypes', '-Wnested-externs', '-Wunsuffixed-float-constants', '-Wredundant-decls'
|
|
|
+ '-Winit-self', '-Wconversion', '-Wformat-signedness', '-Wbad-function-cast',
|
|
|
+ '-Wduplicated-branches', '-Wunsuffixed-float-constants', '-Wnested-externs',
|
|
|
+ '-Walloc-zero', '-pedantic', '-Wlogical-op', '-Wbidi-chars=any', '-Wpadded',
|
|
|
+ '-Wcast-qual', '-Winfinite-recursion', '-Wdate-time', '-Wstrict-prototypes',
|
|
|
+ '-Warith-conversion', '-Wc++-compat', '-Wshift-overflow=2', '-Winvalid-pch',
|
|
|
+ '-Wdisabled-optimization', '-Wcast-align=strict', '-Wtrivial-auto-var-init',
|
|
|
+ '-Wfloat-equal', '-Wdouble-promotion', '-Walloca', '-Wmissing-include-dirs',
|
|
|
+ '-Wextra', '-Wmultichar', '-Wnull-dereference', '-pedantic-errors', '-Wall',
|
|
|
+ '-Wjump-misses-init', '-Wshadow', '-Wmissing-prototypes', '-Wwrite-strings',
|
|
|
+ '-Wredundant-decls', '-Wsign-conversion', '-Woverlength-strings', '-Werror',
|
|
|
+ '-Wmissing-declarations', '-Wduplicated-cond', '-Wformat=2', '-Wundef'
|
|
|
])
|
|
|
|
|
|
inc = include_directories('.')
|