[cfe-dev] cling

David Chisnall csdavec at swan.ac.uk
Thu Jul 28 09:57:17 PDT 2011


On 28 Jul 2011, at 10:14, David Chisnall wrote:

>> If we have usecase for people using it with C and Objective-{C|C++} I am willing to work on that
> 
> I'd be very interested in Objective-C support (with the GNU runtimes):

Well, I started looking at what it would take to get Objective-C working, but unfortunately cling seems to fail with pretty trivial C code:

$ cling 
.
**** Welcome to the cling prototype! ****
* Type C code and press enter to run it *
* Type .q, exit or ctrl+D to quit       *
*****************************************
[cling]$ .L trivial.c
cling: Constants.cpp:546: static llvm::ConstantFP* llvm::ConstantFP::get(llvm::LLVMContext&, const llvm::APFloat&): Assertion `&V.getSemantics() == &APFloat::PPCDoubleDouble && "Unknown FP format"' failed.
Aborted
$ cat trivial.c
double zero = 0.000000e+00;

David



More information about the cfe-dev mailing list