lua-users home
lua-l archive

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


Was it ever discussed how to handle the msvc8 feature of secure functions?

There are several warnings like this one:

lobject.c(184) : warning C4996: 'strncpy' was declared deprecated
C:\Programme\Microsoft Visual Studio 8\VC\INCLUDE\string.h(156) : see declaration of 'strncpy'
Message: 'This function or variable may be unsafe.
Consider using strncpy_s instead.
To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'


The warning could be disabled with /wd4996

Peter