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