failure with latest mingw

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

failure with latest mingw

Roger Pack
As a note, with mingw-w64 git I get this:

CC     build/SDL_xinput.lo
In file included from src/core/windows/SDL_xinput.c:24:0:
src/core/windows/SDL_xinput.h:113:3: error: conflicting types for
‘XINPUT_GAMEPAD_EX’
} XINPUT_GAMEPAD_EX;
^
In file included from src/core/windows/SDL_xinput.h:29:0,
from src/core/windows/SDL_xinput.c:24:
/home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/include/xinput.h:182:3:
note: previous declaration of ‘XINPUT_GAMEPAD_EX’ was here
} XINPUT_GAMEPAD_EX, *PXINPUT_GAMEPAD_EX;
^
In file included from src/core/windows/SDL_xinput.c:24:0:
src/core/windows/SDL_xinput.h:119:3: error: conflicting types for
‘XINPUT_STATE_EX’
} XINPUT_STATE_EX;
^
In file included from src/core/windows/SDL_xinput.h:29:0,
from src/core/windows/SDL_xinput.c:24:
/home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/include/xinput.h:192:3:
note: previous declaration of ‘XINPUT_STATE_EX’ was here
} XINPUT_STATE_EX, *PXINPUT_STATE_EX;
^
Makefile:547: recipe for target ‘build/SDL_xinput.lo’ failed
make: *** [build/SDL_xinput.lo] Error 1

removing those definitions from src/core/windows/SDL_xinput.h worked
around it, FWIW...


-roger-
_______________________________________________
SDL mailing list
[hidden email]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Reply | Threaded
Open this post in threaded view
|

Re: failure with latest mingw

Roger Pack
On 2/1/17, Roger Pack <[hidden email]> wrote:

> As a note, with mingw-w64 git I get this:
>
> CC     build/SDL_xinput.lo
> In file included from src/core/windows/SDL_xinput.c:24:0:
> src/core/windows/SDL_xinput.h:113:3: error: conflicting types for
> ‘XINPUT_GAMEPAD_EX’
> } XINPUT_GAMEPAD_EX;
> ^
> In file included from src/core/windows/SDL_xinput.h:29:0,
> from src/core/windows/SDL_xinput.c:24:
> /home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/include/xinput.h:182:3:
> note: previous declaration of ‘XINPUT_GAMEPAD_EX’ was here
> } XINPUT_GAMEPAD_EX, *PXINPUT_GAMEPAD_EX;
> ^
> In file included from src/core/windows/SDL_xinput.c:24:0:
> src/core/windows/SDL_xinput.h:119:3: error: conflicting types for
> ‘XINPUT_STATE_EX’
> } XINPUT_STATE_EX;
> ^
> In file included from src/core/windows/SDL_xinput.h:29:0,
> from src/core/windows/SDL_xinput.c:24:
> /home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/include/xinput.h:192:3:
> note: previous declaration of ‘XINPUT_STATE_EX’ was here
> } XINPUT_STATE_EX, *PXINPUT_STATE_EX;
> ^
> Makefile:547: recipe for target ‘build/SDL_xinput.lo’ failed
> make: *** [build/SDL_xinput.lo] Error 1
>
> removing those definitions from src/core/windows/SDL_xinput.h worked
> around it, FWIW...

Oddly, the failure doesn't seem to occur with mingw-w64 + gcc 6.3.0
but it did occur with mingw-w64 + gcc 4.9.3
FWIW.
_______________________________________________
SDL mailing list
[hidden email]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org