EDN Admin
Well-known member
I am trying to convert a native c++ application into c++/cli. Now I get this error. The solution seems simple: just change the command-line options.
The strange thing, however, is that this option (Enable C++ exceptions) is not set to /EHs, but to /EHa. I have tried every option (even /EHs) but I keep getting this error.
Even stranger, in another build configuration (Release build), I have the same combination of command-line options (/clr and /EHa), and this compiles just fine.
I tried rebuilding the project and closing and opening Visual Studio, but that doesnt help either.
Any help is appreciated.
View the full article
The strange thing, however, is that this option (Enable C++ exceptions) is not set to /EHs, but to /EHa. I have tried every option (even /EHs) but I keep getting this error.
Even stranger, in another build configuration (Release build), I have the same combination of command-line options (/clr and /EHa), and this compiles just fine.
I tried rebuilding the project and closing and opening Visual Studio, but that doesnt help either.
Any help is appreciated.
View the full article