This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 3.4/3.5 PATCH: Fix many Solaris 10 g++ testsuite failures
- From: "B. Kosnik" <bkoz at nabi dot net>
- To: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Cc: rth at redhat dot com, gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org,bkorb at gnu dot org
- Date: Tue, 4 May 2004 17:57:31 -0500
- Subject: Re: 3.4/3.5 PATCH: Fix many Solaris 10 g++ testsuite failures
- References: <16530.43406.739093.260696@xayide.TechFak.Uni-Bielefeld.DE><20040430231302.GA6009@redhat.com><16534.23748.492088.567467@xayide.TechFak.Uni-Bielefeld.DE>
>> Would we be better off not using int64_t from system headers, but instead
>> via __attribute__((mode("DI"))) or somesuch?
>
>That's for the libstdc++-v3 guys to comment. Currently, I find both
>constructs: include/bits/postypes.h uses int64_t if available,
>libmath/mathconf.h defines U_int64_t with __attribute ((mode (DI))). I
>understand that there's some desire to have libstdc++-v3 buildable with
>other compilers, so the use of __attribute__ seems not too desirable.
We prefer to use int64_t from system headers.
The mathconf.h bits are build-only, and do not end up visible to the end user.
-benjamin