Ftol

Hello, compiling into a static library (win32) instead of a .dll I get sometimes errors with MSVCRT at the link stage, due to a duplicate _ftol2_sse() function in SDL_stdlib.c. At first I thought was maybe needed for the Linux or OSX versions, but as far as I can see this function is not used anywhere else.

Should it be deleted from there or am I just having some sort of misconfiguration? Simply commenting it out solves the problem (for me, in my particular confguration, of course).

Thank you!

You should just be able to add #define HAVE_LIBC to the top of
SDL_config_windows.hOn Wed, Jul 16, 2014 at 10:07 AM, Manuel Montoto <g.manu at teleline.es> wrote:

Hello, compiling into a static library (win32) instead of a .dll I get
sometimes errors with MSVCRT at the link stage, due to a duplicate
_ftol2_sse() function in SDL_stdlib.c. At first I thought was maybe needed
for the Linux or OSX versions, but as far as I can see this function is not
used anywhere else.

Should it be deleted from there or am I just having some sort of
misconfiguration? Simply commenting it out solves the problem (for me, in
my particular confguration, of course).

Thank you!


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Hey Sam, sorry for my lack of time to reply; thanks for your reply, will proceed in that way :slight_smile: