Wireshark-dev: Re: [Wireshark-dev] [Patch] pragma warning
From: Gisle Vanem <gvanem@xxxxxxxxxxxx>
Date: Tue, 27 Mar 2007 19:20:08 +0200
"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.

--gv