[fpc-devel] Alternative parsers

Sven Barth pascaldragon at googlemail.com
Thu Oct 21 09:51:42 CEST 2010


Am 21.10.2010 08:54, schrieb Florian Klaempfl:
> Am 20.10.2010 10:07, schrieb Michael Schnell:
>> but this would be a lot better than the
>> current situation where linking FPC and C++ is completely impossible due
>> to the different ABI.
>
> Really? How does accessing Qt then work? Do you know more than me? Did I
> dream that Lazarus has a Qt widget set? Even more: who does the
> compilation of e.g.
> http://svn.freepascal.org/svn/fpc/trunk/tests/test/cg/tcppcl1.pp in the
> daily testsuite runs?
>
> The tests (which cover only part of the cppclass support in FPC) are one
> of the reality checks for your hypotheses about the usefulness of a
> crippled C++ front end. And they show: crippled C++ support is not
> needed, cppclasses is basically not used by anybody as far as I know.

cppclass is not used, because it's not even remotly ready for real world 
stuff. Currently only static methods/classes are supported. For 
instantiated classes I must first implement a C++ runtime binding.

Regards,
Sven



More information about the fpc-devel mailing list