diff --git a/.github/workflows/check-build.yml b/.github/workflows/check-build.yml index 9f4f278138..5b9e82393f 100644 --- a/.github/workflows/check-build.yml +++ b/.github/workflows/check-build.yml @@ -15,7 +15,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 @@ -23,7 +23,7 @@ jobs: fetch-depth: 1 - name: Compile binary programs - run: make pgms + run: make CXX=g++-14 pgms - name: Check for carriage returns run: | diff --git a/.github/workflows/check-pr.yml b/.github/workflows/check-pr.yml index 9e11dcbca1..d6bfc601f4 100644 --- a/.github/workflows/check-pr.yml +++ b/.github/workflows/check-pr.yml @@ -13,7 +13,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 @@ -21,7 +21,7 @@ jobs: fetch-depth: 1 - name: Compile binary programs - run: make pgms + run: make CXX=g++-14 pgms - name: Extract issue timestamps from published files run: | diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 270a7d452c..6401694f4f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,7 +9,7 @@ on: jobs: update-html-pages: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Use cached git repo @@ -51,7 +51,7 @@ jobs: run: make dates - name: Build programs - run: make pgms -j 4 + run: make CXX=g++-14 pgms -j 4 - name: Generate HTML lists run: make lists diff --git a/Makefile b/Makefile index 77e5bbf2fd..ff9210079c 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # The binaries that we want to build PGMS := bin/lists bin/section_data bin/toc_diff bin/list_issues bin/set_status -CXXFLAGS := -std=c++17 -Wall -g -O2 -D_GLIBCXX_ASSERTIONS +CXXFLAGS := -std=c++20 -Wall -g -O2 -D_GLIBCXX_ASSERTIONS CPPFLAGS := -MMD # Running 'make debug' is equivalent to 'make DEBUG=1' @@ -35,13 +35,13 @@ pgms: $(PGMS) -include src/*.d -bin/lists: src/date.o src/issues.o src/status.o src/sections.o src/mailing_info.o src/report_generator.o src/lists.o src/metadata.o +bin/lists: src/issues.o src/status.o src/sections.o src/mailing_info.o src/report_generator.o src/lists.o src/metadata.o bin/section_data: src/section_data.o bin/toc_diff: src/toc_diff.o -bin/list_issues: src/date.o src/issues.o src/status.o src/sections.o src/list_issues.o src/metadata.o +bin/list_issues: src/issues.o src/status.o src/sections.o src/list_issues.o src/metadata.o bin/set_status: src/set_status.o src/status.o diff --git a/bin/build_pgms.bat b/bin/build_pgms.bat index 54fa375b30..0c09376f44 100644 --- a/bin/build_pgms.bat +++ b/bin/build_pgms.bat @@ -1,7 +1,7 @@ echo "Use -m32 switch to force 32-bit build" -g++ %* -std=c++17 -DNDEBUG -O2 -o bin/lists.exe src/date.cpp src/issues.cpp src/status.cpp src/sections.cpp src/mailing_info.cpp src/report_generator.cpp src/metadata.cpp src/lists.cpp -g++ %* -std=c++17 -o bin/section_data.exe src/section_data.cpp -g++ %* -std=c++17 -o bin/toc_diff.exe src/toc_diff.cpp -g++ %* -std=c++17 -DNDEBUG -O2 -o bin/list_issues.exe src/date.cpp src/issues.cpp src/status.cpp src/sections.cpp src/metadata.cpp src/list_issues.cpp -g++ %* -std=c++17 -DNDEBUG -O2 -o bin/set_status.exe src/set_status.cpp src/status.cpp +g++ %* -std=c++20 -DNDEBUG -O2 -o bin/lists.exe src/issues.cpp src/status.cpp src/sections.cpp src/mailing_info.cpp src/report_generator.cpp src/metadata.cpp src/lists.cpp +g++ %* -std=c++20 -o bin/section_data.exe src/section_data.cpp +g++ %* -std=c++20 -o bin/toc_diff.exe src/toc_diff.cpp +g++ %* -std=c++20 -DNDEBUG -O2 -o bin/list_issues.exe src/issues.cpp src/status.cpp src/sections.cpp src/metadata.cpp src/list_issues.cpp +g++ %* -std=c++20 -DNDEBUG -O2 -o bin/set_status.exe src/set_status.cpp src/status.cpp diff --git a/how-to-docs.html b/how-to-docs.html index 4f280e75db..d1f4807a71 100644 --- a/how-to-docs.html +++ b/how-to-docs.html @@ -25,7 +25,7 @@

How To Instructions

Prerequisites