Handle PGI/Intel Compilers
Jakub Jelinek
jakub@redhat.com
Wed Nov 14 01:03:00 GMT 2001
On Wed, Nov 14, 2001 at 09:16:11AM -0800, Ulrich Drepper wrote:
> Andreas Jaeger <aj@suse.de> writes:
>
> > This patch adds some support for PGI and Intel compilers, both
> > compilers support long long.
> >
> > Ok to commit?
>
> This probably should be handled with a macro like
>
> __GLIBC_HAVE_LONG_LONG
>
> defined in <features.h> based on something similar to what you have.
> Beside testing for __PGI etc you probably have to check for the
> architexcture as well. Just to prevent bad surprises. Only gcc is
> known to work accross platforms.
And perhaps it could include __STDC_VERSION__ >= 199901L too, because
I don't think any compiler would pretend to be C99 if not supporting
long long.
Jakub
More information about the Libc-hacker
mailing list