Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0011134 [DCSS] Bug Report minor always 2017-07-05 02:55 2017-10-25 00:01
Reporter Semladag View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Branch longterm development (0.31+)
Summary 0011134: failure to compile, apparently due to XINPUT.
Description https://pastebin.com/un82Ld2M [^] shows the error.

Amethyst on ##crawl-dev suggested commenting out the definitions for XINPUT_GAMEPAD_EX and XINPUT_STATE_EX in contrib/sdl2/src/joystick/windows/SDL_dxjoystick_c.h

compiled and runs normally after that.


gcc version 7.1.0 (Rev2, Built by MSYS2 project)
msys2-x86_64-20161025 (name of the file I used to install msys2)
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0031711)
advil (administrator)
2017-07-05 12:43

I think this is mingw-specific. The SDL bug report is here: https://bugzilla.libsdl.org/show_bug.cgi?id=3609 [^]
(0031903)
Implojin (reporter)
2017-10-25 00:01
edited on: 2017-10-25 00:14

This bug affects mingw-w64, preventing MSYS2 local tiles compilation with i686 and x86_64 toolchains.

The mingw-w64 commit that brought the problem was here:
https://sourceforge.net/p/mingw-w64/mingw-w64/ci/c628bd49a2c8cdee2250430c8d7b7cd95f1fe90a [^]
as a result of their pulling an updated xinput.h :
https://github.com/wine-mirror/wine/commit/0fe758046ddc0f37944b8a3e075b8a5fdc5d81a4#diff-2bd94ee2f73a16f93bda7805ff84f1e3 [^]

There is an apparent fix for this posted in the SDL2 bug report, which Sam Latinga pushed into SDL2 here:
https://hg.libsdl.org/SDL/rev/c936a84f05ba [^]

and the mingw-w64 bug report has gone nowhere in the last 7 months:
https://github.com/Alexpux/MINGW-packages/issues/2300 [^]

(I think your upstreams consider this problem solved; taking the SDL2 fix would probably be a good idea here.)


- Issue History
Date Modified Username Field Change
2017-07-05 02:55 Semladag New Issue
2017-07-05 12:43 advil Note Added: 0031711
2017-10-25 00:01 Implojin Note Added: 0031903
2017-10-25 00:14 Implojin Note Edited: 0031903
2017-10-25 00:14 Implojin Note Edited: 0031903


Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker