Add the -pedantic' compiler flag back to our debug builds
This was lost in the transition from autotools to meson. No additional warnings are given with current gcc and clang. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
71764b6d4c
commit
6c913af95d
1 changed files with 1 additions and 0 deletions
|
@ -190,6 +190,7 @@ endif
|
||||||
|
|
||||||
if get_option('debug')
|
if get_option('debug')
|
||||||
extra_cflags = [
|
extra_cflags = [
|
||||||
|
'-pedantic',
|
||||||
'-Wcast-align',
|
'-Wcast-align',
|
||||||
'-Wclobbered',
|
'-Wclobbered',
|
||||||
'-Wempty-body',
|
'-Wempty-body',
|
||||||
|
|
Loading…
Add table
Reference in a new issue