From 1dcd7dc6a39b2d5f35e533215c3c44344be4ac72 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 5 Jul 2018 23:23:22 +0200 Subject: [PATCH] libusb: don't use -Wgnu-empty-initializer (not available for gcc) --- port/libusb/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/port/libusb/Makefile b/port/libusb/Makefile index cbd6eaaf8..92c32f945 100644 --- a/port/libusb/Makefile +++ b/port/libusb/Makefile @@ -7,8 +7,10 @@ COMMON += hci_transport_h2_libusb.c btstack_run_loop_posix.c le_device_db_fs.c include ${BTSTACK_ROOT}/example/Makefile.inc -CFLAGS += -g -Wall -Wgnu-empty-initializer -Wnewline-eof -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Werror -Wunused-parameter -Wredundant-decls -Wsign-compare +CFLAGS += -g -std=c99 -Wall -Wnewline-eof -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wunused-parameter -Wredundant-decls -Wsign-compare +CFLAGS += -Wc11-extensions # CFLAGS += -Werror +CFLAGS += -pedantic CFLAGS += -I${BTSTACK_ROOT}/platform/posix \ -I${BTSTACK_ROOT}/platform/embedded \