[LLVMdev] std::cout << *MyModule does not work anymore

Albert Graef Dr.Graef at t-online.de
Wed Aug 26 13:38:13 PDT 2009


Chris Lattner wrote:
> I don't understand how that can be.  We have made *many dramatic API
> changes* in those releases, surely this isn't the only problem you have
> hit.

Surely not. :)

> Are you using the C++ APIs?

Yes.

> We try to keep the C apis as stable as possible, is it possible to use those?

No, but that's good to know. I might want to generate a Pure-LLVM
binding via the C API some time.

> Just to be clear, I'm not trying to be a butthead about this :).  I just
> see that API stability in almost a binary way: you either try to keep it
> or not.  If not, I don't think that trying to paper over small changes
> like this is worth it.

You said it. :) Case closed. I've solved this already in my configury
anyway.

> Sure, but again, the change wasn't made for an arbitrary reason: moving
> them to the end allows them to be optional, so that they do not need to
> be specified.  This makes the API more elegant.

I understand that.

Albert

-- 
Dr. Albert Gr"af
Dept. of Music-Informatics, University of Mainz, Germany
Email:  Dr.Graef at t-online.de, ag at muwiinfa.geschichte.uni-mainz.de
WWW:    http://www.musikinformatik.uni-mainz.de/ag



More information about the llvm-dev mailing list