nix-super/build-utils-meson/diagnostics/meson.build

14 lines
348 B
Meson
Raw Normal View History

2024-06-27 23:11:52 +03:00
add_project_arguments(
'-Wdeprecated-copy',
2024-06-27 23:11:52 +03:00
'-Werror=switch',
'-Werror=switch-enum',
'-Werror=unused-result',
'-Wignored-qualifiers',
'-Wimplicit-fallthrough',
'-Wno-deprecated-declarations',
2024-06-27 23:11:52 +03:00
# Enable assertions in libstdc++ by default. Harmless on libc++. Benchmarked
# at ~1% overhead in `nix search`.
#
language : 'cpp',
)