Hi all,
Whenever I compile my source with the latest version of Genode, I am getting hundreds and hundreds of deprecated warnings. I understand you might fix them in the future, but they clog my compiler output and make reading other compiler errors a pain. Is there some easy point in the makefiles where I can change it so that I can disable all of them temporarily? I tried appending it to global.mk:
CC_WARN ?= -Wall -Wno-deprecated
but this still gave me the warnings. Where can I disable it?
Regards,
Boris
Hi Boris,
You have to add the line 'CC_OPT += -Wno-deprecated-declarations' to your '<BUILD_DIR>/etc/tools.conf'. You probably have to create this file first.
Did that help you?
Cheers, Martin
Am 06.02.2017 um 16:58 schrieb Boris Mulder:
Hi all,
Whenever I compile my source with the latest version of Genode, I am getting hundreds and hundreds of deprecated warnings. I understand you might fix them in the future, but they clog my compiler output and make reading other compiler errors a pain. Is there some easy point in the makefiles where I can change it so that I can disable all of them temporarily? I tried appending it to global.mk:
CC_WARN ?= -Wall -Wno-deprecated
but this still gave me the warnings. Where can I disable it?
Regards,
Boris
This fixes most of the warnings, but some still persist (from -Wcpp).
It is workable now though.
On 06-02-17 18:49, Martin Stein wrote:
Hi Boris,
You have to add the line 'CC_OPT += -Wno-deprecated-declarations' to your '<BUILD_DIR>/etc/tools.conf'. You probably have to create this file first.
Did that help you?
Cheers, Martin
Am 06.02.2017 um 16:58 schrieb Boris Mulder:
Hi all,
Whenever I compile my source with the latest version of Genode, I am getting hundreds and hundreds of deprecated warnings. I understand you might fix them in the future, but they clog my compiler output and make reading other compiler errors a pain. Is there some easy point in the makefiles where I can change it so that I can disable all of them temporarily? I tried appending it to global.mk:
CC_WARN ?= -Wall -Wno-deprecated
but this still gave me the warnings. Where can I disable it?
Regards,
Boris
Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Hi Boris,
Am 07.02.2017 um 09:15 schrieb Boris Mulder:
This fixes most of the warnings, but some still persist (from -Wcpp).
On 06-02-17 18:49, Martin Stein wrote:
You have to add the line 'CC_OPT += -Wno-deprecated-declarations' to your '<BUILD_DIR>/etc/tools.conf'. You probably have to create this file first.
Of course you can add further 'c++' options like '-Wno-cpp' to the 'CC_OPT' variable your 'tools.conf' file ;)
Cheers, Martin