Link Errors

Martin Sebor msebor@gmail.com
Fri Jul 31 15:32:00 GMT 2015


>> /tmp/ccJEa2nO.o:dlfcn.c:(.text+0x2fb): undefined reference to `sprintf_s'
>> and WinMain@16
>> collect2: error: ld returned 1 exit status
>
> sprintf_s should be provided by the mingw runtime,

Google says it was added in January 2014:
   http://sourceforge.net/p/mingw-w64/code/6469

Martin



More information about the Gcc-help mailing list