| Summary: | Can't build on MinGW (non-x64) because of lack of REFIID | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Vitaly Novichkov <admin> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | blocker | ||
| Priority: | P2 | ||
| Version: | HG 2.1 | ||
| Hardware: | x86 | ||
| OS: | Windows 7 | ||
I believe this is fixed now, thanks! |
When I have been retreived latest revision (b2d018b8d9ba at February 14 2017), and tried to build it everywhere (Linux, OS X and Windows), it fails to be build under regular non-w64 MinGW: ======================================================================== In file included from src/SDL.c:24:0: src/core/windows/SDL_windows.h:67:28: error: unknown type name 'REFIID' extern BOOL WIN_IsEqualIID(REFIID a, REFIID b); ^ src/core/windows/SDL_windows.h:67:38: error: unknown type name 'REFIID' extern BOOL WIN_IsEqualIID(REFIID a, REFIID b); ^ make: *** [build/SDL.lo] Error 1 ======================================================================== Commenting of the 67's line fixes the build. Suggested to add macro to don't use this declaration on MinGW.org's MinGW.