Click to See Complete Forum and Search --> : how to turn off /RTC1 compiler switch


bdiamond
April 6th, 2004, 04:26 PM
I keep getting an error for a debug build saying that the switches /RTC1 and /clr are incompatible. I can compile the release version, but I can't seem to compile the debug version because of this error. The /RTC1 switch doesn't show up in the property page's command-line page, but it shows up in the command-line options for the compiler when I build it, as show in in the build log. Any suggestions?

Yves M
April 6th, 2004, 10:10 PM
Check under Project > Properties > Configuration Properties > C/C++ > Code Generation. You will see an option called "Basic Runtime Checks" and just set it to default or delete the option.

bdiamond
April 7th, 2004, 12:27 PM
I did that and it doesn't seem to work. It works in the release build, but not in debug.