On Mit, 2009-01-28 at 21:06 +0100, Henning Rogge wrote:
> On Mittwoch 28 Januar 2009 04:33:08 you wrote:
> > I too faced compilation problem with r3.
> >
> > I am on Fedora core 9.
> >
> > Gcc version:  Redhat Gcc 4.3.0-8
> >
> > So I am going with r2 for now.
> Great... it seems the bison generated parser we used in 0.5.6 (we don't use it 
> anymore in tip) does not work for the new GCC...

4.3.0 is not really new (as it was released 11 months ago). 4.3.3 would
new.
And newer gcc's tend to have better optimizers and error checking so one
gets new warnings for "old" code simply because the old gcc didn't
detect it.
Perhaps the bison is new(er) than before and generates different code or
has different templates (as olsrd doesn't ship the flex and bison
generated files which would probably be the simplest solution to that
problem at large).

> Sorry, this bug will take a few days, if you can just use an older gcc or 
> remove the line
> 
> WARNINGS +=	-Werror
> 
> from Makefile.inc as a temporary sollution.

Yes, just get rid of the "-Werror" at least to compile the generated
file(s) and ignore the warnings.
Chances are quite low (read: IMHO practically 0) that bison generates
faulty parsers (as that would probably mean *lots* of affected apps).

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services



