Skip to content

Commit 9bcb863

Browse files
committed
Workaround: change c++ version from c++20 to c++2a in makefile
1 parent 3760376 commit 9bcb863

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/c-cpp.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- name: Install correct g++ version
16-
run: sudo apt install gcc-11 g++-11 && sudo update-alternatives --set g++ /usr/bin/g++-11
1715
- name: Install Conan
1816
id: conan
1917
uses: turtlebrowser/get-conan@main

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ INCL_PATH=$(abspath ./inc)
88
DOC_DIR=$(abspath ./docs/)
99

1010
CC=g++
11-
CXXARGS=-I$(abspath ./inc) -g -c -std=c++20 -MMD
11+
CXXARGS=-I$(abspath ./inc) -g -c -std=c++2a -MMD
1212
LDARGS=
1313

1414
all:

0 commit comments

Comments
 (0)