Re: MS's secure CRT in Lua 5.2?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: MS's secure CRT in Lua 5.2?
- From: Diman Todorov <diman@...>
- Date: 2006年7月19日 23:15:12 +0200
_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES and the
equivalent for _COUNT don't work for dynamically allocated buffers.
Or did you mean some other sort of #defines?
from http://msdn2.microsoft.com/en-us/library/8ef0s5kh.aspx
<snip>
Eliminating deprecation warnings
There are several ways to eliminate deprecation warnings for the
older, less secure functions. The simplest is simply to define
_CRT_SECURE_NO_DEPRECATE or use the warning pragma. Either will
disable deprecation warnings, but of course the security issues that
caused the warnings still exist. It is far better to leave
deprecation warnings enabled and take advantage of the new CRT
security features.
</snip>
that's what I tend to do :)
cheers
Diman Todorov