[fpc-devel] Multiple type sections - Far forward type declarations [feasible feature request?]

Michael Van Canneyt michael at freepascal.org
Tue Oct 31 10:47:07 CET 2017



On Tue, 31 Oct 2017, Marco van de Voort wrote:

> In our previous episode, Michael Van Canneyt said:
>> 
>> With your extended "forward type resolution" this would no longer be possible.
>> Theoretically it probably can, but multiple passes would be needed. 
>> This would aversely affect the compiler speed.
>
> Note that the example shows consecutive type blocks. They can be merged
> simply by ignoring a TYPE while already in a type block.

That was the gist of my proposal to do "type section folding".

>
> This saves some trouble cause by header generators.

And hence my proposal to improve the header generators...

Michael.



More information about the fpc-devel mailing list