I noticed since I added this line "#include <new>" to directwrite.cpp I started to get the following warning:
[exec] C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/INCLUDE\yvals.h(371) : warning CRT1007: _STATIC_CPPLIB is deprecated
My question is why do even set this flag ?
I verified it is set for fonts, decora, prism-comom, prism-d3d, glass (glass at least also sets D_DISABLE_DEPRECATE_STATIC_CPPLIB).
The best indication of why this flags is set that I could found was:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6347028
I don't think the reason stills hold true.
Also note the flag also caused the same warning in the past here:
http://bugs.sun.com/view_bug.do?bug_id=6975480
Another flag we set in fonts (for no good reason) is -DWIN32_LEAN_AND_MEAN
http://blogs.msdn.com/b/oldnewthing/archive/2009/11/30/9929944.aspx
[exec] C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/INCLUDE\yvals.h(371) : warning CRT1007: _STATIC_CPPLIB is deprecated
My question is why do even set this flag ?
I verified it is set for fonts, decora, prism-comom, prism-d3d, glass (glass at least also sets D_DISABLE_DEPRECATE_STATIC_CPPLIB).
The best indication of why this flags is set that I could found was:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6347028
I don't think the reason stills hold true.
Also note the flag also caused the same warning in the past here:
http://bugs.sun.com/view_bug.do?bug_id=6975480
Another flag we set in fonts (for no good reason) is -DWIN32_LEAN_AND_MEAN
http://blogs.msdn.com/b/oldnewthing/archive/2009/11/30/9929944.aspx