Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
gcc-9 stricter on NULL arguments for printf #2879
I got the following bug report for Fedora.
Note that gcc-9 is not available readily wrapped for fedora yet, this is only a pre warning, so I have not had the opportunity to dig into this yet myself. There are only some 8 calls to printf in vnum.c (varnish-6.1.1), so it should not be too difficult to track this down, I guess.
From: Jeff Law email@example.com
I'm writing you because you have a package that will fail to build in Fedora once the compiler team drops in gcc-9.
In particular your package is calling one of the printf family of routines with a %s directive and a NULL argument for that directive. gcc-9 is better at discovering these than prior GCC versions.