Open tankrobbers opened 4 months ago
I removed the flag from the Makefile and it built
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ PROGNAME=dump1090
DUMP1090_VERSION ?= unknown
CFLAGS ?= -O3 -g
-DUMP1090_CFLAGS := -std=c11 -fno-common -Wall -Wmissing-declarations -Werror -Wformat-signedness -W
+DUMP1090_CFLAGS := -std=c11 -fno-common -Wall -Wmissing-declarations -Werror -W
DUMP1090_CPPFLAGS := -I. -D_POSIX_C_SOURCE=200112L -DMODES_DUMP1090_VERSION=\"$(DUMP1090_VERSION)\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\"
LIBS = -lpthread -lm
Thanks, will give that a go
I was able to get it to compile and work removing that flag as well, on 14.5 Sonoma.
I'm new to terminal and have this error when trying to compile on my Mac running Sonoma 14.3.1.
cc -I. -D_POSIX_C_SOURCE=200112L -DMODES_DUMP1090_VERSION=\"unknown\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DMISSING_NANOSLEEP -DENABLE_CPUFEATURES -Icpu_features/include -DENABLE_RTLSDR -DENABLE_BLADERF -DENABLE_HACKRF -DENABLE_SOAPYSDR -DSTARCH_MIX_X86 -O3 -g -std=c11 -fno-common -Wall -Wmissing-declarations -Werror -Wformat-signedness -W -I/opt/local/include/ -I/opt/local/include/ -I/opt/local/include -I/opt/local/include/libhackrf -I/opt/local/include/libusb-1.0 -I/opt/local/include -c dump1090.c -o dump1090.o error: unknown warning option '-Wformat-signedness' [-Werror,-Wunknown-warning-option] make: *** [dump1090.o] Error 1
Can anybody tell me what I've done wrong and how to fix it.
Thanks Rob