'/clr' and '/std:c++latest' command-line options are incompatible

  • Thread starter Thread starter BorisM
  • Start date Start date
B

BorisM

Guest
I try to compile C++\CLI project on Visual Studio 2019 (16.1.1).

Compile is fine with /std:c++17 and if I set /permissive, adding /Zc:twoPhase- on command line also allows build.

With /std:c++latest, even without setting /permissive-, there is:

Command line error D8016 : '/clr' and '/std:c++latest' command-line options are incompatible.

Any way to resolve this?


Thanks!

Continue reading...
 
Back
Top