[Bug tree-optimization/81163] error: ‘snprintf’ output may be truncated before the last format character [-werror=format-truncation=] note: ‘snprintf’ output between 2 and 266 bytes into a destination of size 255
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 22 19:26:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81163
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |INVALID
--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
Resolved as Invalid per comment #2.
PS Thanks for providing the source file. Note that I/we have access to kernel
sources and with some effort can usually reproduce diagnostics there. To
minimize the overhead and the effort of finding the right combination of
command like options needed to trigger the warnings or errors we ask for a
preprocessed source file, which is the output of the compiler obtained by
replacing the -c option with -E. For more details see:
https://gcc.gnu.org/bugs
More information about the Gcc-bugs
mailing list