Re: NM 1.7.1 - GCC 7.0.1 - format-truncation
- From: poma <pomidorabelisima gmail com>
- To: Thomas Haller <thaller redhat com>, Network Manager <networkmanager-list gnome org>
- Subject: Re: NM 1.7.1 - GCC 7.0.1 - format-truncation
- Date: Mon, 6 Feb 2017 20:28:27 +0100
On 06.02.2017 17:46, Thomas Haller wrote:
On Mon, 2017-02-06 at 14:20 +0100, Thomas Haller wrote:
On Sat, 2017-02-04 at 20:47 +0100, poma wrote:
1st build with gcc7 on Rawhide
To me the warning seems bogus, and I am tempted to disable it via
-Wno-format-truncation
in m4/compiler_options.m4
Ok, I disabled the warning.
https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=705e63a292974abeccaaabb8dd405804e676275b
It's essential to be able to build with -Werror enabled -- at least on
common platforms, like Fedora-rawhide with gcc7.
If somebody thinks the warning is essential, please send a follow-up
patch to re-enable it (and fix the false positives).
thanks poma,
Thomas
For comparisson, this issue ain't reflected in sd,
$ ./systemd --version
systemd 232-20170206git0f92383
...
OK, NM is now buildable,
$ NetworkManager --version
1.7.1-0.4.20170206git77140ca.fc26
thanks u2
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]