Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 46431: /trunk/epan/dissectors/ /trun

From: Дмитрий Дьяченко <dimhen@xxxxxxxxx>
Date: Fri, 7 Dec 2012 10:28:01 +0300
FYI
gcc-4.8 will be more useful with -Wshadow :
http://gcc.gnu.org/ml/gcc-patches/2012-10/msg02473.html

may be, use -Wshadow only with new compiler?

Thanks,
Dmitry


2012/12/7 Bill Meier <wmeier@xxxxxxxxxxx>:
> On 12/6/2012 6:44 PM, Guy Harris wrote:
>>
>>
>>>
>>
>> Hmm.  Maybe the test for "can I enable -Wshadow" should be "does the
>> compiler support it *and* does it complain about names in prototype
>> declarations shadowing variables?", not just "does the compiler
>> support it?"
>>
>
> My thoughts, exactly, but left for another day ...
>
>
>
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe