I'm trying out the release candidate of Visual Studio 2012. tbb_exception.h does not compile due to use of std::copy_exception(). I'm having a hard time finding any info on this method. Is it really part of the std namespace? Will VS2012 be supported soon?Thanks,Paul Vladimir Polin (Intel)
June 8, 2012 11:28 PM PDT
Rate Please login to rate! Current Score: 0 out of 0 usersPlease login to rate! Current Score: 0 out of 0 usersPlease login to rate! Current Score: 0 out of 0 usersPlease login to rate! Current Score: 0 out of 0 usersPlease login to rate! Current Score: 0 out of 0 users
#1
Visual Studio 2012 Hello, you are right, the issue is the same for clang (http://software.intel.com/en-us/forums/showthread.php?t=102603&o=a&s=lr), C++x0 std::copy_exception was renamed to std::make_exception_ptr in final version of C++11 standard. So you need to either rename it in the header or define /DTBB_USE_CAPTURED_EXCEPTION=1 to not use exception_ptr like for old compilers.We are working on how is better to support both cases at once (i.e. vs2010 and vs2012).thanks for the report--VladimirUpdate - details on the issue:http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#1130 Sergey Kostrov
June 9, 2012 4:22 PM PDT
Rate Please login to rate! Current Score: 0 out of 0 usersPlease login to rate! Current Score: 0 out of 0 usersPlease login to rate! Current Score: 0 out of 0 usersPlease login to rate! Current Score: 0 out of 0 usersPlease login to rate! Current Score: 0 out of 0 users
#2
Visual Studio 2012 Quoting paul3579I'm trying out the release candidate of Visual Studio 2012. tbb_exception.h does not compile due to use of std::copy_exception(). I'm having a hard time finding any info on this method. Is it really part of the std namespace? I just done verifications with different versions/editions of Visual Studio andMinGW. Here are results:
- Visual Studio 2005 Professional Edition - 'copy_exception' is not supported
- Visual Studio 2008 Express Edition - 'copy_exception' is not supported
- Visual Studio 2010 Express Edition - 'copy_exception' is supported in 'exception' header file
- MinGW v3.4.2 - 'copy_exception' is not supported
I don't think that Microsoft will remove that support in Visual Studio 2012.