Click here to Skip to main content
16,018,818 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
I had created CPP project in VS2008.
When I build this code before adding unmanaged code, it builds successfully.
But when I add some unmanaged CPP files to same project it gives error like
"clr option required".
So when I set the option on Properties->Genral->Common Language Runtime Support to "\clr" it gives the error as follows
cl : Command line error D8016 : '/clr' and '/EHs' command-line options are incompatible

Does anybody help me to solve this error.
Thanks in advance.

Regards,
RJ
Posted

1 solution

You already asked this question and received answers:
How to solve error D8016 : /clr and &/EHs command-line options are incompatible.[^]

Do not post the same question. If you want more advices, then update your previous question.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900