Fix defines in workflow files to enable compilation of tests and samples in CI. (#1595)

This commit is contained in:
Andreas Süßenbach
2023-06-20 14:43:35 +02:00
committed by GitHub
parent 9f89f760a6
commit 397ffad84a
11 changed files with 105 additions and 110 deletions

View File

@@ -31,7 +31,7 @@
int main( int /*argc*/, char ** /*argv*/ )
{
#if ( 201907 <= __cpp_constexpr ) && ( !defined( __GNUC__ ) || ( 110300 < GCC_VERSION ) )
#if ( 201907 <= __cpp_constexpr ) && ( !defined( __GNUC__ ) || ( 110400 < GCC_VERSION ) )
static_assert( vk::isInstanceExtension( VK_KHR_SURFACE_EXTENSION_NAME ), "static_assert test failed" );
static_assert( vk::isDeviceExtension( VK_KHR_SWAPCHAIN_EXTENSION_NAME ), "static assert test failed" );
static_assert( vk::isDeprecatedExtension( VK_EXT_DEBUG_REPORT_EXTENSION_NAME ), "static assert test failed" );