On Aug 18, 2019, at 5:30 PM, Mark Cave-Ayland mark.cave-ayland@ilande.co.uk wrote:
On 18/08/2019 22:09, Programmingkid wrote:
On Aug 18, 2019, at 3:41 PM, Mark Cave-Ayland mark.cave-ayland@ilande.co.uk wrote:
On 16/08/2019 08:27, Mark Cave-Ayland wrote:
During the past couple of weeks I've updated my build chain to use gcc 9.1 which generates some additional warnings that cause the build to fail when building with -Werror.
I'm thinking removing -Werror might be a better option.
Why? All of these things flagged up by the compiler are genuine errors.
ATB,
Mark.
The -Werror option treats warnings as errors. I would not consider a warning to be a genuine error. I always remove -Werror in order for OpenBIOS to compile on my system. So far this works well.