------- Comment #6 from joseph at codesourcery dot com 2009-08-22 16:43 ------- Subject: Re: Windows %I32 format confusion
On Sat, 22 Aug 2009, ktietz at gcc dot gnu dot org wrote: > This patch can solve this. There are two possible ways to solve this. > First) Extend format_length_info by an new field to specify if identity in > size > is ok for check. > Second) Do the check within the format_length_info loop and check here for > I32/I64. > > This patch implements solution 2. > > Any comments on it? I believe the first solution is better. We generally try to avoid hardcoded references to particular formats, length specifiers etc. within the checking code. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40786