Hi,

I found the problem, but don't know the cause or how to fix it.

First of all, my main code (project1.lpr) has just added the tree unit into
"uses", but not actually use any of it.

The problem occurs if I compile it using the Lazarus settings:

fpc -MObjFPC -Scghi -O1 -g -gl -vewnhi -Filib/x86_64-linux -Fu.
-FUlib/x86_64-linux/ -l project1.lpr

However if I remove these -F, it is OK:

fpc -MObjFPC -Scghi -O1 -g -gl -vewnhi -l project1.lpr

Is this a bug in the compiler?  I attached the complete source (3 files) so
that you can test it.

Thanks a lot!



2013/9/11 Xiangrong Fang <xrf...@gmail.com>

> Hi All,
>
> Could anyone explain the error in attached image?
>
> Thanks a lot.
>
>

Attachment: tree.tar.bz2
Description: BZip2 compressed data

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to