Add pedantic flag

This commit is contained in:
Lzu Tao 2018-11-29 10:54:29 +07:00
parent 6f3f1a8d3a
commit 5c4965c351

View File

@ -25,7 +25,7 @@ pzstd_sources = [join_paths(programs_dir, 'util.c'),
pzstd = executable('pzstd',
pzstd_sources,
cpp_args: [ '-DNDEBUG', '-Wno-shadow' ],
cpp_args: [ '-DNDEBUG', '-Wno-shadow', '-pedantic' ],
include_directories: pzstd_includes,
link_with: libzstd,
dependencies: [ thread_dep ],