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

pkg-config/sdl-config -mwindows flag prevents applications to log on console #629

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
wontfix This will not be worked on


Copy link

This bug report was migrated from our old Bugzilla tracker.

Reported in version: 1.2.14
Reported for operating system, platform: Windows (All), All

Comments on the original bug report:

On 2011-06-24 02:45:25 +0000, wrote:

The generated pkg-config/sdl-config flags contain the -mwindows flag, which prevents applications compiled with that flag to print on stderr/stdout.

Removing the flag allows them to log on console.

This happens for example when compiling FFmpeg in MinGW.

I suggest to remove the -mwindows from the generated flags, applications may choose to add them when it makes sense, that should be easier that filter-out the flag. Removing the flag doesn't seem to have collateral effects, at least for FFmpeg (and I really don't know the reason why that flag was added in the first place).

Let me know if you need more information.

@SDLBugzilla SDLBugzilla added bug wontfix This will not be worked on labels Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
wontfix This will not be worked on
None yet

No branches or pull requests

1 participant