# Caught an Interpreter exception in windows

**URL:** <https://root-forum.cern.ch/t/caught-an-interpreter-exception-in-windows/19351>\
**Category:** Cling\
**Created:** [June 8, 2015, 9:05am UTC](https://root-forum.cern.ch/t/caught-an-interpreter-exception-in-windows/19351 "2015-06-08T09:05:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Muthu](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/bbce88/32.png) [@Muthu](https://root-forum.cern.ch/u/Muthu)\
**Post date:** [June 8, 2015, 9:05am UTC](https://root-forum.cern.ch/t/caught-an-interpreter-exception-in-windows/19351/1 "2015-06-08T09:05:49Z")

</div>

Hi All,

When i tried adding #include in cling prompt. I am getting Caught an Interpreter exception!!!  
ELF COMDATs only support SelectionKind::Any, ‘??\_7\_Generic\_error\_category@std@@6b@’ cannot be lowered.

Same error also seen when i executed cout\<\<“test”;

Please let me know how to fix it.

Thanks and Regards,  
Muthu

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [June 17, 2015, 8:53am UTC](https://root-forum.cern.ch/t/caught-an-interpreter-exception-in-windows/19351/2 "2015-06-17T08:53:20Z")

</div>

Hi Muthu,

We’ll have to debug it. But FYI, cling is not yet fully functional (with C++) on Windows…

Cheers, Bertrand.

---

<div class="post-metadata">

**Author:** ![OMGtechy](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/omgtechy/32/11649_2.png) [@OMGtechy](https://root-forum.cern.ch/u/OMGtechy)\
**Post date:** [October 1, 2015, 10:14am UTC](https://root-forum.cern.ch/t/caught-an-interpreter-exception-in-windows/19351/3 "2015-10-01T10:14:40Z")

</div>

Hello,

Did you ever find a way to fix this? I’m working on a similar technology and encountered the same problem. Short of switching to COFF (which has its own issues), I couldn’t work out what to do about this.

Regards,

Joshua

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [October 1, 2015, 1:13pm UTC](https://root-forum.cern.ch/t/caught-an-interpreter-exception-in-windows/19351/4 "2015-10-01T13:13:00Z")

</div>

Hi Joshua,

Not yet, I’m afraid we’ll have to wait until cling integrates the next version of llvm & clang…

Cheers, Bertrand.

---

<div class="post-metadata">

**Author:** ![OMGtechy](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/omgtechy/32/11649_2.png) [@OMGtechy](https://root-forum.cern.ch/u/OMGtechy)\
**Post date:** [October 1, 2015, 2:22pm UTC](https://root-forum.cern.ch/t/caught-an-interpreter-exception-in-windows/19351/5 "2015-10-01T14:22:36Z")

</div>

Thanks for the quick reply!  
Do you know that it’ll be fixed in the newer version, or just hope?  
I ask because I’m on the trunk (as of a few weeks ago) and am having the same issue.

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [October 1, 2015, 2:26pm UTC](https://root-forum.cern.ch/t/caught-an-interpreter-exception-in-windows/19351/6 "2015-10-01T14:26:21Z")

</div>

All I can say is that the latest version of clang is now compiling code that it was not able to compile with the version currently used by cling…

Cheers, Bertrand.

---

<div class="post-metadata">

**Author:** ![OMGtechy](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/omgtechy/32/11649_2.png) [@OMGtechy](https://root-forum.cern.ch/u/OMGtechy)\
**Post date:** [October 15, 2015, 4:40pm UTC](https://root-forum.cern.ch/t/caught-an-interpreter-exception-in-windows/19351/7 "2015-10-15T16:40:01Z")

</div>

FYI, I posted on the mailing list about this and it’s now been fixed!  
[github.com/llvm-mirror/llvm/com … 9e9400f3ef](https://github.com/llvm-mirror/llvm/commit/9816f9eac902b84ec044bc11f6243d9e9400f3ef)
