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

visual Studio 2013 C4996 error #383

Closed
taewoo0282 opened this issue Oct 24, 2014 · 2 comments
Closed

visual Studio 2013 C4996 error #383

taewoo0282 opened this issue Oct 24, 2014 · 2 comments

Comments

@taewoo0282
Copy link

basic.hpp file is

std::tm* lt = std::localtime(&t); 123 line c4996 error

error msg is

error C4996: 'localtime': This function or variable may be unsafe. Consider using localtime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:\websocketpp-master\websocketpp\logger\basic.hpp 123 1

@zaphoyd
Copy link
Owner

zaphoyd commented Nov 3, 2014

I've committed a patch to the develop branch that should fix this

@zaphoyd
Copy link
Owner

zaphoyd commented Nov 4, 2014

This patch is included in the recent 0.4.0 release.

@zaphoyd zaphoyd closed this as completed Nov 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants