Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swprintf was not declared in the scope windows 7 #36

Open
electrodragon opened this issue Feb 1, 2020 · 2 comments
Open

swprintf was not declared in the scope windows 7 #36

electrodragon opened this issue Feb 1, 2020 · 2 comments

Comments

@electrodragon
Copy link

image

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

@seleznevae
Copy link
Owner

seleznevae commented Feb 1, 2020

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

libfort/lib/fort.h

Lines 64 to 67 in 0430da4

#if !defined(FT_CONGIG_DISABLE_WCHAR)
#define FT_HAVE_WCHAR
#endif
in fort.h file (you will disable support for wchar_t in libfort).

@electrodragon
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants