Click here to Skip to main content
15,881,877 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

When i am porting code from VS 2003 to VS 2012 i am getting the error

D8016: '/ZI' and '/clr:oldsyntax' command-line options are incompatible.

please help me.

Thanks in advance

praveena
Posted
Comments
Sergey Alexandrovich Kryukov 8-Jan-15 2:11am    
Why, why '/clr:oldsyntax'?!
—SA

1 solution

Indeed, this is specified here: http://msdn.microsoft.com/en-us/library/958x11bc.aspx[^].

Apparently, use one or another. It's not clear why would you use old syntax. This is to enabled old dreaded no-good Managed Extension. This is, essentially, about the version of C++ which was never a standard, some temporary attempt of Microsoft prior to introduction if ECMA-standardized C++/CLI. No wonder "Managed Extension" version has been deprecated. Use C++/CLI syntax. Please see:
http://en.wikipedia.org/wiki/C%2B%2B/CLI[^],
http://www.ecma-international.org/publications/standards/Ecma-372.htm[^],
http://en.wikipedia.org/wiki/Managed_Extensions_for_C%2B%2B[^].

—SA
 
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