lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



_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