This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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: GCC 3.4.0 fails to boot with a non-GCC C compiler


On Wed, Apr 07, 2004 at 11:51:09AM -0700, Joe Buck wrote:
> On Wed, Apr 07, 2004 at 11:44:08AM -0700, Joe Buck wrote:
> > gcc 3.4.0-pre failed to build on HP-UX with HP's C compiler.  It's likely
> > to fail with other non-gcc C compilers as well.
> > 
> > The reason is that intl/gettextP.h contains
> 
> static inline nls_uint32
> 
> > "inline" is not valid C89.
>  
> The same problem is in intl/plural.y.  I'm fixing them as I find them,
> there may be more.

No, it's only those two files; the stage1 build completes if I add

#ifndef __GNUC__
#define inline /* nothing */
#endif

to both of those files.
  


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