I am trying to port C++/CLI code into Verifiable Type-Safe C++/CLI code (Use clr:safe flag) so I can get a AnyCPU assembly.
The main compilation problem I find is that, I get a lot of C4956 errors and I think, that might be solved by explicitly tell the compiler I expect this to be unsafe.
Suggestions?
I am trying to port C++/CLI code into Verifiable Type-Safe C++/CLI code (Use clr:safe
Share
This has been covered here
Basically, this is what
/clr:purewas supposed to provide, because it also generates a pure MSIL assembly. Unfortunately it still causes a dependency on a particular bitness, so isn’t compatible withAnyCPU.