rusefi/firmware/rusefi_rules.mk

14 lines
355 B
Makefile
Raw Permalink Normal View History

# Warnings-as-errors...
RUSEFI_OPT = -Werror
# some compilers seem to have this off by default?
RUSEFI_OPT += -Werror=stringop-truncation
ifneq ($(ALLOW_SHADOW),yes)
# RUSEFI_OPT += -Werror=shadow
endif
2019-12-02 07:26:16 -08:00
# ...except these few
2023-11-02 07:28:59 -07:00
RUSEFI_OPT += -Wno-error=sign-compare
2023-12-02 15:24:54 -08:00
RUSEFI_OPT += -Wno-error=overloaded-virtual
2023-11-02 07:28:59 -07:00
RUSEFI_OPT += -Wno-error=unused-parameter