mirror of
https://github.com/NixOS/nix
synced 2025-06-27 08:31:16 +02:00
add werror=suggest-override
Improves code readability by making overrides explicit. Inspired by lix code-base
This commit is contained in:
parent
2c07ea8abb
commit
63e50a4b56
9 changed files with 25 additions and 23 deletions
|
@ -25,6 +25,7 @@ nix_perl_conf.set('PACKAGE_VERSION', meson.project_version())
|
|||
error_args = [
|
||||
'-Wdeprecated-copy',
|
||||
'-Wdeprecated-declarations',
|
||||
'-Werror=suggest-override',
|
||||
'-Werror=unused-result',
|
||||
'-Wignored-qualifiers',
|
||||
'-Wno-duplicate-decl-specifier',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue