Florian Klaempfl florian at klaempfl.de
Fri Aug 17 16:21:32 CEST 2001

At 13:42 17.08.01 +0200, you wrote:

> >BTW: I think it would be better to figure out which C++ constructs
> >in FPC would be required than making C wrappers.
>Is it technically possible, to make C++-Libs directly accessible from

I was working on this, parts of this effort are in 1.1 but some
others aren't commited yet because it isn't ready. If there is
a need for it, I'll finish it. But supporting all C++ features
like exceptions and templates is too much work and requires
really deep changes in the compiler and rtl.

Another problem is: the gcc handles
exceptions in another way then MSC++, the name mangling is
different etc. About the C++-Builder I even don't know.

>That would be really fine for maybe accessing KDE-Libs without
>the need for C-wrappers.

Does the KDE-Lib still base on the Qt lib? Then it is very hard
work: the Qt libs require full ANSI C++ support, furthermore
the Qt headers require a preprocessor for the signal/slot
concept. How should this be implemented in FPC? With another
preprocessor? Or with native language support? The first
solution isn't very pascalish and the second, hmmm, I don't know.

More information about the fpc-pascal mailing list