Open kraj opened 2 years ago
As a workaround using
+++ b/cmake/SociConfig.cmake
@@ -94,6 +94,7 @@ else()
set(SOCI_CXX11 ON)
set(SOCI_CXX_VERSION_FLAGS "-std=c++11")
add_definitions(-DCATCH_CONFIG_CPP11_NO_IS_ENUM)
+ add_definitions(-DCATCH_CONFIG_CPP11_NO_SHUFFLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${SOCI_GCC_CLANG_COMMON_FLAGS} ${SOCI_CXX_VERSION_FLAGS}")
Thanks for the report and the workaround.
The real solution is to upgrade to a non-ancient version of CATCH which has probably fixed this already, but this won't happen in 4.0.x, so we should probably just apply this there, unless anybody sees a better solution.
I am seeing following error
it works ok when I use
-std=gnu++98