1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 23:11:16 +02:00
This commit is contained in:
John Ericson 2024-06-27 16:11:52 -04:00
parent 8198888bc4
commit 8399bd6b8f
17 changed files with 48 additions and 199 deletions

View file

@ -50,21 +50,11 @@ add_project_arguments(
'-include', 'config-util.h',
'-include', 'config-store.h',
'-include', 'config-expr.h',
'-Wno-deprecated-declarations',
'-Wimplicit-fallthrough',
'-Werror=switch',
'-Werror=switch-enum',
'-Wdeprecated-copy',
'-Wignored-qualifiers',
# Enable assertions in libstdc++ by default. Harmless on libc++. Benchmarked
# at ~1% overhead in `nix search`.
#
# FIXME: remove when we get meson 1.4.0 which will default this to on for us:
# https://mesonbuild.com/Release-notes-for-1-4-0.html#ndebug-setting-now-controls-c-stdlib-assertions
'-D_GLIBCXX_ASSERTIONS=1',
language : 'cpp',
)
subdir('meson-utils/diagnostics')
sources = files(
'nix_api_expr.cc',
'nix_api_external.cc',