[Lazarus] problems building lazarus

Mattias Gärtner nc-gaertnma at netcologne.de
Fri Aug 22 11:07:41 CEST 2008


Zitat von Paul Ishenin <ip at kmiac.ru>:

> Mattias Gärtner пишет:
> > Zitat von Vincent Snijders <vsnijders at quicknet.nl>:
> >
> >
> > Are you sure?
> >
> > I can do without linking errors:
> >
> > var c: integer; external name 'goal';
> >
> > procedure Bla; cdecl; external name 'money';
> >
> >
>
> try it so:
>
> unit money;
> interface
>
> function Bla:Boolean; cdecl; external 'money.so';
>
> function IsBla: Boolean;
>
> implementation
>
> function IsBla: Boolean;
> begin
>    IsBla := Bla;
> end;

I guess, you mean the h2pas translations of alias macros.
IMO a converter should avoid such things and use copies when possible.


> end.
>
> program test_money;
> uses
>    money;
> begin
> end.
>
> Btw, money is not a goal :)

True, because it is 'bla'. ;)


Mattias




More information about the Lazarus mailing list