On Sat, 2017-02-04 at 20:47 +0100, poma wrote: > 1st build with gcc7 on Rawhide > > ... > src/systemd/src/basic/time-util.c: In function 'format_timespan': > src/systemd/src/basic/time-util.c:506:46: error: '%0*lu' directive > output between 1 and 2147483648 bytes may cause result to exceed > 'INT_MAX' [-Werror=format-truncation=] > "%s"USEC_FMT".%0*"PRI_U > SEC"%s", > ^~~~ > src/systemd/src/basic/time-util.c:506:60: note: format string is > defined here > "%s"USEC_FMT".%0*"PRI_U > SEC"%s", > src/systemd/src/basic/time-util.c:506:46: note: directive argument in > the range [0, 18446744073709551614] > "%s"USEC_FMT".%0*"PRI_U > SEC"%s", > ^~~~ > cc1: all warnings being treated as errors > ... >
hm, the issue is in code we pulled in from systemd, and it's present there too. To me the warning seems bogus, and I am tempted to disable it via -Wno-format-truncation in m4/compiler_options.m4 dunno... Thomas
signature.asc
Description: This is a digitally signed message part
_______________________________________________ networkmanager-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/networkmanager-list
