Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation failure with mingw-w64 : ssize_t redefined #1118

Open
vtorri opened this issue Jun 17, 2018 · 1 comment
Open

compilation failure with mingw-w64 : ssize_t redefined #1118

vtorri opened this issue Jun 17, 2018 · 1 comment

Comments

@vtorri
Copy link
Contributor

vtorri commented Jun 17, 2018

when compiling with mingw-w64 :

E:/Documents/MSYS2/home/vtorri/gitroot/ewpi/packages/openjpeg/openjpeg-2.3.0/src/lib/openjpip/sock_manager.c:33:17: error: conflicting types for 'ssize_t'
typedef SSIZE_T ssize_t;
^
In file included from e:\documents\msys2\opt\windows_32\i686-w64-mingw32\include\windows.h:9:0,
from E:/Documents/MSYS2/home/vtorri/gitroot/ewpi/packages/openjpeg/openjpeg-2.3.0/src/lib/openjpip/sock_manager.c:32:
e:\documents\msys2\opt\windows_32\i686-w64-mingw32\include_mingw.h:389:13: note: previous declaration of 'ssize_t' was here
typedef int ssize_t;
^

@stweil
Copy link
Contributor

stweil commented Jun 18, 2018

Pull request #1119 should fix that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants