| Summary: | error: 'SDL_Joystick {aka struct _SDL_Joystick}' has no member named 'player_index' | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Konrad <iryont> |
| Component: | joystick | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | blocker | ||
| Priority: | P2 | CC: | sezeroz |
| Version: | HG 2.1 | ||
| Hardware: | x86_64 | ||
| OS: | Windows (All) | ||
This should be fixed by https://hg.libsdl.org/SDL/rev/5ee53104caed |
Recent commits from Sam caused critical bug on Windows: [ 29%] Building C object CMakeFiles/SDL2-static.dir/src/joystick/windows/SDL_xinputjoystick.c.obj C:\Users\Konrad\Desktop\SDL2\src\joystick\windows\SDL_xinputjoystick.c: In function 'SDL_XINPUT_JoystickOpen': C:\Users\Konrad\Desktop\SDL2\src\joystick\windows\SDL_xinputjoystick.c:347:13: error: 'SDL_Joystick {aka struct _SDL_Joystick}' has no member named 'player_index' joystick->player_index = userId; ^~ make[2]: *** [CMakeFiles/SDL2-static.dir/src/joystick/windows/SDL_xinputjoystick.c.obj] Error 1 make[1]: *** [CMakeFiles/SDL2-static.dir/all] Error 2 make: *** [all] Error 2