This is the mail archive of the
mailing list for the GCC project.
Re: Patch installed to libiberty to turn on -pedantic
- To: KelleyCook at attglobal dot net
- Subject: Re: Patch installed to libiberty to turn on -pedantic
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Thu, 8 Jun 2000 16:45:29 -0400 (EDT)
- Cc: gcc-patches at gcc dot gnu dot org
> From: Kelley Cook <email@example.com>
> 2000-06-07 Kaveh R. Ghazi <firstname.lastname@example.org> said
> > * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
> > __extension__.
> >-typedef unsigned long long gcc_uint64_t;
> >+__extension__ typedef unsigned long long gcc_uint64_t;
> But since the adoption of C99, "long long" is no longer just a GCC
> extension ... it shouldn't be flagged with a pedantic warning, IMO.
> And it certainly shouldn't be required to be marked with
> -- Kelley Cook
The default mode for gcc today is c89, not c99. I don't think all
aspects of c99 are implemented yet. Even if we were to switch the
default to c99, bootstrapping with older gcc's would still require the
__extension__ keyword to avoid a pedantic warning on the use of "long
long" in libiberty.
Kaveh R. Ghazi Engagement Manager / Project Services
email@example.com Qwest Internet Solutions