-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Run cmake \
cmake \
-B build \
-S . \
-DCMAKE_CXX_STANDARD=26 \
-DCMAKE_TOOLCHAIN_FILE="infra/cmake/gnu-toolchain.cmake" \
-DCMAKE_PROJECT_TOP_LEVEL_INCLUDES="./infra/cmake/use-fetch-content.cmake" \
shell: bash --noprofile --norc -e -o pipefail {0}
env:
CMAKE_GENERATOR: Ninja Multi-Config
-- The CXX compiler identification is GNU 13.4.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/sbin/g++ - skipped
-- Detecting CXX compile features
CMake Warning (dev) at /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:248 (cmake_language):
CMake's support for `import std;` in C++23 and newer is experimental. It
is meant only for experimentation and feedback to CMake developers.
Call Stack (most recent call first):
/usr/share/cmake/Modules/CMakeDetermineCompilerSupport.cmake:113 (cmake_create_cxx_import_std)
/usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:83 (CMAKE_DETERMINE_COMPILER_SUPPORT)
CMakeLists.txt:7 (project)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Detecting CXX compile features - done
-- CMAKE_CXX_COMPILER_IMPORT_STD=
-- CMAKE_CXX_SCAN_FOR_MODULES=OFF
-- The C compiler identification is GNU 13.4.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/sbin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Looking for __cpp_lib_ranges
CMake Error in /__w/exemplar/exemplar/build/CMakeFiles/CMakeScratch/TryCompile-ijMWEL/CMakeLists.txt:
Target "cmTC_693ad" requires the language dialect "CXX26" (with compiler
extensions). But the current compiler "GNU" does not support this, or
CMake does not know the flags to enable it.Metadata
Metadata
Assignees
Labels
No labels