Revision: 16241
Author:   bmeu...@chromium.org
Date:     Tue Aug 20 09:37:21 2013 UTC
Log:      Visual Studio 2012 and later support the C++11 final keyword.

TBR=svenpa...@chromium.org

Review URL: https://codereview.chromium.org/23128007
http://code.google.com/p/v8/source/detail?r=16241

Modified:
 /branches/bleeding_edge/src/globals.h

=======================================
--- /branches/bleeding_edge/src/globals.h       Tue Aug 20 08:14:19 2013 UTC
+++ /branches/bleeding_edge/src/globals.h       Tue Aug 20 09:37:21 2013 UTC
@@ -360,10 +360,15 @@

 #elif defined(_MSC_VER)

+// Override control was added with Visual Studio 2005.
 # if _MSC_VER >= 1400
+#  if _MSC_VER >= 1700
+#   define V8_HAVE_CXX11_FINAL
+#  else
+// Visual Studio 2010 and earlier spell "final" as "sealed".
+#   define V8_HAVE_MSVC_SEALED
+#  endif
 #  define V8_HAVE_CXX11_OVERRIDE
-// MSVC currently spells "final" as "sealed".
-#  define V8_HAVE_MSVC_SEALED
 # endif

 #endif

--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to