Hi Rodrigo,
I don't how much relevant the messages below are, so I'm having
these error messages with MSVS 2005
source\vm\cmdarg.c(229) : warning C4996: 'strncpy' was declared
deprecated
C:\Program Files\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.'
source\vm\cmdarg.c(353) : warning C4996: '_snprintf' was declared
deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include
\stdio.h(339) : see declaration of '_snprintf'
Message: 'This function or variable may be unsafe. Consider
using _snprintf_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
source\rtl\hbinet.c(432) : warning C4996: 'strerror' was declared
deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include
\string.h(125) : see declaration of 'strerror'
Message: 'This function or variable may be unsafe. Consider
using strerror_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
By setting the CFLAGS=/D_CRT_SECURE_NO_DEPRECATE.the messages above
they go away. Also I've these messages as well, probably nothing
that need to be worried about it:
cl : Command line warning D9035 : option 'Og' has been deprecated
and will be removed in a future release
cl : Command line warning D9035 : option 'GX-' has been deprecated
and will be removed in a future release
cl : Command line warning D9036 : use 'EHs-c-' instead of 'GX-'
cl : Command line warning D9002 : ignoring unknown option '-Op'
cl : Command line warning D9002 : ignoring unknown option '-G6'
cl : Command line warning D9002 : ignoring unknown option '-YX'
If you set envvar HB_VISUALC_VER to 80 (or higher),
all these messages will disappear.
Brgds,
Viktor
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour