[fpc-pascal] exports VS export

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Jan 18 13:34:29 CET 2011


On 18 Jan 2011, at 13:27, Alex Shishkin wrote:

> what is the difference between "export" proedure/function modifier  
> and listing this routine in "exports" section?

In theory, they should mean the same.

In practice, FPC currently only actually exports routines that are in  
the "exports" section of a library, or that are marked as export *and*  
that have been (re)compiled during the current compilation run (i.e.,  
that were not compiled previous compilation and simply loaded from  
a .ppu file). See http://bugs.freepascal.org/view.php?id=16070


Jonas



More information about the fpc-pascal mailing list