Re: [Wireshark-dev] Compiling Wireshark with gcc-6: Lots of new warnings

2016-02-12 Thread Alexis La Goutte
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 wrote: > > > On Wed, Feb 10, 2016 at 10:13 PM, Pascal Quantin

Re: [Wireshark-dev] Compiling Wireshark with gcc-6: Lots of new warnings

2016-02-10 Thread Alexis La Goutte
On Wed, Feb 10, 2016 at 10:13 PM, Pascal Quantin wrote: > Hi Alexis, > > 2016-02-10 13:00 GMT+01:00 Alexis La Goutte : > >> 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 >>

Re: [Wireshark-dev] Compiling Wireshark with gcc-6: Lots of new warnings

2016-02-10 Thread Pascal Quantin
Hi Alexis, 2016-02-10 13:00 GMT+01:00 Alexis La Goutte : > 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-e

Re: [Wireshark-dev] Compiling Wireshark with gcc-6: Lots of new warnings

2016-02-10 Thread Alexis La Goutte
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 n

Re: [Wireshark-dev] Compiling Wireshark with gcc-6: Lots of new warnings

2016-01-11 Thread Guy Harris
On Jan 11, 2016, at 2:33 AM, Alexis La Goutte wrote: > About unused-const-variable, it is already enable when use clang and clang > don't found this warning... > after a check, it is only from const define on .h file.. and when look .c > file, the const is used... > false positive ? need to in

Re: [Wireshark-dev] Compiling Wireshark with gcc-6: Lots of new warnings

2016-01-11 Thread Alexis La Goutte
On Mon, Jan 11, 2016 at 1:41 AM, Joerg Mayer wrote: > Hello, > > I just compiled current source with gcc-6 and warnings as errors. Attached > is the error log with the 351 files that error out. > > Ciao > Jörg > Hi Joreg, Thanks ! About misleading-indentation, it is no "enable" by defau

Re: [Wireshark-dev] Compiling Wireshark with gcc-6: Lots of new warnings

2016-01-10 Thread Michael Mann
ould make all of those #defines, but then loose type safety). -Original Message- From: Joerg Mayer To: wireshark-dev Sent: Sun, Jan 10, 2016 7:41 pm Subject: [Wireshark-dev] Compiling Wireshark with gcc-6: Lots of new warnings Hello, I just compiled current source with gcc-6 and w

[Wireshark-dev] Compiling Wireshark with gcc-6: Lots of new warnings

2016-01-10 Thread Joerg Mayer
Hello, I just compiled current source with gcc-6 and warnings as errors. Attached is the error log with the 351 files that error out. Ciao Jörg -- Joerg Mayer We are stuck with technology when what we really want is just stuff that works. Some s