Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error d2016 Switching to /Clr

Status
Not open for further replies.

BRCKCC

Programmer
Jul 8, 2003
5
0
0
US
Visual Developer Studio 2003
I have an existing C++ project which I have just set the /clr switch. I get the error when I attempt to compile my projects:
cl: Command line error d2016: '/RTC1' and '/clr' command-line options are incompatible.

I have changed the Basic Runtime Checks to default.

I have checked the Command Line from the C/C++ tab and it doesn't show any /RTCx options but I still get the error.

Any ideas?
 
You will find that setting on the Project Settings // C/C++ // Code Generations // Basic Runtime Checks

as one of the options available for that setting.

-pete
 
I've tried that and it still gives me the same error.
 
I did find another post in another board that says I have to clear this switch on each file in the project.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top