https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89312
--- Comment #2 from Martin Husemann <martin at netbsd dot org> --- Thanks for the explanation, but I see no way I could improve the code in question reasonably and (sorry to be blunt) consider it quite stupid of gcc to warn about it by default. I do want the total string to be truncated, not individual fields, so precision does not help. Making the target buffer larger makes no sense as there is limited space in the GUI for output. I will globaly shut off the warning, it is useless for this code. This is a (slight) pain, as the warning is (newer) gcc specific.