Exclude higher-level repos from strict warnings

This is a follow-up commit to "Increase default warning level", which
overrides Genode's new default warning level for targets contained in
higher-level repositories. By explicitly whitelisting all those targets,
we can selectively adjust them to the new strictness over time - by
looking out for 'CC_CXX_WARN_STRICT' in the target description files.

Issue #465
This commit is contained in:
Norman Feske 2018-01-03 18:40:54 +01:00 committed by Christian Helmuth
parent c30299feca
commit 366bba0227
439 changed files with 876 additions and 2 deletions

View File

@ -1 +1,3 @@
INC_DIR += $(LIB_CACHE_DIR)/dde_bsd_audio_include/include
CC_CXX_WARN_STRICT =

View File

@ -23,3 +23,5 @@ $(GEN_INCLUDES):
$(VERBOSE)ln -sf $(BSD_EMUL_H) $@
endif
CC_CXX_WARN_STRICT =

View File

@ -3,3 +3,5 @@ INC_DIR += $(LIB_INC_DIR)/spec/x86_32 $(LIB_INC_DIR)/spec/x86
include $(REP_DIR)/lib/mk/dde_bsd_audio.inc
vpath %.S $(LIB_DIR)/spec/x86_32
CC_CXX_WARN_STRICT =

View File

@ -3,3 +3,5 @@ INC_DIR += $(LIB_INC_DIR)/spec/x86_64 $(LIB_INC_DIR)/spec/x86
include $(REP_DIR)/lib/mk/dde_bsd_audio.inc
vpath %.S $(LIB_DIR)/spec/x86_64
CC_CXX_WARN_STRICT =

View File

@ -3,3 +3,5 @@ TARGET = audio_drv
SRC_CC = main.cc
LIBS = dde_bsd_audio base
INC_DIR += $(REP_DIR)/include
CC_CXX_WARN_STRICT =

View File

@ -1,3 +1,5 @@
TARGET = test-audio_in
SRC_CC = main.cc
LIBS = base
CC_CXX_WARN_STRICT =

View File

@ -2,3 +2,5 @@ include $(REP_DIR)/lib/mk/dde_ipxe_nic.inc
INC_DIR += $(IPXE_CONTRIB_DIR)/arch/i386/include \
$(IPXE_CONTRIB_DIR)/arch/i386/include/pcbios
CC_CXX_WARN_STRICT =

View File

@ -5,3 +5,5 @@ INC_DIR += $(IPXE_CONTRIB_DIR)/arch/x86_64/include \
# take remaining parts from i386
INC_DIR += $(IPXE_CONTRIB_DIR)/arch/i386/include
CC_CXX_WARN_STRICT =

View File

@ -1,3 +1,5 @@
TARGET = nic_drv
LIBS = base dde_ipxe_nic
SRC_CC = main.cc
CC_CXX_WARN_STRICT =

View File

@ -12,3 +12,5 @@ all: $(addprefix $(BIN_DIR)/,$(IMAGES))
$(BIN_DIR)/%.ucode: $(FW_DIR)/%.ucode
$(VERBOSE)cp $^ $@
CC_CXX_WARN_STRICT =

View File

@ -3,3 +3,5 @@ SRC_CC = plugin.cc
vpath %.cc $(REP_DIR)/src/lib/libc_lxip
LIBS += lxip libc
CC_CXX_WARN_STRICT =

View File

@ -20,3 +20,5 @@ $(EMUL_INCLUDES):
endif
# vi: set ft=make :
CC_CXX_WARN_STRICT =

View File

@ -53,3 +53,5 @@ vpath %.c $(LX_CONTRIB_DIR)
vpath %.c $(LIB_DIR)
vpath %.cc $(LIB_DIR)
vpath %.cc $(REP_DIR)/src/lx_kit
CC_CXX_WARN_STRICT =

View File

@ -33,3 +33,5 @@ $(GEN_INCLUDES):
endif
# vi: set ft=make :
CC_CXX_WARN_STRICT =

View File

@ -1,3 +1,5 @@
SRC_S += setjmp.S
vpath %.S $(REP_DIR)/src/lx_kit/spec/arm
CC_CXX_WARN_STRICT =

View File

@ -2,3 +2,5 @@ LIBS += net-stat
CC_OPT += -DGENODE_NET_STAT
include $(REP_DIR)/lib/mk/spec/arndale/usb.mk
CC_CXX_WARN_STRICT =

View File

@ -17,3 +17,5 @@ SRC_C += $(addprefix usb/dwc3/, dwc3-exynos.c host.c core.c)
SRC_C += usb/host/xhci-plat.c
vpath platform.cc $(LIB_DIR)/spec/arndale
CC_CXX_WARN_STRICT =

View File

@ -1,3 +1,5 @@
SRC_CC += spec/foc_rpi/dwc_irq.cc
vpath % $(REP_DIR)/src/lib/usb
CC_CXX_WARN_STRICT =

View File

@ -1,3 +1,5 @@
SRC_CC += spec/hw_rpi/dwc_irq.cc
vpath % $(REP_DIR)/src/lib/usb
CC_CXX_WARN_STRICT =

View File

@ -2,3 +2,5 @@ LIBS += net-stat
CC_OPT += -DGENODE_NET_STAT
include $(REP_DIR)/lib/mk/spec/odroid_x2/usb.mk
CC_CXX_WARN_STRICT =

View File

@ -12,3 +12,5 @@ SRC_CC += platform.cc
INC_DIR += $(LIB_INC_DIR)/spec/odroid_x2
vpath platform.cc $(LIB_DIR)/spec/odroid_x2
CC_CXX_WARN_STRICT =

View File

@ -2,3 +2,5 @@ LIBS += net-stat
CC_OPT += -DGENODE_NET_STAT
include $(REP_DIR)/lib/mk/spec/panda/usb.mk
CC_CXX_WARN_STRICT =

View File

@ -7,3 +7,5 @@ CC_OPT += -DCONFIG_USB_EHCI_HCD_OMAP -DCONFIG_USB_EHCI_TT_NEWSCHED -DVERBOSE_DE
SRC_CC += platform.cc
vpath platform.cc $(LIB_DIR)/spec/panda
CC_CXX_WARN_STRICT =

View File

@ -47,3 +47,5 @@ vpath %.c $(LX_CONTRIB_DIR)/drivers/net/usb
CC_CXX_OPT += -std=gnu++11
LIBS += rpi_usb
CC_CXX_WARN_STRICT =

View File

@ -35,3 +35,5 @@ vpath %.c $(LX_CONTRIB_DIR)/drivers/video
vpath %.c $(LX_CONTRIB_DIR)/drivers/video/fbdev/core
vpath %.c $(LX_CONTRIB_DIR)/lib
CC_CXX_WARN_STRICT =

View File

@ -33,3 +33,5 @@ $(GEN_INCLUDES):
$(VERBOSE)ln -sf $(LX_EMUL_H) $@
endif
CC_CXX_WARN_STRICT =

View File

@ -31,3 +31,5 @@ CC_OPT += -D_LINUX_SOCKET_H
vpath %.c $(WS_CONTRIB_DIR)
vpath %.cc $(LIB_DIR)
CC_CXX_WARN_STRICT =

View File

@ -106,3 +106,5 @@ CC_OPT += -DCONFIG_ELOOP_POLL
vpath %.c $(WS_CONTRIB_DIR)
vpath %.c $(WS_DIR)
vpath %.cc $(WS_DIR)
CC_CXX_WARN_STRICT =

View File

@ -1,3 +1,5 @@
include $(REP_DIR)/lib/mk/libnl.inc
INC_DIR += $(LIB_INC_DIR)/spec/32bit $(LIB_INC_DIR)/spec/x86_32 $(LIB_INC_DIR)/spec/x86
CC_CXX_WARN_STRICT =

View File

@ -1,3 +1,5 @@
SRC_S += setjmp.S
vpath %.S $(REP_DIR)/src/lx_kit/spec/x86_32
CC_CXX_WARN_STRICT =

View File

@ -3,3 +3,5 @@ INC_DIR += $(REP_DIR)/src/include/spec/x86_32
include $(REP_DIR)/lib/mk/spec/x86/usb.inc
CC_CXX_WARN_STRICT =

View File

@ -3,3 +3,5 @@ include $(REP_DIR)/lib/mk/wifi.inc
INC_DIR += $(LIB_INC_DIR)/spec/32bit $(LIB_INC_DIR)/spec/x86_32 $(LIB_INC_DIR)/spec/x86
vpath %.S $(REP_DIR)/src/lx_kit/spec/x86_32
CC_CXX_WARN_STRICT =

View File

@ -1,3 +1,5 @@
include $(REP_DIR)/lib/mk/libnl.inc
INC_DIR += $(LIB_INC_DIR)/spec/64bit $(LIB_INC_DIR)/spec/x86_64 $(LIB_INC_DIR)/spec/x86
CC_CXX_WARN_STRICT =

View File

@ -1,3 +1,5 @@
SRC_S += setjmp.S
vpath %.S $(REP_DIR)/src/lx_kit/spec/x86_64
CC_CXX_WARN_STRICT =

View File

@ -2,3 +2,5 @@ INC_DIR += $(LIB_INC_DIR)/spec/x86_64 $(LIB_INC_DIR)/spec/x86
INC_DIR += $(REP_DIR)/src/include/spec/x86_64
include $(REP_DIR)/lib/mk/spec/x86/usb.inc
CC_CXX_WARN_STRICT =

View File

@ -3,3 +3,5 @@ include $(REP_DIR)/lib/mk/wifi.inc
INC_DIR += $(LIB_INC_DIR)/spec/64bit $(LIB_INC_DIR)/spec/x86_64 $(LIB_INC_DIR)/spec/x86
vpath %.S $(REP_DIR)/src/lx_kit/spec/x86_64
CC_CXX_WARN_STRICT =

View File

@ -35,3 +35,5 @@ $(GEN_INCLUDES):
endif
# vi: set ft=make :
CC_CXX_WARN_STRICT =

View File

@ -19,3 +19,5 @@ CC_OPT += -DCONFIG_INET -DCONFIG_BASE_SMALL=0 -DCONFIG_DEBUG_LOCK_ALLOC \
CC_C_OPT += -include $(LXIP_DIR)/include/lx_emul.h
CC_CXX_OPT = -fpermissive
CC_CXX_WARN_STRICT =

View File

@ -35,3 +35,5 @@ $(GEN_INCLUDES):
endif
# vi: set ft=make :
CC_CXX_WARN_STRICT =

View File

@ -20,3 +20,5 @@ INC_DIR += $(REP_DIR)/src/include
vpath %.cc $(PRG_DIR)
vpath %.cc $(REP_DIR)/src/lx_kit
CC_CXX_WARN_STRICT =

View File

@ -1,3 +1,5 @@
TARGET = usb_drv
SRC_CC = main.cc
LIBS = base usb
CC_CXX_WARN_STRICT =

View File

@ -1,3 +1,5 @@
TARGET = usb_drv_net_stat
SRC_CC = main.cc
LIBS = usb-stat
CC_CXX_WARN_STRICT =

View File

@ -6,3 +6,5 @@ LIBS = base wifi iwl_firmware wpa_supplicant
# needed for firmware.h
INC_DIR += $(REP_DIR)/src/lib/wifi/include
CC_CXX_WARN_STRICT =

View File

@ -1,2 +1,4 @@
TARGET = dummy-vfs_lxip
LIBS = vfs_lxip
CC_CXX_WARN_STRICT =

View File

@ -1,3 +1,5 @@
TARGET = usb_terminal
SRC_CC = main.cc
LIBS = base
CC_CXX_WARN_STRICT =

View File

@ -1,3 +1,5 @@
TARGET = intel_fb_controller
LIBS = base
SRC_CC = main.cc
CC_CXX_WARN_STRICT =

View File

@ -1,3 +1,5 @@
TARGET = test-lxip_http_srv
LIBS = posix libc_lxip
SRC_CC = main.cc
CC_CXX_WARN_STRICT =

View File

@ -1,3 +1,5 @@
TARGET = test-lxip_udp_echo
LIBS = libc libc_lxip
SRC_CC = main.cc
CC_CXX_WARN_STRICT =

View File

@ -1,3 +1,5 @@
TARGET = test-vfs_lxip
SRC_CC = main.cc
LIBS = posix
CC_CXX_WARN_STRICT =

View File

@ -12,3 +12,5 @@ INC_DIR += $(LIBGCC_INC_DIR) \
$(RUMP_PORT_DIR)/src/sys/rump/include \
$(RUMP_PORT_DIR)/src/sys/sys \
$(RUMP_BASE)/include
CC_CXX_WARN_STRICT =

View File

@ -117,3 +117,5 @@ vpath %.c $(RUMP_PORT_DIR)/src/sys/fs/msdosfs
#
RUMP_LIB_BASE = $(RUMP_FS_BASE)
include $(REP_DIR)/lib/mk/rump_prefix.inc
CC_CXX_WARN_STRICT =

View File

@ -96,3 +96,5 @@ vpath %.c $(RUMP_PORT_DIR)/src/lib/libc/gen
vpath %.c $(RUMP_PORT_DIR)/src/usr.bin/config
vpath %.c $(RUMP_PORT_DIR)/src/usr.bin/cksum
vpath %.c $(RUMP_TOOL)
CC_CXX_WARN_STRICT =

View File

@ -16,3 +16,5 @@ vpath %.S $(RUMP_PORT_DIR)/src/common/lib/libc/arch/arm/atomic
vpath %.S $(RUMP_PORT_DIR)/src/common/lib/libc/gen
vpath %.c $(RUMP_PORT_DIR)/src/sys/arch/arm/arm32
vpath %.c $(RUMP_PORT_DIR)/src/sys/rump/librump/rumpkern/arch/generic
CC_CXX_WARN_STRICT =

View File

@ -2,3 +2,5 @@ INC_MACHINE = $(RUMP_PORT_DIR)/src/sys/arch/evbarm/include
INC_ARCH = arm
include $(REP_DIR)/lib/mk/rump_include.inc
CC_CXX_WARN_STRICT =

View File

@ -16,3 +16,5 @@ vpath %.S $(RUMP_PORT_DIR)/src/common/lib/libc/arch/i386/atomic
vpath %.S $(RUMP_PORT_DIR)/src/common/lib/libc/gen
vpath %.c $(RUMP_PORT_DIR)/src/sys/arch/i386/i386
vpath %.c $(RUMP_PORT_DIR)/src/sys/rump/librump/rumpkern/arch/x86
CC_CXX_WARN_STRICT =

View File

@ -3,3 +3,5 @@ INC_MACHINE = $(RUMP_PORT_DIR)/src/sys/arch/i386/include
INC_ARCH = i386 x86
include $(REP_DIR)/lib/mk/rump_include.inc
CC_CXX_WARN_STRICT =

View File

@ -18,3 +18,5 @@ vpath %.S $(RUMP_PORT_DIR)/src/common/lib/libc/arch/x86_64/atomic
vpath %.S $(RUMP_PORT_DIR)/src/common/lib/libc/arch/x86_64/gen
vpath %.c $(RUMP_PORT_DIR)/src/sys/arch/amd64/amd64
vpath %.c $(RUMP_PORT_DIR)/src/sys/rump/librump/rumpkern/arch/x86
CC_CXX_WARN_STRICT =

View File

@ -3,3 +3,5 @@ INC_MACHINE = $(RUMP_PORT_DIR)/src/sys/arch/amd64/include
INC_ARCH = x86
include $(REP_DIR)/lib/mk/rump_include.inc
CC_CXX_WARN_STRICT =

View File

@ -4,3 +4,5 @@ INC_DIR += $(REP_DIR)/src/lib/vfs/rump
vpath %.cc $(REP_DIR)/src/lib/vfs/rump
SHARED_LIB = yes
CC_CXX_WARN_STRICT =

View File

@ -1,2 +1,4 @@
TARGET = rump_plugin
LIBS = vfs_rump
CC_CXX_WARN_STRICT =

View File

@ -1 +1,3 @@
LIBS = rump2 rump2_fs
CC_CXX_WARN_STRICT =

View File

@ -1,3 +1,5 @@
TARGET = rump_fs
SRC_CC = main.cc file_system.cc random.cc
LIBS = base rump rump_fs
CC_CXX_WARN_STRICT =

View File

@ -1,3 +1,5 @@
TARGET = test-blk_crypt
SRC_CC = main.cc
LIBS = base
CC_CXX_WARN_STRICT =

View File

@ -5,3 +5,5 @@ SRC_CC = native_cpu.cc
SHARED_LIB = yes
vpath %.cc $(REP_DIR)/src/lib/cpu_sampler_platform-generic
CC_CXX_WARN_STRICT =

View File

@ -1 +1,3 @@
SHARED_LIB = yes
CC_CXX_WARN_STRICT =

View File

@ -2,3 +2,5 @@ SRC_CC = file.cc
LIBS += libc
vpath file.cc $(REP_DIR)/src/lib/file
CC_CXX_WARN_STRICT =

View File

@ -9,3 +9,5 @@ LIBS = syscall-foc
SHARED_LIB = yes
vpath %.cc $(REP_DIR)/src/lib/cpu_sampler_platform-foc
CC_CXX_WARN_STRICT =

View File

@ -7,3 +7,5 @@ SRC_CC = native_cpu.cc
SHARED_LIB = yes
vpath %.cc $(REP_DIR)/src/lib/cpu_sampler_platform-nova
CC_CXX_WARN_STRICT =

View File

@ -1,3 +1,5 @@
TARGET = backdrop
SRC_CC = main.cc
LIBS = base libc libpng zlib blit file
CC_CXX_WARN_STRICT =

View File

@ -2,3 +2,5 @@ TARGET = cpu_load_display
SRC_CC = main.cc
LIBS = base
INC_DIR += $(PRG_DIR)
CC_CXX_WARN_STRICT =

View File

@ -8,3 +8,5 @@ INC_DIR += $(PRG_DIR)
vpath %.tff $(TFF_DIR)
vpath %.rgba $(PRG_DIR)
CC_CXX_WARN_STRICT =

View File

@ -1,3 +1,5 @@
TARGET = depot_deploy
SRC_CC = main.cc
LIBS += base vfs
CC_CXX_WARN_STRICT =

View File

@ -1,3 +1,5 @@
TARGET = depot_query
SRC_CC = main.cc
LIBS += base vfs
CC_CXX_WARN_STRICT =

View File

@ -3,3 +3,5 @@ SRC_CC = main.cc
LIBS += base
REQUIRES = x86
CC_CXX_WARN_STRICT =

View File

@ -2,3 +2,5 @@ TARGET = floating_window_layouter
SRC_CC = main.cc
LIBS = base
CC_CXX_WARN_STRICT =

View File

@ -2,3 +2,5 @@ TARGET = launcher
SRC_CC = main.cc
LIBS = base
INC_DIR += $(PRG_DIR)
CC_CXX_WARN_STRICT =

View File

@ -8,3 +8,5 @@ INC_DIR += $(PRG_DIR)
$(TARGET): menu_view_styles.tar
menu_view_styles.tar:
$(VERBOSE)cd $(PRG_DIR); tar cf $(PWD)/bin/$@ styles
CC_CXX_WARN_STRICT =

View File

@ -9,3 +9,5 @@ include $(QT5_REP_DIR)/src/app/qt5/tmpl/target_final.inc
main_window.o: main_window.moc
LIBS += qoost qt5_gui qt5_widgets qt5_core libc
CC_CXX_WARN_STRICT =

View File

@ -2,3 +2,5 @@ TARGET = nano3d
SRC_CC = main.cc
LIBS = base
INC_DIR += $(PRG_DIR)
CC_CXX_WARN_STRICT =

View File

@ -8,3 +8,5 @@ INC_DIR += $(PRG_DIR)
$(TARGET): plain_decorator_theme.tar
plain_decorator_theme.tar:
$(VERBOSE)cd $(PRG_DIR); tar cf $(PWD)/bin/$@ theme
CC_CXX_WARN_STRICT =

View File

@ -1,2 +1,4 @@
TARGET = cpu_sampler_platform-foc
LIBS = cpu_sampler_platform-foc
CC_CXX_WARN_STRICT =

View File

@ -1,2 +1,4 @@
TARGET = cpu_sampler_platform-generic
LIBS = cpu_sampler_platform-generic
CC_CXX_WARN_STRICT =

View File

@ -1,2 +1,4 @@
TARGET = cpu_sampler_platform-nova
LIBS = cpu_sampler_platform-nova
CC_CXX_WARN_STRICT =

View File

@ -9,3 +9,5 @@ INC_DIR = $(REP_DIR)/src/server/cpu_sampler
LIBS += base cpu_sampler_platform
vpath %.cc $(REP_DIR)/src/server/cpu_sampler
CC_CXX_WARN_STRICT =

View File

@ -1,3 +1,5 @@
TARGET = file_terminal
SRC_CC = main.cc
LIBS = base libc
CC_CXX_WARN_STRICT =

View File

@ -2,3 +2,5 @@ TARGET = http_blk
SRC_CC = main.cc http.cc
LIBS = libc libc_lwip_nic_dhcp
CC_CXX_WARN_STRICT =

View File

@ -2,3 +2,5 @@ TARGET = nit_fader
SRC_CC = main.cc
LIBS = base blit
INC_DIR += $(PRG_DIR)
CC_CXX_WARN_STRICT =

View File

@ -1,3 +1,5 @@
TARGET = tcp_terminal
SRC_CC = main.cc
LIBS = libc pthread libc_lwip_nic_dhcp libc_pipe
CC_CXX_WARN_STRICT =

View File

@ -2,3 +2,5 @@ TARGET = terminal
SRC_CC = main.cc
LIBS = base
SRC_BIN = $(notdir $(wildcard $(PRG_DIR)/*.tff))
CC_CXX_WARN_STRICT =

View File

@ -2,3 +2,5 @@ TARGET = terminal_mux
SRC_CC = main.cc ncurses.cc
LIBS = libc libc_terminal ncurses
INC_DIR += $(PRG_DIR)
CC_CXX_WARN_STRICT =

View File

@ -2,3 +2,5 @@ TARGET = wm
SRC_CC = main.cc
LIBS = base
INC_DIR += $(PRG_DIR)
CC_CXX_WARN_STRICT =

View File

@ -1,3 +1,5 @@
TARGET = test-cpu_sampler
SRC_CC = main.cc
LIBS = base
CC_CXX_WARN_STRICT =

View File

@ -4,3 +4,5 @@ LIBS = libc libm
INC_DIR += $(PRG_DIR)
CC_CXX_WARN_STRICT =

View File

@ -2,3 +2,5 @@ TARGET = test-terminal_decoder
SRC_CC = main.cc
SRC_BIN = vim.vt
LIBS = base
CC_CXX_WARN_STRICT =

View File

@ -23,3 +23,5 @@ CC_C_OPT += -DACPI_LIBRARY
vpath %.c $(ACPICA_COMP)
vpath %.cc $(REP_DIR)/src/lib/acpica
CC_CXX_WARN_STRICT =

View File

@ -7,3 +7,5 @@ LIBAVFILTER_DIR = $(call select_from_ports,libav)/src/lib/libav/libavfilter
-include $(LIBAVFILTER_DIR)/Makefile
vpath % $(LIBAVFILTER_DIR)
CC_CXX_WARN_STRICT =

View File

@ -9,3 +9,5 @@ LIBAVFORMAT_DIR = $(call select_from_ports,libav)/src/lib/libav/libavformat
LIBS += avcodec avutil zlib
vpath % $(LIBAVFORMAT_DIR)
CC_CXX_WARN_STRICT =

View File

@ -7,3 +7,5 @@ LIBAVRESAMPLE_DIR = $(call select_from_ports,libav)/src/lib/libav/libavresample
-include $(LIBAVRESAMPLE_DIR)/Makefile
vpath % $(LIBAVRESAMPLE_DIR)
CC_CXX_WARN_STRICT =

View File

@ -2,3 +2,5 @@ LIBS = libcore-rust
SRC_RS += lib.rs
vpath % $(REP_DIR)/src/lib/rust/builtins-rust
CC_CXX_WARN_STRICT =

View File

@ -31,3 +31,5 @@ $(INFO_PLIST): $(LIBCCID_DIR)/src/Info.plist.src $(LIBCCID_DIR)/readers/supporte
vpath %.c $(LIBCCID_DIR)/src
SHARED_LIB = yes
CC_CXX_WARN_STRICT =

Some files were not shown because too many files have changed in this diff Show More