[Olsr-dev] olsrd does not compile on gcc 4.6.0 (Fedora 15)
Henning Rogge
(spam-protected)
Thu Jun 9 10:53:16 CEST 2011
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
__attribute__((...)) option for the strftime() function.
Henning Rogge
--
Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Kommunikationssysteme (KOM)
Neuenahrer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961, Fax +49 228 9435 685
mailto:(spam-protected) http://www.fkie.fraunhofer.de
GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20110609/ac7cba2a/attachment.sig>
More information about the Olsr-dev
mailing list