[Scummvm-cvs-logs] scummvm master -> 22be7f4346e3f09a8d86a61f6d1b5e6c1b11b703
bluegr
bluegr at gmail.com
Tue Oct 28 13:27:40 CET 2014
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
22be7f4346 COMMON: Add reference links for the enabled C++11 features in MSVC
Commit: 22be7f4346e3f09a8d86a61f6d1b5e6c1b11b703
https://github.com/scummvm/scummvm/commit/22be7f4346e3f09a8d86a61f6d1b5e6c1b11b703
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2014-10-28T14:26:19+02:00
Commit Message:
COMMON: Add reference links for the enabled C++11 features in MSVC
Changed paths:
common/c++11-compat.h
diff --git a/common/c++11-compat.h b/common/c++11-compat.h
index 9fd252c..a56b795 100644
--- a/common/c++11-compat.h
+++ b/common/c++11-compat.h
@@ -32,6 +32,7 @@
// though.
//
#if !defined(nullptr) // XCode 5.0.1 has __cplusplus=199711 but defines this
+// MSVC 2010 and newer fully support nullptr: http://msdn.microsoft.com/en-us/library/hh567368.aspx
#if !defined(_MSC_VER) || _MSC_VER < 1600
#define nullptr 0
#endif
@@ -41,6 +42,7 @@
// Replacement for the override keyword. This allows compilation of code
// which uses it, but does not feature any semantic.
//
+// MSVC 2012 and newer fully support override: http://msdn.microsoft.com/en-us/library/hh567368.aspx
#if !defined(_MSC_VER) || _MSC_VER < 1700
#define override
#endif
More information about the Scummvm-git-logs
mailing list