[LLVMdev] [lld][Windows] Warning during builds
Shankar Easwaran
shankare at codeaurora.org
Mon Oct 7 13:18:10 PDT 2013
On 10/7/2013 3:08 PM, Michael Spencer wrote:
> 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.
Thanks Michael.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation
More information about the llvm-dev
mailing list