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] [Patch] pragma warning

From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Wed, 28 Mar 2007 08:48:08 +0100
Gisle Vanem wrote:
> "Graham Bloice" <graham.bloice@xxxxxxxxxxxxx> wrote:
> 
>> Gisle Vanem wrote:
>>> The "#pragma warning()" statements are MSVC specific. So
>>> embed them inside "#ifdef _MSC_VER".
>>>
>> I always thought unrecognised #pragma directives were ignored.  I take
>> it that MinGw barfs on them in some way?
> 
> MingW ignores them, but with a warning. I thought we should strive
> to reduce the number of warnings. Hence my patch.
> 

"Ignore" and "issues a warning" don't quite mesh in my dictionary, but
now I understand what's up I support your solution.

-- 
Regards,

Graham Bloice