3rdparty/abseil-cpp/absl/container/internal/compressed_tuple_test.cc:47:10: error: non-const lvalue reference to type 'CompressedTuple<...>' cannot bind to a temporary of type 'CompressedTuple<...> ' 47 | return t; | ^ ... Steps to reproduce the problem Build with DCMAKE_CXX_STA...
It is possible to concretize onnx@1.15.0 ^protobuf@3.28.2 ^abseil-cpp@20240722.0 cxxstd=17. This results in onnx compiling with the CMAKE_CXX_STANDARD 14, and failing due to the use of string_view ...
set(CMAKE_CXX_FLAGS "-std=c++11 -stdlib=libc++ ${CMAKE_CXX_FLAGS}") The implication here is that if I want to compile with c++17, all I need to do is replace-std=c++11with-std=c++17. This will successfully compile your binary w/ c++17 (source.cppin the example), but it will...
set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) project(opensycl-examples) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/../cmake) @@ -29,8 +35,6 @@ if(WIN32) add_definitions(-D_USE_MATH_DEFINES) endif() cmake_minimum_required (VERSION 3....