endif
COMP_OPT = -c $(CFLAGS) $(BASE_OPT)
-CPP_COMP_OPT = -std=c++0x -c $(CXXFLAGS) $(BASE_OPT)
+CPP_COMP_OPT = -std=c++11 -c $(CXXFLAGS) $(BASE_OPT)
COMPILER_ROOT = $(shell dirname `dirname \`which $(CXX)\``)
#define CDS_NOEXCEPT_SUPPORT_(expr)
// Lambda (VC 10 +)
-//#define CDS_CXX11_LAMBDA_SUPPORT
+#define CDS_CXX11_LAMBDA_SUPPORT
// RValue (VC 10+)
#define CDS_RVALUE_SUPPORT
# if BOOST_VERSION >= 105400
# include <boost/atomic.hpp>
# define CDS_ATOMIC boost
+# define CDS_CXX11_ATOMIC_BEGIN_NAMESPACE namespace boost {
+# define CDS_CXX11_ATOMIC_END_NAMESPACE }
# else
# error "Boost version 1.54 or above is needed for boost.atomic"
# endif
// libcds atomic
# include <cds/compiler/cxx11_atomic.h>
# define CDS_ATOMIC cds::cxx11_atomics
+# define CDS_CXX11_ATOMIC_BEGIN_NAMESPACE namespace cds { namespace cxx11_atomics {
+# define CDS_CXX11_ATOMIC_END_NAMESPACE }}
#else
// Compiler provided C++11 atomic
# include <atomic>
# define CDS_ATOMIC std
+# define CDS_CXX11_ATOMIC_BEGIN_NAMESPACE namespace std {
+# define CDS_CXX11_ATOMIC_END_NAMESPACE }
#endif
//@endcond
<ClInclude Include="..\..\..\cds\compiler\cxx11_atomic.h" />\r
<ClInclude Include="..\..\..\cds\compiler\gcc\amd64\cxx11_atomic.h" />\r
<ClInclude Include="..\..\..\cds\compiler\gcc\compiler_macro.h" />\r
+ <ClInclude Include="..\..\..\cds\compiler\gcc\cxx11_atomic_patches.h" />\r
<ClInclude Include="..\..\..\cds\compiler\gcc\ia64\cxx11_atomic.h" />\r
<ClInclude Include="..\..\..\cds\compiler\gcc\sparc\cxx11_atomic.h" />\r
<ClInclude Include="..\..\..\cds\compiler\gcc\x86\cxx11_atomic.h" />\r
<ClInclude Include="..\..\..\cds\compiler\gcc\ia64\cxx11_atomic.h">\r
<Filter>Header Files\cds\compiler\gcc\ia64</Filter>\r
</ClInclude>\r
+ <ClInclude Include="..\..\..\cds\compiler\gcc\cxx11_atomic_patches.h">\r
+ <Filter>Header Files\cds\compiler\gcc</Filter>\r
+ </ClInclude>\r
<ClInclude Include="..\..\..\cds\details\bounded_container.h">\r
<Filter>Header Files\cds\details</Filter>\r
</ClInclude>\r