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
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 /EHscSpecify /EHsc Ben
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: <lists.llvm.org/pipermail/llvm-dev/attachments/20131007/4f1180f4/attachment.html>
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