J
J
jukun2016-05-07 17:18:41
Microsoft
jukun, 2016-05-07 17:18:41

How to disable exception handler in msvc2013?

Good day, comrades, who knows how to cut down Exceptions from the msvc2013 project?
Issue output:
Warning 2 warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
c:\program files (x86)\microsoft visual studio 12.0\vc\include\xlocale 337 1
From what I understand, the standard C++ libraries use try-catch... Is it possible to disable them?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
Zelimkhan Beltoev, 2016-05-07
@Beltoev

You have already disabled throwing of exceptions during compilation, hence you will receive such warnings.
The question is: why turn them off? I can't imagine a situation where this might be needed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question