[LLVMdev] [lld][Windows] Warning during builds

Ben Pope benpope81 at gmail.com
Sun Oct 6 21:03:58 PDT 2013


On 07/10/13 11:21, Shankar Easwaran wrote:
> C:\Program Files (x86)\Microsoft Visual Studio
> 11.0\VC\include\concrt.h(313): warning C4530: C++ exception handler
> used, but unwind semantics are not enabled. Specify /EHsc
> (C:\lld-x86_64_win7\lld-x86_64-win7\llvm.src\tools\lld\lib\ReaderWriter\ELF\Hexagon\HexagonLinkingContext.cpp)
> [C:\lld-x86_64_win7\lld-x86_64-win7\llvm.obj\tools\lld\lib\ReaderWriter\ELF\Hexagon\lldHexagonELFTarget.vcxproj]
> 
> <snip>
> 
> Get this error while building on windows, is there a flag thats missing
> compilation ?

> C++ exception handler used, but unwind semantics are not enabled.
> Specify /EHsc

Specify /EHsc

Ben






More information about the llvm-dev mailing list