Skip to content

Fix compile error in MSVC 19.29#15133

Merged
madebr merged 1 commit into
libsdl-org:mainfrom
madebr:msvc2019-testvulkan-warning
Feb 28, 2026
Merged

Fix compile error in MSVC 19.29#15133
madebr merged 1 commit into
libsdl-org:mainfrom
madebr:msvc2019-testvulkan-warning

Conversation

@madebr

@madebr madebr commented Feb 28, 2026

Copy link
Copy Markdown
Contributor

This fixes a warning emitted by MSVC, due to a compiler bug.

MSVC 2019 compiler wrongly emits the following warning:

test\testvulkan.c(271): error C2220: the following warning is treated as an error
test\testvulkan.c(271): warning C4090: 'function': different 'const' qualifiers
test\testvulkan.c(286): warning C4090: 'function': different 'const' qualifiers

Description

Existing Issue(s)

This Visual Studio 2019 compiler wrongly emits a warning.

test\testvulkan.c(271): error C2220: the following warning is treated as an error
test\testvulkan.c(271): warning C4090: 'function': different 'const' qualifiers
test\testvulkan.c(286): warning C4090: 'function': different 'const' qualifiers
@madebr
madebr merged commit 48ed4fa into libsdl-org:main Feb 28, 2026
45 checks passed
@madebr
madebr deleted the msvc2019-testvulkan-warning branch February 28, 2026 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants