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! git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@201328 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/__config b/include/__config index f33e25b..21f7dce 100644 --- a/include/__config +++ b/include/__config
@@ -434,7 +434,7 @@ #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