# HG changeset patch # User Markus Mützel # Date 1705597362 -3600 # Node ID 7c33fb8098d82f52dcfcab798d972855facc05d2 # Parent c90430629c4dca15ae90ea23263c0fdb28fe4d4d GitHub-CI (macos): Set C++ standard for all configurations. * .github/workflows/make.yaml (macos): Apple Clang 14 on the macOS runners defaults to C++98. Use C++11 on all runners. diff -r c90430629c4d -r 7c33fb8098d8 .github/workflows/make.yaml --- a/.github/workflows/make.yaml Thu Jan 18 17:41:07 2024 +0100 +++ b/.github/workflows/make.yaml Thu Jan 18 18:02:42 2024 +0100 @@ -612,7 +612,7 @@ - name: test stand-alone executable run: | cd examples/code - PATH="/Users/runner/usr/bin:$PATH" CXX="${CXX} ${{ matrix.cxx-compiler-flags }}" \ + PATH="/Users/runner/usr/bin:$PATH" CXX="${CXX} -std=gnu++11" \ mkoctfile --link-stand-alone embedded.cc -o embedded ./embedded