sorry! wrong external function Name
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Another lib naming bug (seems to be darwin only).
If the name contains '-' character, the compiler fails to assemble the
unit with "Error while assembling exitcode 1"
(which is strange, since the name should be ignored).
the example:
function anyfunc2: Integer; external name 'libname';
function a
On Wed, Aug 25, 2010 at 12:58 PM, Jonas Maebe wrote:
> I don't know what the best solution is.
Thanks for the explanation, I've had a feeling that's caused by
framework/library selection.
Should it be added to the documentation?
thanks,
dmitry
___
fpc
On 25 Aug 2010, at 09:00, dmitry boyarintsev wrote:
Is it expected behavior, that explicitly set library name is not used
in linking for Drawin target (fpc 2.5.1)?
function SomeFunc: Integer; external 'LibName';
The log entry for the removal of that functionality was this:
revision 1.16
dat
Hi All
Is it expected behavior, that explicitly set library name is not used
in linking for Drawin target (fpc 2.5.1)?
function SomeFunc: Integer; external 'LibName';
'LibName' is not added to link.res, so {$linklib LibName} is required
for successful linking.
Docs says nothing about it:
http:/