On 5 March 2014 14:18, Rob Weir <robw...@apache.org> wrote: > On Wed, Mar 5, 2014 at 7:32 AM, jan i <j...@apache.org> wrote: > > On 5 March 2014 12:46, Andre Fischer <awf....@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 >
If you use push/pop please check for platform, since this is not supported by all C++ compilers, whereas #pragma alone is. rgds jan I. > > -Rob > > > > rgds > > jan I. > > > > -Andre > >> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > >> For additional commands, e-mail: dev-h...@openoffice.apache.org > >> > >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > For additional commands, e-mail: dev-h...@openoffice.apache.org > >