nova: enable -Weffc++ for kernel

Issue #465
Issue #2646
This commit is contained in:
Alexander Boettcher 2018-01-18 22:31:26 +01:00 committed by Norman Feske
parent 711cce3f4d
commit 2ee15cc2e0
3 changed files with 2 additions and 3 deletions

View File

@ -1 +1 @@
4856db61cb48605b879dc27b5b70e5366f7e5fee
0878c653b740359a4123ac0b9a79ce5df26f9251

View File

@ -4,7 +4,7 @@ DOWNLOADS := nova.git
# r9 branch - use r9_debug for more verbose kernel messages
URL(nova) := https://github.com/alex-ab/NOVA.git
REV(nova) := 1a6ff1c7007d74bd9e073689f49e46c48e8c0c2d
REV(nova) := 9b24eb4fa7d45249ca409720164902ec483a3134
DIR(nova) := src/kernel/nova
PATCHES := $(sort $(wildcard $(REP_DIR)/patches/*.patch))

View File

@ -16,7 +16,6 @@ CC_WARN = -Wall -Wextra -Waggregate-return -Wcast-align -Wcast-qual \
-Wold-style-cast -Woverloaded-virtual -Wsign-promo \
-Wlogical-op -Wstrict-null-sentinel \
-Wstrict-overflow=5 -Wvolatile-register-var
CC_CXX_WARN_STRICT =
CC_OPT += -pipe \
-fdata-sections -fomit-frame-pointer -freg-struct-return \
-freorder-blocks -funit-at-a-time -fno-exceptions -fno-rtti \