[PATCH 2 of 2] parsers: use appropriate format to avoid unnecessary cast operations

André Sintzoff andre.sintzoff at gmail.com
Thu Apr 18 14:15:57 CDT 2013


2013/4/18 Matt Mackall <mpm at selenic.com>:
> On Thu, 2013-04-18 at 20:33 +0200, André Sintzoff wrote:
>> # HG changeset patch
>> # User André Sintzoff <andre.sintzoff at gmail.com>
>> # Date 1366309741 -7200
>> #      Jeu avr 18 20:29:01 2013 +0200
>> # Node ID 66bd60964fc93c39177cfbaa7ecc3222249c7527
>> # Parent  3a57c20af0527025bf5ffefd6f5dbd6e0b4fcd94
>> parsers: use appropriate format to avoid unnecessary cast operations
>
> Any idea how compilers other than GCC will feel about this? We don't
> have any "%z"s yet and we have users on machines from Windows to VMS.

It seems that even version 2012 of M$ Visual Studio does not support "%z".
http://msdn.microsoft.com/en-us/library/tcxf1dw6.aspx

So let's drop these patches.

Which version(s) of C do we need to support? Only C89?

André


More information about the Mercurial-devel mailing list