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: compiler:
- {cxx: "g++-11", c: "clang"} - {cxx: "g++-11", c: "clang"}
- {cxx: "clang++", c: "clang"} - {cxx: "clang++", c: "clang"}
cxx_standard: [11, 14, 17, 20] cxx_standard: [11, 14, 17, 20, 23]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

View File

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

View File

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

View File

@ -4,7 +4,9 @@
# define VULKAN_HPP_CPLUSPLUS __cplusplus # define VULKAN_HPP_CPLUSPLUS __cplusplus
#endif #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 # define VULKAN_HPP_CPP_VERSION 20
#elif 201402L < VULKAN_HPP_CPLUSPLUS #elif 201402L < VULKAN_HPP_CPLUSPLUS
# define VULKAN_HPP_CPP_VERSION 17 # define VULKAN_HPP_CPP_VERSION 17

View File

@ -15973,7 +15973,7 @@ namespace VULKAN_HPP_NAMESPACE
# elif defined( __APPLE__ ) # elif defined( __APPLE__ )
m_library = dlopen( "libvulkan.dylib", RTLD_NOW | RTLD_LOCAL ); m_library = dlopen( "libvulkan.dylib", RTLD_NOW | RTLD_LOCAL );
# elif defined( _WIN32 ) # elif defined( _WIN32 )
m_library = ::LoadLibraryA( "vulkan-1.dll" ); m_library = ::LoadLibraryA( "vulkan-1.dll" );
# else # else
# error unsupported platform # error unsupported platform
# endif # endif

View File

@ -14,7 +14,9 @@
# define VULKAN_HPP_CPLUSPLUS __cplusplus # define VULKAN_HPP_CPLUSPLUS __cplusplus
#endif #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 # define VULKAN_HPP_CPP_VERSION 20
#elif 201402L < VULKAN_HPP_CPLUSPLUS #elif 201402L < VULKAN_HPP_CPLUSPLUS
# define VULKAN_HPP_CPP_VERSION 17 # define VULKAN_HPP_CPP_VERSION 17