1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #8603 from kaspar030/disable_fallthrough_warning

make: always set -Wno-implicit-fallthrough
This commit is contained in:
Joakim Nohlgård 2018-02-20 17:22:50 +01:00 committed by GitHub
commit 278ac297b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,6 +132,9 @@ ifeq ($(WPEDANTIC),1)
CFLAGS += -Wpedantic -pedantic-errors
endif
# remove this once codebase is adapted
CFLAGS += -Wno-implicit-fallthrough
ifneq (10,$(if ${RIOT_VERSION},1,0)$(if ${__RIOTBUILD_FLAG},1,0))
# Provide a shallow sanity check. You cannot call `make` in a module directory.