[fpc-pascal] $IF conditional compilation
Jonas Maebe
jonas.maebe at elis.ugent.be
Tue Jul 28 16:51:26 CEST 2009
On 28 Jul 2009, at 16:47, Bee wrote:
>> The internal error is due to the fact that your {$if ...} construct
>> appears
>> right after your uses clause: http://bugs.freepascal.org/view.php?id=8611
>
> So, it's a bug. Since 2007? :(
Rewriting the unit loading system isn't exactly a trivial task.
> Thanks for the hint. I'll find a workaround for that. Any
> suggestion? TIA.
No idea, sorry. Maybe adding a dummy constant declaration between the
uses clause and the {$if ...} expression would help?
Jonas
More information about the fpc-pascal
mailing list