J
J
jukun2016-05-04 06:52:57
C++ / C#
jukun, 2016-05-04 06:52:57

When /EHsc is enabled, the compiled module is not included?

In general, the essence of the issue is this. I am writing a DLL module for a specific program, inside the module I use standard libraries, which in turn use the throw catch exception model, but when I include it (/EHsc) the module is compiled, but the module is not defined as a module in the target program. How to fix this matter?
Error message
Warning 2 warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (code.cpp) c:\program files (x86)\microsoft visual studio 12.0\vc\include\xlocale 337 1

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question