[Pkg-pascal-devel] Bug#789091: fpc: ncurses/form unit declares internal libform objects

Sven Joachim svenjoac at gmx.de
Wed Jun 17 18:06:41 UTC 2015


Source: fpc
Version: 2.6.4+dfsg-6

The file fpcsrc/packages/ncurses/src/form.pp declares the objects
_nc_Default_Form and _nc_Default_Field:

,----
| (* Default objects  *)
| {$ifndef darwin}
|   _nc_Default_Form : PFORM;cvar;external;
|   _nc_Default_Field : PFIELD;cvar;external;
| {$else darwin}
|   _nc_Default_Form : PFORM external libform name '_nc_Default_Form';
|   _nc_Default_Field : PFIELD external libform name '_nc_Default_Field';
| {$endif darwin}
`----

There does not seem to be a good reason to do so, those symbols are not
part of the ncurses form API and will go away from the shared form
library soon, see #788610.

Apparently those two symbols are still in the libform.a library, so as
long as fpc does not support dynamic linking (#472304) there should not
be a problem, but please remove these useless declarations and ask
upstream to do the same.



More information about the Pkg-pascal-devel mailing list