William A. Rowe, Jr. wrote:
why not s#/wd:4996#/D "_CRT_SECURE_NO_DEPRECATE"#
/wd with colon like (/wd:4966) gives: Command line error D8021 : invalid numeric argument '/wd:4996' cl when converted to VS2005. BTW according to the MSDN the proper format is /wdNNNN not /wd:NNNN Also the _CRT_SECURE_NO_DEPRECATE is not required. Regards, Mladen.