SDL/src/main
Sam Lantinga d870f2719b Fixed bug 3320 - SDL_windows_main.c defines both console application entry points
Simon Hug

The SDLmain file src/main/windows/SDL_windows_main.c defines both entry points for console applications, main and wmain. This seems to confuse MSVC. It outputs a LNK4067 warning and then chooses main, which is a shame because only wmain has the unicode handling. Using SDLmain.lib provided on libsdl.org, the linker also goes for main.

I'm proposing to not define the main entry point at all. wmain should be supported well enough with MSVC.
2016-10-01 12:31:31 -07:00
..
android Android: Fixed compile warning about a missing prototype (thanks, Sylvain!). 2016-07-17 21:42:53 +02:00
dummy Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
haiku Patched to compile on Haiku...? 2016-04-12 18:40:44 -04:00
nacl Updated copyright to 2016 2016-01-02 10:10:34 -08:00
psp Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
windows Fixed bug 3320 - SDL_windows_main.c defines both console application entry points 2016-10-01 12:31:31 -07:00
winrt WinRT: workaround a possible Windows bug, whereby hiding cursors, disables mouse-moved events 2016-05-14 23:29:49 -04:00