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

Compile error on borland c++ builder 6 #195

Open
GithubAlanChao opened this issue Aug 23, 2021 · 2 comments
Open

Compile error on borland c++ builder 6 #195

GithubAlanChao opened this issue Aug 23, 2021 · 2 comments

Comments

@GithubAlanChao
Copy link

[C++ Error] Util.h(89): E2268 Call to undefined function 'localtime_s'
[C++ Error] Util.h(102): E2268 Call to undefined function 'gmtime_s'
[C++ Error] Util.h(160): E2268 Call to undefined function '_vscprintf'
[C++ Error] Util.h(177): E2268 Call to undefined function '_vsnprintf_s'
[C++ Error] Util.h(191): E2268 Call to undefined function '_vscwprintf'
[C++ Error] Util.h(208): E2268 Call to undefined function '_vsnwprintf_s'
[C++ Error] Record.h(41): E2285 Could not find a match for '_STL::operator << <_CharT,_Traits>(wostringstream,const wchar_t *)'
[C++ Error] Record.h(83): E2109 Not an allowed type
[C++ Error] Record.h(83): E2453 Size of the type 'T' is unknown or zero

@GithubAlanChao
Copy link
Author

localtime_s、gmtime_s is C11 function, borland c++ builder 6 not support

@SergiusTheBest
Copy link
Owner

Hi @GithubAlanChao!

Why do you use borland c++ builder 6? It's a very old compiler.

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