mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 03:35:20 +00:00
libusb/pts: add -Wswitch-default for gcc (ignored by clang)
This commit is contained in:
parent
298c2fec55
commit
9d30a519f9
@ -8,7 +8,7 @@ COMMON += btstack_audio_portaudio.c btstack_chipset_zephyr.c rijndael.c
|
||||
|
||||
include ${BTSTACK_ROOT}/example/Makefile.inc
|
||||
|
||||
CFLAGS += -g -std=c99 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wunused-parameter -Wredundant-decls -Wsign-compare
|
||||
CFLAGS += -g -std=c99 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wunused-parameter -Wredundant-decls -Wsign-compare -Wswitch-default
|
||||
# CFLAGS += -Werror
|
||||
# CFLAGS += -pedantic
|
||||
|
||||
|
@ -91,7 +91,7 @@ include ${BTSTACK_ROOT}/3rd-party/bluedroid/decoder/Makefile.inc
|
||||
include ${BTSTACK_ROOT}/3rd-party/bluedroid/encoder/Makefile.inc
|
||||
include ${BTSTACK_ROOT}/src/ble/gatt-service/Makefile.inc
|
||||
|
||||
CFLAGS += -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wunused-variable -Wunused-parameter
|
||||
CFLAGS += -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wunused-variable -Wunused-parameter -Wswitch-default
|
||||
CFLAGS += -D ENABLE_TESTING_SUPPORT
|
||||
CFLAGS += -D ENABLE_LE_SIGNED_WRITE
|
||||
CFLAGS += -fsanitize=address -fno-omit-frame-pointer
|
||||
|
Loading…
x
Reference in New Issue
Block a user