Your message dated Sat, 18 Jun 2016 00:52:54 +0200
with message-id <[email protected]>
and subject line closing bugs reported against ancient GCC versions
has caused the Debian Bug report #493225,
regarding gcc-4.3: Should warn about format strings similar to "%-20.20s"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
493225: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493225
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gcc-4.3
Version: 4.3.1-2
Severity: wishlist

Some projects like exif use statements like this for aligning the output:

fprintf (stdout, "%-20.20s", C(CN(exif_tag_get_title_in_ifd (e->tag, ifd))));
printf ("|");

and this doesn't work (i.e., the output is misaligned because bytes, 
characters and cells are completely different things) in multibyte locales. 
IMHO it is a good idea to educate such ignorant upstreams with a new warning 
about printf format strings that specify %s and the field width (and possibly 
precision).

-- 
Alexander E. Patrakov



--- End Message ---
--- Begin Message ---
This bug has been reported against an ancient version of
gpc (4.1), gcc/g++/gfortran (4.3), or gcj/gij/gobjc (4.4), that was last
released with Debian 6.0 (squeeze). But even squeeze-lts has now reached
end-of-life and is no longer supported.
The bug is assumed to be fixed (or no longer relevant) in newer GCC
releases and therefore I'm closing this report now. If the problem is
still reproducible in the currently supported versions (gcc-5, gcc-6 or
corresponding g++/gcj), feel free to provide more information, reopen
and reassign this bug report.


Andreas

--- End Message ---

Reply via email to