On Thu, Jul 01, 2010 at 09:26:35AM +0200, Florian Klaempfl wrote: > > FP-Pascal and GNU-C++. I don't know it it's possible at all to share > > classes between Pascal and C++, even if FP would be enhanced to compile > > C++ code. > > Only as a cppclass because the Object Pascal class modell is very > different from that one of C++. But don't underestimate the work to do > so: there is nothing to reuse so far. It needs a C++ front end and a C++ > back end. Everybody dreaming of something like this might start with the > "cppclass" support in FPC and create the back end part first.
And then finds out that half of the libs you want to use are stuffed with C++ templates and other lanugage features. I think stuff like cppclass will never work on a large-scale for C++ code that was not specially crafted (kept clean) for it. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
