[libcxx] r201328 - This solves warning C4005: '_NOEXCEPT' : macro redefinition when compiling
Yaron Keren
yaron.keren at gmail.com
Thu Feb 13 06:02:28 PST 2014
Author: yrnkrn
Date: Thu Feb 13 08:02:28 2014
New Revision: 201328
URL: http://llvm.org/viewvc/llvm-project?rev=201328&view=rev
Log:
This solves warning C4005: '_NOEXCEPT' : macro redefinition when compiling
with Visual C++ 2013 by making libcxx definition text-identical to yvals.h.
Persumably this definition is for older Visual C++ versions.
In such cases it will still be defined so no functionality change.
Other platforms should not be affected as this is inside
#elif defined(_LIBCPP_MSVC)
Patch by G M!
Modified:
libcxx/trunk/include/__config
Modified: libcxx/trunk/include/__config
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__config?rev=201328&r1=201327&r2=201328&view=diff
==============================================================================
--- libcxx/trunk/include/__config (original)
+++ libcxx/trunk/include/__config Thu Feb 13 08:02:28 2014
@@ -434,7 +434,7 @@ using namespace _LIBCPP_NAMESPACE __attr
#define _ALIGNAS(x) __declspec(align(x))
#define _LIBCPP_HAS_NO_VARIADICS
-#define _NOEXCEPT throw()
+#define _NOEXCEPT throw ()
#define _NOEXCEPT_(x)
#define _NOEXCEPT_OR_FALSE(x) false
More information about the cfe-commits
mailing list