2020-02-08 13:34:29 -08:00
|
|
|
# Warnings-as-errors...
|
2023-11-01 20:24:40 -07:00
|
|
|
RUSEFI_OPT = -Werror
|
2023-11-05 18:40:43 -08:00
|
|
|
# some compilers seem to have this off by default?
|
|
|
|
RUSEFI_OPT += -Werror=stringop-truncation
|
2023-11-01 20:24:40 -07:00
|
|
|
|
|
|
|
ifneq ($(ALLOW_SHADOW),yes)
|
2024-05-23 05:48:49 -07:00
|
|
|
RUSEFI_OPT += -Werror=shadow
|
2023-11-01 20:24:40 -07:00
|
|
|
endif
|
2019-12-02 07:26:16 -08:00
|
|
|
|
2020-02-08 13:34:29 -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
|