This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [libstdc++] intptr_t usage
Richard Henderson wrote:
> On Wed, Mar 28, 2007 at 01:39:54AM +0200, Paolo Carlini wrote:
>> Seriously, I'm thinking that, in any case, considering only unsigned
>> long and something bigger - unsigned long long - we cannot regress,
>> right?
>
> Probably not. I'll leave this up to you then.
How about adding __INTPTR_TYPE__ to the builtin defines, like
__SIZE_TYPE__ and __PTRDIFF_TYPE__? (Or, lazily, how about using
__PTRDIFF_TYPE__ as I would expect that to be the same as intptr_t on
most platforms.)
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713