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

A bunch of fixes for MinGW 5.3 #396

Merged
merged 5 commits into from
Jan 15, 2017
Merged

Conversation

vadz
Copy link
Contributor

@vadz vadz commented Jan 13, 2017

No description provided.

This will allow reusing it from other places.
Set WINVER/_WIN32_WINNT ourselves before letting MinGW to set them to very low
values corresponding to Windows 2000 on its own and preventing our code from
seeing any later additions to the Windows API, such as AttachConsole()
function used in src/msw/app.cpp.

Closes wxWidgets#17677.
Due to a bug in MinGW (see https://sourceforge.net/p/mingw/bugs/2322/),
_stricmp() and _strnicmp() declarations are not visible when compiling without
optimizations. Work around this by declaring them ourselves.

See wxWidgets#17762.
Provide our own wcsnlen() declaration as the function is detected by configure
but is not declared in MinGW headers.

Closes wxWidgets#17762.
@vadz vadz merged commit 6c82730 into wxWidgets:master Jan 15, 2017
@vadz vadz deleted the mingw32-5.3-fixes branch January 15, 2017 16:00
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

Successfully merging this pull request may close these issues.

None yet

2 participants