[Lazarus] Lazarus fails to build

Sven Barth pascaldragon at googlemail.com
Mon Mar 20 07:56:47 CET 2023


Martin Frb via lazarus <lazarus at lists.lazarus-ide.org> schrieb am So., 19.
März 2023, 20:57:

> On 19/03/2023 19:53, Sven Barth via lazarus wrote:
> >  If it *would* work however you could simply do {$if not
> > declared(name_of_the_unit)}, because the unit name is also a valid
> > symbol.
>
> ooohh nooo. That would be like C header files.... Don't wont that. ;)
>

It's you who brought out the ifdef idea and I simply pointed out a more
correct solution than picking some random symbol in the unit.

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20230320/1646b43c/attachment.htm>


More information about the lazarus mailing list