{src/perl,build-utils-meson/diagnostics}: sort cflags

This makes them easier to copy between places.
This commit is contained in:
Jörg Thalheim 2024-07-25 07:34:08 +02:00
parent 6662c9012d
commit 6c38bc0952
2 changed files with 13 additions and 13 deletions

View file

@ -1,11 +1,11 @@
add_project_arguments(
'-Wno-deprecated-declarations',
'-Wimplicit-fallthrough',
'-Wdeprecated-copy',
'-Werror=switch',
'-Werror=switch-enum',
'-Werror=unused-result',
'-Wdeprecated-copy',
'-Wignored-qualifiers',
'-Wimplicit-fallthrough',
'-Wno-deprecated-declarations',
# Enable assertions in libstdc++ by default. Harmless on libc++. Benchmarked
# at ~1% overhead in `nix search`.
#

View file

@ -23,21 +23,21 @@ nix_perl_conf.set('PACKAGE_VERSION', meson.project_version())
# set error arguments
#-------------------------------------------------
error_args = [
'-Werror=unused-result',
'-Wdeprecated-copy',
'-Wdeprecated-declarations',
'-Werror=unused-result',
'-Wignored-qualifiers',
'-Wno-pedantic',
'-Wno-non-virtual-dtor',
'-Wno-unused-parameter',
'-Wno-variadic-macros',
'-Wno-missing-field-initializers',
'-Wno-unknown-warning-option',
'-Wno-unused-variable',
'-Wno-literal-suffix',
'-Wno-reserved-user-defined-literal',
'-Wno-duplicate-decl-specifier',
'-Wno-literal-suffix',
'-Wno-missing-field-initializers',
'-Wno-non-virtual-dtor',
'-Wno-pedantic',
'-Wno-pointer-bool-conversion',
'-Wno-reserved-user-defined-literal',
'-Wno-unknown-warning-option',
'-Wno-unused-parameter',
'-Wno-unused-variable',
'-Wno-variadic-macros',
]
add_project_arguments(