[Olsr-dev] "-Werror" for master branch - was: merge mDNS branch to master

Henning Rogge (spam-protected)
Thu Oct 11 10:28:08 CEST 2012


I wonder if we should add the "-Werror" flag to our makefile in the 
master branch and only remove it in the release branches.

Henning Rogge

On 10/11/2012 10:25 AM, ZioPRoTo (Saverio Proto) wrote:
> thanks Ferry.
>
> Saverio
>
>
> 2012/10/11 Ferry Huberts <(spam-protected)>:
>>
>>
>> On 10-10-12 09:03, Ferry Huberts wrote:
>>>
>>>
>>>
>>> On 28-09-12 14:54, ZioPRoTo (Saverio Proto) wrote:
>>>>
>>>> Hello,
>>>>
>>>> we would like to merge mDNS-plugin-GSoC-2012 branch to master
>>>>
>>>> if okay I will do that in a few days.
>>>>
>>>> thanks
>>>>
>>>> Saverio
>>>>
>>>
>>>
>>> Saverio,
>>>
>>> can you please fix the following compile warnings?
>>>
>>
>> Don't bother. I fixed them for you
>>
>>
>>>
>>>> make[1]: Entering directory `/home/ferry/vcs/nbs/nbsolsrd/lib/mdns'
>>>> [CC] src/olsrd_plugin.c
>>>> [CC] src/Address.c
>>>> [CC] src/RouterElection.c
>>>> [CC] src/Packet.c
>>>> [CC] src/NetworkInterfaces.c
>>>> [CC] src/mdns.c
>>>> src/mdns.c: In function ‘isInFilteredList’:
>>>> src/mdns.c:406:7: warning: passing argument 2 of ‘olsr_ip_to_string’
>>>> from incompatible pointer type [enabled by default]
>>>> In file included from src/mdns.c:65:0:
>>>> ../../src/ipcalc.h:146:1: note: expected ‘const union olsr_ip_addr *’
>>>> but argument is of type ‘struct in_addr *’
>>>> src/mdns.c:406:7: warning: passing argument 2 of ‘olsr_ip_to_string’
>>>> from incompatible pointer type [enabled by default]
>>>> In file included from src/mdns.c:65:0:
>>>> ../../src/ipcalc.h:146:1: note: expected ‘const union olsr_ip_addr *’
>>>> but argument is of type ‘struct in_addr *’
>>>> src/mdns.c:411:7: warning: passing argument 2 of ‘olsr_ip_to_string’
>>>> from incompatible pointer type [enabled by default]
>>>> In file included from src/mdns.c:65:0:
>>>> ../../src/ipcalc.h:146:1: note: expected ‘const union olsr_ip_addr *’
>>>> but argument is of type ‘struct in6_addr *’
>>>> src/mdns.c:411:7: warning: passing argument 2 of ‘olsr_ip_to_string’
>>>> from incompatible pointer type [enabled by default]
>>>> In file included from src/mdns.c:65:0:
>>>> ../../src/ipcalc.h:146:1: note: expected ‘const union olsr_ip_addr *’
>>>> but argument is of type ‘struct in6_addr *’
>>>> [LD] olsrd_mdns.so.1.0.1
>>>
>>>
>>>
>>>
>>
>> --
>> Ferry Huberts
>


-- 
Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Kommunikationssysteme (KOM)
Fraunhofer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961,   Fax +49 228 9435 685
mailto:(spam-protected) http://www.fkie.fraunhofer.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6169 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20121011/e3e5123d/attachment.bin>


More information about the Olsr-dev mailing list