Hello,
I'm using VS2005 Pro on WinXP. I'd like to disable C language extensions,
such as allowing dollar signs in identifiers and allowing C++ style comments.
When I set the /Za switch in the IDE project properties it rejects these
extensions, as desired. However, when I use the command line compiler it
ignores /Za. Here's a sample command line (whose arguments/switches I copied
directly from the IDE, minus the debug file stuff):
cl /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_VC80_UPGRADE=0x0710" /D
"_MBCS" /Gm /EHsc /RTC1 /MTd /Za /W4 /nologo /c /Wp64 /ZI /TP
/errorReport:prompt MyProgram.c
Thanks,
Ray Mitchell