[FS#4000] firewall3: Build failure with -Werror and gcc 10
openwrt-bugs at lists.openwrt.org
Wed Sep 1 23:47:26 PDT 2021
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Daniel Santos (dansan)
Attached to Project - OpenWrt/LEDE Project
Summary - firewall3: Build failure with -Werror and gcc 10
Task Type - Build Failure
Category - Packages
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - openwrt-21.02
Due in Version - Undecided
Due Date - Undecided
Details - Occurs on today's openwrt-21.02 branch.
/home/daniel/proj/embedded/openwrt/v21.02.y/build_dir/target-mipsel_24kc_musl/firewall-2021-03-23-61db17ed/options.c: In function 'fw3_parse_options':
/home/daniel/proj/embedded/openwrt/v21.02.y/build_dir/target-mipsel_24kc_musl/firewall-2021-03-23-61db17ed/options.c:1113:7: error: '%s' directive argument is null [-Werror=format-overflow=]
1113 | warn_elem(e, "has invalid value '%s'", p);
cc1: all warnings being treated as errors
I'm behind on GCC development, but it looks like they're generating some interesting warnings now after constant propagation.
More information can be found at the following URL:
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the openwrt-bugs