mirror of
https://github.com/NixOS/nix
synced 2025-07-12 14:55:09 +02:00
Merge pull request #11180 from Mic92/override-warnings
add werror=suggest-override
This commit is contained in:
commit
ca1e1e983f
9 changed files with 38 additions and 39 deletions
2
Makefile
2
Makefile
|
@ -93,7 +93,7 @@ ifdef HOST_WINDOWS
|
|||
GLOBAL_LDFLAGS += -Wl,--export-all-symbols
|
||||
endif
|
||||
|
||||
GLOBAL_CXXFLAGS += -g -Wall -Wdeprecated-copy -Wignored-qualifiers -Wimplicit-fallthrough -Werror=unused-result -include $(buildprefix)config.h -std=c++2a -I src
|
||||
GLOBAL_CXXFLAGS += -g -Wall -Wdeprecated-copy -Wignored-qualifiers -Wimplicit-fallthrough -Werror=unused-result -Werror=suggest-override -include $(buildprefix)config.h -std=c++2a -I src
|
||||
|
||||
# Include the main lib, causing rules to be defined
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue