Wireshark mailing list archives

New GCC, new option required?


From: Jaap Keuter <jaap.keuter () xs4all nl>
Date: Wed, 13 Jul 2011 14:05:23 +0200

Hi list,

I think we need a new GCC option added to configure.in:

AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wno-unused-but-set-variable)

This option came into existence with GCC 4.6 and is causing havoc all over.
I've been going through a lot of dissectors, many of which have either:
 * unused set variables
 * variables set for a legitimate purpose, but not used (yet)
 * bugs

Two bugs are already addressed. I've got some code cleanup done, some stubs.
Remains the generated dissector code which spawns many of these errors.
Therefore I think this item is needed.

I have lost the use of my development machine for at least another week, so
can't work on this myself.

Thanks,
Jaap

___________________________________________________________________________
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: