[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r16952 - branches/1.3.x

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-10-25 09:55:59 CEST

Alan Barrett wrote:

>On Mon, 24 Oct 2005, David James wrote:
>
>
>>Our current typemaps work on standard 32-bit and 64-bit platforms,
>>because char, short, and int normally have standard sizes. Subversion
>>developers, do you have any ideas how to implement the APR typemaps in
>>a more portable way?
>>
The same way APR does -- with config-foo.

>> In future, I'm hoping to rewrite our SWIG
>>typemaps for APR datatypes to work without making assumptions about
>>type sizes.
>>
>>
>
>I am new to subversion, and probably don't understand the issues, but
>why can't we use [u]int_{8,16,32,64}_t as defined in <stdint.h> on many
>platforms, and as standardised in C99? It is presumably possible to
>write some autoconf magic to define those types for platforms that have
>a missing or broken or pre-C99 version of <stdint.h>.
>
>
Our baseline is C90 (or 89 for the ANSI-centric), which means we can't
rely on stdint.h. That in turn means we have to rely on configury magic
anyway, it's easier to just typdef apr-like names on all platforms.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 25 09:59:33 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.