mirror of
https://github.com/NixOS/nix
synced 2024-09-20 23:28:26 -04:00
e4056b9afd
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
14 lines
348 B
Meson
14 lines
348 B
Meson
add_project_arguments(
|
|
'-Wno-deprecated-declarations',
|
|
'-Wimplicit-fallthrough',
|
|
'-Werror=switch',
|
|
'-Werror=switch-enum',
|
|
'-Werror=unused-result',
|
|
'-Wdeprecated-copy',
|
|
'-Wignored-qualifiers',
|
|
# Enable assertions in libstdc++ by default. Harmless on libc++. Benchmarked
|
|
# at ~1% overhead in `nix search`.
|
|
#
|
|
language : 'cpp',
|
|
)
|