We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1237 - pkg-config/sdl-config -mwindows flag prevents applications to log on console
Summary: pkg-config/sdl-config -mwindows flag prevents applications to log on console
Status: RESOLVED WONTFIX
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: 1.2.14
Hardware: All Windows (All)
: P2 major
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-24 02:45 UTC by stefasab
Modified: 2011-12-29 01:42 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stefasab 2011-06-24 02:45:25 UTC
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.