We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
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
Sorry, something went wrong.
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.
Successfully merging a pull request may close this issue.
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
The text was updated successfully, but these errors were encountered: