[Olsr-dev] olsrd does not compile on gcc 4.6.0 (Fedora 15)

Ferry Huberts (spam-protected)
Thu Jun 9 12:24:53 CEST 2011

On 06/09/2011 10:53 AM, Henning Rogge wrote:
> On Thu June 9 2011 10:15:25 Ferry Huberts wrote:
>> Hi list,
>> olsrd does not compile on gcc 4.6.0 (Fedora 15) because of -Wformat-2 in
>> Makefile.inc.
>> Is there any special reason to formulate this option this way that I'm
>> not aware of? It seems to me that it is a typo of -Wformat=2 (see gcc
>> manual, pages 51 and 52).
> Yes, most likely this is a typo...
> I replaced it with -Wformat, because autobuf.c does not compile well with 
> Wformat=2. The problem (according to my knowledge) is that there is no 

did you push this upstream yet?
(I'm working in stable)

> __attribute__((...)) option for the strftime() function.

will see if I can come up with something

Ferry Huberts

More information about the Olsr-dev mailing list