6975480: VS2010 says _STATIC_CPPLIB is deprecated, may need to change this usage
authorzgu
Mon, 27 Dec 2010 09:30:20 -0500
changeset 7697 7c49699784f0
parent 7450 e44c68293be8
child 7698 e3bf391c9d3a
6975480: VS2010 says _STATIC_CPPLIB is deprecated, may need to change this usage Summary: Disabled the warning message during compiling. Reviewed-by: coleenp, dholmes
hotspot/make/windows/makefiles/compile.make
--- a/hotspot/make/windows/makefiles/compile.make	Tue Dec 14 15:10:52 2010 -0500
+++ b/hotspot/make/windows/makefiles/compile.make	Mon Dec 27 09:30:20 2010 -0500
@@ -138,7 +138,7 @@
 !endif
 
 # Always add the _STATIC_CPPLIB flag
-STATIC_CPPLIB_OPTION = /D _STATIC_CPPLIB
+STATIC_CPPLIB_OPTION = /D _STATIC_CPPLIB /D _DISABLE_DEPRECATE_STATIC_CPPLIB
 MS_RUNTIME_OPTION = $(MS_RUNTIME_OPTION) $(STATIC_CPPLIB_OPTION)
 CPP_FLAGS=$(CPP_FLAGS) $(MS_RUNTIME_OPTION)