This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Handle PGI/Intel Compilers


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]