From 2fe9a1bbcb94b8e37588d0a847532da28f8cc9b1 Mon Sep 17 00:00:00 2001 From: James Brock Date: Mon, 19 Feb 2024 15:42:58 +0900 Subject: [PATCH] CI C++20 clang fix --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 61ceb58..cd4bfc8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,8 @@ jobs: - cxxflags: "-std=c++98" - cxxflags: "-std=c++11" - cxxflags: "-std=c++17" - - cxxflags: "-std=c++20" + # https://stackoverflow.com/questions/76859275/error-compiling-a-cpp-containing-stdchrono-errorstatic-constexpr-unsigned-fra + - cxxflags: "-std=c++20 -stdlib=libc++" steps: - name: Checkout uses: actions/checkout@v3