-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken build on linux with gcc 13.2.0 #613
Comments
I fixed this by bumping the C++ standard to 20 in the CMake files for the main project and CODA-OSS. From 4fc9f4a9079901236354ee995ee71c7137672a42 Mon Sep 17 00:00:00 2001
From: pgsocks <[email protected]>
Date: Thu, 3 Oct 2024 18:12:58 -0500
Subject: [PATCH 2/2] Increase C++ standard to 20
---
CMakeLists.txt | 2 +-
externals/coda-oss/CMakeLists.txt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6bd74b73..3df312f6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.14)
project(nitro)
-set(CMAKE_CXX_STANDARD 14)
+set(CMAKE_CXX_STANDARD 20)
set(CXX_STANDARD_REQUIRED true)
if (${CMAKE_PROJECT_NAME} STREQUAL nitro)
diff --git a/externals/coda-oss/CMakeLists.txt b/externals/coda-oss/CMakeLists.txt
index f512d520..342b1c57 100644
--- a/externals/coda-oss/CMakeLists.txt
+++ b/externals/coda-oss/CMakeLists.txt
@@ -5,7 +5,7 @@
cmake_minimum_required(VERSION 3.14)
project(coda-oss)
-set(CMAKE_CXX_STANDARD 14)
+set(CMAKE_CXX_STANDARD 20)
set(CXX_STANDARD_REQUIRED true)
if (EXISTS "${CMAKE_BINARY_DIR}/conanbuildinfo.cmake")
--
2.45.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Doing a default build on a newly upgraded Kubuntu 24.04 machine, I'm hitting:
It looks like there is code in the header that tries to deal with this, but for some reason it doesn't work for me, and I'm not sure why.
Is there a useful cmake flag I could be providing here? Or anything else I can do to help debug / fix this?
The text was updated successfully, but these errors were encountered: