ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] New GCC, new option required?

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Wed, 13 Jul 2011 21:43:18 +0200
Hi Bill,

That option sounds good to me. 

Thanks,
Jaap

Send from my iPhone

On 13 jul. 2011, at 16:47, Bill Meier <wmeier@xxxxxxxxxxx> wrote:

>> Re:
>> 
>> > AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wno-unused-but-set-variable)
>> 
>> Is there a (reasionably easy) way to use this option only when compiling
>> in the .../dissectors directory ?
>> 
>> (I think that I've previously addressed the "unused_but_set" warnings
>> for many (all ?) of the other directories). (SVN 37600 & following...)
>> 
> 
> PS: I've been using
> 
> AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wno-error=unused-but-set-variable)
> 
> so that "unused-but-set-variable" is reported but treated as a warning
> instead of an error.
> 
> ___________________________________________________________________________
> 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