Hi,

I have make a second serie of patches about fix when build with gcc6
(add some -core to get a second opinion ;-) )

For information, wireshark (with patches) build on gcc6 :-)



On Thu, Feb 11, 2016 at 7:18 AM, Alexis La Goutte <[email protected]
> wrote:

>
>
> On Wed, Feb 10, 2016 at 10:13 PM, Pascal Quantin <[email protected]
> > wrote:
>
>> Hi Alexis,
>>
>> 2016-02-10 13:00 GMT+01:00 Alexis La Goutte <[email protected]>:
>>
>>> Hi, i have now a build machine with gcc6 and try..
>>> There is always some warning, i have push a first serie of patch
>>> https://code.wireshark.org/review/#/q/topic:gcc6
>>>
>>> For dissectors, the last one is :
>>> ../../asn1/q932/packet-q932-exp.h:26:27: error:
>>> ‘q932_PresentedNumberUnscreened_vals’ defined but not used
>>> [-Werror=unused-const-variable]
>>> ../../asn1/q932/packet-q932-exp.h:18:27: error:
>>> ‘q932_PresentedNumberScreened_vals’ defined but not used
>>> [-Werror=unused-const-variable]
>>> ../../asn1/q932/packet-q932-exp.h:10:27: error:
>>> ‘q932_PresentedAddressUnscreened_vals’ defined but not used
>>> [-Werror=unused-const-variable]
>>> ../../asn1/q932/packet-q932-exp.h:2:27: error:
>>> ‘q932_PresentedAddressScreened_vals’ defined but not used
>>> [-Werror=unused-const-variable]
>>>
>>> If there is a expert of ASN1 dissector generator ;-)
>>>
>>
>> Could you give a try to this patch?
>>
>> diff --git a/asn1/q932/q932.cnf b/asn1/q932/q932.cnf
>> index e5bcf3b..b2dbcb4 100644
>> --- a/asn1/q932/q932.cnf
>> +++ b/asn1/q932/q932.cnf
>> @@ -8,7 +8,7 @@ InterpretationComponent
>>  NetworkFacilityExtension
>>  NetworkProtocolProfile
>>
>> -#.EXPORTS EXTERN VALS_WITH_TABLE
>> +#.EXPORTS EXTERN
>>
>>  # Addressing-Data-Elements
>>  PresentedAddressScreened
>>
>
> Thanks Pascal !
> Working ! i will push a patch :)
>
>>
>> Cheers,
>> Pascal.
>>
>
>
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to