This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Ping - old patch from April - mingw support for I32/I64 MS printf formatters to c-format.c


On Wed, Mar 19, 2008 at 3:34 AM, Kai Tietz <Kai.Tietz@onevision.com> wrote:
> NightStrike <nightstrike@gmail.com> wrote on 18.03.2008 14:34:11:
>
>
> > Attached is the gcc test log for formatters for this latest patch
>  > (recompiled and retested in like 10 minutes :)
>
>  Sorry, this was a typo of mine. I removed the testcase ms_warnll-1.c
>  completly. It makes not so much sense to check ISO C90 ll for mingw :)
>  I attached the updated patch.

Actually., I think it makes a lot of sense to test whether the
appropriate warning is reported.
Also, if you look again at the msdn page you will note that the field
width flag (a glibc extensuion) is not documented.
Indeed if you test a format like "%5m", you will see that it  produces
this as output:  "m"   The use of  this flag should produce a warning.

Danny
>
>  Cheers,
>   Kai
>
>
>
>  |  (\_/)  This is Bunny. Copy and paste Bunny
>  | (='.'=) into your signature to help him gain
>  | (")_(") world domination.
>
>
>
> ------------------------------------------------------------------------------------------
>   OneVision Software Entwicklungs GmbH & Co. KG
>   Dr.-Leo-Ritter-Straße 9 - 93049 Regensburg
>   Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 - www.OneVision.com
>   Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050
>   Handelsregister: HRA 6744, Amtsgericht Regensburg
>   Komplementärin: OneVision Software Entwicklungs Verwaltungs GmbH
>   Dr.-Leo-Ritter-Straße 9 – 93049 Regensburg
>   Handelsregister: HRB 8932, Amtsgericht Regensburg - Geschäftsführer:
>  Ulrike Döhler, Manuela Kluger
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]