[ia64-abi] Issue reminder

Matt Austern austern at sgi.com
Thu Mar 16 20:43:19 UTC 2000


Cary Coutant writes:

 > >Issue ??:  Types
 > >	I sent a note a couple of days ago.  We must decide whether
 > >	__int64 and __float80 are distinct types, or typedefs of long
 > >	long and long double.  As Martin pointed out, we should also
 > >	specify bindings of the sized types defined by C2000.
 > 
 > I thought you noted that this was just a C++ issue. Do we need to answer 
 > this at the base ABI level?

Yes.  This is mostly a C++ issue, but it also matters for C.

First of all, consider the following C code:
    void f(__int64);
    void f(long n) {}
This is valid if __int64 is a typedef for long, otherwise it's
an error.

Second, C99 specifies a whole lot of typedefs and macros for integer
types.  inttypes.h is a C header, and it's important for everyone to
agree on its contents.

                        --Matt





More information about the cxx-abi-dev mailing list