[Olsr-dev] merge mDNS branch to master

Alessandro Gnagni (spam-protected)
Thu Oct 11 11:34:33 CEST 2012


i can't find any warning compiling with "make libs".


2012/10/11 Alessandro Gnagni <(spam-protected)>:
> After lesson end i will check.
>
> Il giorno 11/ott/2012 10:47, "Ferry Huberts" <(spam-protected)> ha
> scritto:
>
>> Another warning:
>>
>>> src/RouterElection.c: In function ‘electTimer’:
>>> src/RouterElection.c:177:17: warning: ‘tmp’ may be used uninitialized in
>>> this function [-Wuninitialized]
>>
>>
>>
>> You probably mean tmp6 there, don't you?
>>
>> (should have been found during review)
>>
>>
>> On 11-10-12 10:25, 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
>>
>>
>> --
>> Ferry Huberts




More information about the Olsr-dev mailing list