[master] b0af060fb simple fix for fedora/gcc-10.0.1: -Werror=format-overflow, by some reason hit on s390x

Nils Goroll nils.goroll at uplex.de
Wed Feb 12 16:37:58 UTC 2020


To summarize an IRC conversion with Dridi in case there are any other simple
minded people like me who admire pedants ;) :

- the publicly available *1) c99 draft states

  p.279

  If no l (length) modifier is present, the
  argument shall be a pointer to the
  initial element of an array of character type


  I read this as excluding NULL

- Dridis point is that the gcc warning should not be for -Wformat-overflow, but
rather for -Wformat / -Wnonnull

Nils

1) http://www.open-std.org/jtc1/sc22/WG14/www/docs/n1256.pdf

-- 

** * * UPLEX - Nils Goroll Systemoptimierung

Scheffelstraße 32
22301 Hamburg

tel +49 40 28805731
mob +49 170 2723133
fax +49 40 42949753

xmpp://slink@jabber.int.uplex.de/

http://uplex.de/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-commit/attachments/20200212/f4b60552/attachment.bin>


More information about the varnish-commit mailing list