Skip to content

Fix Win32 build error under GCC 15 (C23) - #731

Merged
timangus merged 2 commits into
ioquake:mainfrom
GirianSeed:fix-win32-build
Jul 17, 2025
Merged

Fix Win32 build error under GCC 15 (C23)#731
timangus merged 2 commits into
ioquake:mainfrom
GirianSeed:fix-win32-build

Conversation

@GirianSeed

@GirianSeed GirianSeed commented Jun 28, 2025

Copy link
Copy Markdown

FARPROC is defined with an empty parameter list, which newer versions of GCC consider equivalent to (void). Compilation fails when qSHGetFolderPath gets called with arguments.

Edit: Changed the PR title to reflect the severity of the issue.

FARPROC is defined with an empty parameter list, which newer versions of GCC consider equivalent to (void). Compilation fails when qSHGetFolderPath gets called with arguments.
@GirianSeed GirianSeed changed the title Fix qSHGetFolderPath function pointer type Fix Win32 build error under GCC 15 (C23) Jul 1, 2025
@timangus
timangus merged commit 465f72d into ioquake:main Jul 17, 2025
3 of 4 checks passed
@timangus

Copy link
Copy Markdown
Member

Thanks!

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