libfort icon indicating copy to clipboard operation
libfort copied to clipboard

swprintf was not declared in the scope windows 7

Open electrodragon opened this issue 5 years ago • 2 comments

image

On My Linux, it compiled successfully !, Any Fix Sir?

electrodragon avatar Feb 01 '20 04:02 electrodragon

Can't say what's the problem at the moment. As a temporary workaround in case you are not going to work with wchar_t (most of users don't use this functionality) you can simply disable wchar_t support. To do that you can set macros FT_CONGIG_DISABLE_WCHAR while compiling or just comment these 3 lines https://github.com/seleznevae/libfort/blob/0430da4163bc6262a23a217ae1147fad6e827376/lib/fort.h#L64-L67 in fort.h file (you will disable support for wchar_t in libfort).

seleznevae avatar Feb 01 '20 12:02 seleznevae

Thanks, But Visual Studio Made my day ! Just Created Release File with Visual Studio 2019, it compiled it, Running Fine.

electrodragon avatar Feb 01 '20 13:02 electrodragon