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

Matt Mackall mpm at selenic.com
Thu Apr 18 15:46:29 CDT 2013


On Thu, 2013-04-18 at 15:36 -0500, Kevin Bullock wrote:
> On 18 Apr 2013, at 3:34 PM, Matt Mackall wrote:
> 
> > Using post-C89 features is asking for trouble. Though we probably can't
> > avoid using a 'long long' of some sort.
> > 
> > Python has some header file support for masking some of these issues, I
> > think.
> 
> Most of the warnings we get with -Wall -pedantic -c89 are uses of 'long long' in <Python.h>.

Yeah, Python knows which compilers support long long and uses it where
it can.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list