On 05.03.2014 14:18, Rob Weir 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
-Rob
Thanks John, Rob, Jan, I think I have this warning under control now.
As suggested I use
#if defined(_MSC_VER)
#pragma warning(push)
#pragma warning(disable:4555)
#include ...
#pragma warning(pop)
#endif
After putting this in hash_map and still seeing warnings 4555 I thought
that maybe not only the definition of the list template had to be
treated this way but also the template instantiation, which would have
required a lot more work. Luckily I just had to do the same fix for the
list template. No more 4555.
-Andre
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org