-Wno-maybe-uninitialized??
Trying to build the linux amd64 samples and failing on this option, gcc back to 9.5.0 doesn't have this option and searching the clang options, I've also tried clang 15-17, comes up blank.
My default clang is 17. Default gcc is 12.3.1. SDK is 3.2.2.
Edit:
Found it, the docs could be better.
CC=gcc CXX=g++ make -f NoesisGUI-linux-x86_64.mk CONFIG=Release
Also, can you archive linux sources with tar so it preserves all the file/directory permissions properly, zip messes them up. Ta.
Code: Select all
$ make -f NoesisGUI-linux-x86_64.mk CONFIG=Release
==== [NoesisApp] Building Release configuration ====
[PCH] [NoesisApp] pch.h
fatal error: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
make[1]: *** [Makefile:131: build/Release/pch.h.gch] Error 1
make: *** [NoesisGUI-linux-x86_64.mk:71: NoesisApp] Error 2
$ CC=clang CXX=clang++ make -f NoesisGUI-linux-x86_64.mk CONFIG=Release
==== [NoesisApp] Building Release configuration ====
[PCH] [NoesisApp] pch.h
fatal error: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
make[1]: *** [Makefile:131: build/Release/pch.h.gch] Error 1
make: *** [NoesisGUI-linux-x86_64.mk:71: NoesisApp] Error 2
$ CC=/usr/lib/llvm/16/bin/clang CXX=/usr/lib/llvm/16/bin/clang++ make -f NoesisGUI-linux-x86_64.mk CONFIG=Release
==== [NoesisApp] Building Release configuration ====
[PCH] [NoesisApp] pch.h
fatal error: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
make[1]: *** [Makefile:131: build/Release/pch.h.gch] Error 1
make: *** [NoesisGUI-linux-x86_64.mk:71: NoesisApp] Error 2
$ CC=/usr/lib/llvm/15/bin/clang CXX=/usr/lib/llvm/15/bin/clang++ make -f NoesisGUI-linux-x86_64.mk CONFIG=Release
==== [NoesisApp] Building Release configuration ====
[PCH] [NoesisApp] pch.h
fatal error: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
make[1]: *** [Makefile:131: build/Release/pch.h.gch] Error 1
make: *** [NoesisGUI-linux-x86_64.mk:71: NoesisApp] Error 2
Edit:
Found it, the docs could be better.
CC=gcc CXX=g++ make -f NoesisGUI-linux-x86_64.mk CONFIG=Release
Also, can you archive linux sources with tar so it preserves all the file/directory permissions properly, zip messes them up. Ta.
Re: -Wno-maybe-uninitialized??
Checking with godbolt, it seems that Wno-maybe-uninitialized is supported by GCC 6.3.0+ but not supported by clang. Could you please report a ticket about this?Trying to build the linux amd64 samples and failing on this option, gcc back to 9.5.0 doesn't have this option and searching the clang options, I've also tried clang 15-17, comes up blank.
Sorry, not following you here. What did you find?Found it, the docs could be better.
Yes, could you please report a ticket for this too?Also, can you archive linux sources with tar so it preserves all the file/directory permissions properly, zip messes them up. Ta.
Re: -Wno-maybe-uninitialized??
I created a ticket for this (#3007)
Who is online
Users browsing this forum: Ahrefs [Bot], burst2flame and 2 guests