Wireshark mailing list archives

Re: [Wireshark-commits] rev 46431: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-afs.c


From: Дмитрий Дьяченко <dimhen () gmail com>
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 () newsguy com>:
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 () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: