On 3/5/07, Kevin Tew <[EMAIL PROTECTED]> wrote:
Defining _CRT_SECURE_NO_DEPRECATE on the compiler command line is probably the right solution here. Kevin
i disagree. the reason C<strdup>, C<strnicmp> and C<stricmp> were deprecated is because they're non-ansi. therefore, microsoft renamed it to C<_strdup>. since we've pledged ansi (aka c89) c compliance, we should be following a similar path. instead of disabling the *valid* compiler warning, i suggest that either we modify our coding standard to allow C<strdup>, or we rename all usage to C<_strdup> and #define as appropriate for each compiler. ~jerry