Re: argp.h syntax errors!



Andreas Kostyrka <andreas@ag.or.at> writes:
> On 12 Jul 1998, Raja R Harinath wrote:
> > The offending lines start with `ARGP_EI', which is defined in the
> > previous line as `extern inline'.  `inline' isn't a valid keyword in
> > GCC's `-ansi -pedantic' mode.  For the time being, best is not to use
> > this mode for compiling (`-Wall' is fine.)
> So where do I specify it? (I've checked the spec file, no -ansi in there,
> and I checked the ./configure script, no --without-ansi option there
> either.)

I think I fixed it in CVS (I changed it to say `__inline__' rather than
inline).  The flags were specified in the Makefile.am.

- Hari
-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]