Results from Intel4s C++ ABI Testsuite

Richard Henderson rth@redhat.com
Wed Jul 10 13:40:00 GMT 2002


On Sat, Jul 06, 2002 at 08:11:36PM +0100, Nathan Sidwell wrote:
> I don't have a C std in front of me, but IIRC size_t
> is the first of 'unsigned int', 'unsigned long', 'unsigned long long'
> that can hold an object's size. So, on an ILP32 machine, it will be
> 'unsigned int' and operator new (size_t) will be _Znwj.

Nope.  C standard only says it will be unsigned, nothing more.

About half of the ILP32 OSs use "unsigned int", and the other
half use "unsigned long".  You can do nothing but agree with
whatever the person who wrote the system headers decided.


r~



More information about the Gcc mailing list