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,
We’ll have to debug it. But FYI, cling is not yet fully functional (with C++) on Windows…
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.
Not yet, I’m afraid we’ll have to wait until cling integrates the next version of llvm & clang…
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.
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…
FYI, I posted on the mailing list about this and it’s now been fixed!
github.com/llvm-mirror/llvm/com … 9e9400f3ef