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

Michael Spencer bigcheesegs at gmail.com
Mon Oct 7 13:08:36 PDT 2013


On Sun, Oct 6, 2013 at 8:21 PM, Shankar Easwaran <shankare at codeaurora.org>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]
> 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\**HexagonTargetHandler.cpp)
> [C:\lld-x86_64_win7\lld-x86_**64-win7\llvm.obj\tools\lld\**
> lib\ReaderWriter\ELF\Hexagon\**lldHexagonELFTarget.vcxproj]
> 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\**HexagonRelocationHandler.cpp)
> [C:\lld-x86_64_win7\lld-x86_**64-win7\llvm.obj\tools\lld\**
> lib\ReaderWriter\ELF\Hexagon\**lldHexagonELFTarget.vcxproj]
>   lldHexagonELFTarget.vcxproj -> C:\lld-x86_64_win7\lld-x86_64-**
> win7\llvm.obj\lib\Release\**lldHexagonELFTarget.lib
>
> Get this error while building on windows, is there a flag thats missing
> compilation ?
>
> Thanks
>
> Shankar Easwaran
>
> --
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted
> by the Linux Foundation
>
>
This is from ConcRT. The warning doesn't matter as I believe it only uses
exceptions to rethrow exceptions from user code. Which we don't do.

- Michael Spencer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131007/4f1180f4/attachment.html>


More information about the llvm-dev mailing list