openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Weir <robw...@apache.org>
Subject Re: Compiler warnings
Date Wed, 05 Mar 2014 13:18:00 GMT
On Wed, Mar 5, 2014 at 7:32 AM, jan i <jani@apache.org> wrote:
> On 5 March 2014 12:46, Andre Fischer <awf.aoo@gmail.com> wrote:
>
>> On 05.03.2014 12:38, John O'Sullivan wrote:
>>
>>> Use MSVC's WD flag to disable the warning. You'll probably need to hack
>>> wntmsci11.mk...
>>>
>>
>> I wouldn't like to turn off this warning globally.  I only don't want to
>> see it for system headers that I can't change anyway.
>>
>>
> Use #pragma  to disable/enable the warnings. Put the #pragma around the
> include statement.
>

Or use a push/pop set of pragmas, which handles nested inclusion
scenarios safer:

http://msdn.microsoft.com/en-us/library/2c8f766e%28v=vs.90%29.aspx

-Rob


> rgds
> jan I.
>
> -Andre
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Mime
View raw message