Add C++23 to the workflow. (#1713)

This commit is contained in:
Andreas Süßenbach 2023-11-02 08:54:14 +01:00 committed by GitHub
parent 26664a38a4
commit 2e5e845bb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 10 additions and 6 deletions

View File

@ -15,7 +15,7 @@ jobs:
compiler:
- {cxx: "g++-11", c: "clang"}
- {cxx: "clang++", c: "clang"}
cxx_standard: [11, 14, 17, 20]
cxx_standard: [11, 14, 17, 20, 23]
steps:
- uses: actions/checkout@v4

View File

@ -18,7 +18,7 @@ jobs:
- {cxx: "g++-11", c: "gcc-11"}
- {cxx: "clang++-13", c: "clang-13"}
- {cxx: "clang++-14", c: "clang-14"}
cxx_standard: [11, 14, 17, 20]
cxx_standard: [11, 14, 17, 20, 23]
steps:
- uses: actions/checkout@v4

View File

@ -14,7 +14,7 @@ jobs:
os: [windows-latest, windows-2019]
architecture: [x86, x64]
build_type: [Debug, Release]
cxx_standard: [11, 14, 17, 20]
cxx_standard: [11, 14, 17, 20, 23]
steps:
- uses: actions/checkout@v4
with:

View File

@ -4,7 +4,9 @@
# define VULKAN_HPP_CPLUSPLUS __cplusplus
#endif
#if 201703L < VULKAN_HPP_CPLUSPLUS
#if 202002L < VULKAN_HPP_CPLUSPLUS
# define VULKAN_HPP_CPP_VERSION 23
#elif 201703L < VULKAN_HPP_CPLUSPLUS
# define VULKAN_HPP_CPP_VERSION 20
#elif 201402L < VULKAN_HPP_CPLUSPLUS
# define VULKAN_HPP_CPP_VERSION 17

View File

@ -14,7 +14,9 @@
# define VULKAN_HPP_CPLUSPLUS __cplusplus
#endif
#if 201703L < VULKAN_HPP_CPLUSPLUS
#if 202002L < VULKAN_HPP_CPLUSPLUS
# define VULKAN_HPP_CPP_VERSION 23
#elif 201703L < VULKAN_HPP_CPLUSPLUS
# define VULKAN_HPP_CPP_VERSION 20
#elif 201402L < VULKAN_HPP_CPLUSPLUS
# define VULKAN_HPP_CPP_VERSION 17