We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2585 - 2.03 not compiling under mingw32
Summary: 2.03 not compiling under mingw32
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: 2.0.3
Hardware: x86 Windows (XP)
: P2 major
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-15 08:55 UTC by mattreecebentley
Modified: 2014-06-15 20:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mattreecebentley 2014-06-15 08:55:03 UTC
Compiling program under 2.03 (vs 2.02) under mingw32 (codelite, XP sp3) results in the following error:

e:/programming/SDL/include/SDL2/SDL_platform.h:122:28: error: missing binary operator before token "("
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
^
e:/programming/SDL/include/SDL2/SDL_platform.h:126:30: error: missing binary operator before token "("
#elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)

Care was taken to clean the project & workspace (both automatically and manually) before the new compilation.
Comment 1 Sam Lantinga 2014-06-15 20:20:29 UTC
This is fixed in the current Mercurial snapshot, and will be in the 2.0.4 release:
http://www.libsdl.org/tmp/SDL-2.0.zip