Hi GameDevFox,



following up to your query on IRC:

<GameDevFox> Hi everyone. Is there anyone willing to help me figure out why
my `arm32/raspberrypi` build is failing when I run `ninja` in my helenos 
build directory?
<GameDevFox> A lot of warnings are shown in the logs and the compiler seems
to be treating the warnings as errors, complaining about "ISO C standards"
<GameDevFox> If anyone would like to connect, please email me at GameDevFox@
gmail.com




Please make sure you are using the correct version of the toolchain built 
via up-to-date version of tools/toolchain.sh (i.e. version from master). The
most likely reason is that you are using a different version of gcc which 
presents different warnings.





[jirka@omelette win31]$ /usr/local/cross/bin/arm-helenos-gcc --version
arm-helenos-gcc (GCC) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.





If you have the correct toolchain there should be no warnings. It is
possible to prevent gcc turning warnings to errors, which can be done either
by configuring a non-debug build or removing the lines





if CONFIG_DEBUG
        extra_common_flags += [ '-Werror' ]
endif





from meson/part/compiler_args/meson.build

But I would consider that only as a last-resort solution.




Best regards,

Jiri


_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to