This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 4.2/4.3 PATCH: Fix IRIX 6.5 <stdint.h> for non-C99 compilations (PR libgcj/28190)
Bruce Korb writes:
> On 7/5/07, Rainer Orth <ro@techfak.uni-bielefeld.de> wrote:
> > The IRIX 6 <stdint.h> starts like this:
> >
> > #ifndef __c99
> > #error This header file is to be used only for c99 mode compilations
> > #else
> >
> > This causes lots of trouble compiling
>
> I guess it would! Looks fine to me, assuming there is no concern about
> ``__c99'' popping up elsewhere. (i.e. no need for pre-defining the
> thing for IRIX
> when GCC is in c99 or gcc99 mode.)
We already do so for -std=c99|gnu99 and C++.
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University