diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-08-23 07:49:15 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-08-23 08:07:09 +0000 |
| commit | a5e9ea7c28d1a59e80208226bfd65fcfd91e85cc (patch) | |
| tree | d36af5798fb9433ce4bbbca7b13c918d4c4450fc | |
| parent | selection: don't do "return function_returning_void()" in functions returning void (diff) | |
meson: build with -pedantic
| -rw-r--r-- | meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build index b5808ddc..07716979 100644 --- a/meson.build +++ b/meson.build @@ -18,7 +18,8 @@ add_project_arguments( ? ['-D_DEBUG'] : [cc.get_supported_arguments('-fno-asynchronous-unwind-tables')]) + cc.get_supported_arguments( - ['-fstrict-aliasing', + ['-pedantic', + '-fstrict-aliasing', '-Wstrict-aliasing']), language: 'c', ) |
