[Lazarus] Parser

Florian Klaempfl florian at freepascal.org
Thu Jul 1 10:00:43 CEST 2010


Michael Schnell schrieb:
>  On 07/01/2010 08:26 AM, Marco van de Voort wrote:
>> Since accessing header files is repeated as possible advantage files
>> again
>> and again,
> In fact I already missed sadly a fully working preprocessor (to be
> activated optionally). 

Even if FPC supported such a mess, this won't solve the fundamental
problem with C headers: they work only properly if every used header is
compiled for each source file again so the whole unit concept of object
pascal has to be thrown away. So using a fully automated always working
approach you've go back to {$I ...}-style imports. Even ignoring the
fact that the real value of a half automated translated header is that
someone spent some brain into the translation and how it can be done in
a pascal styled way.




More information about the Lazarus mailing list