Re: NM 1.7.1 - GCC 7.0.1 - format-truncation



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

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]