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 anyfunc: Integer; external name 'libname-1';

begin
  writeln(anyfunc2); // all is fine
  writeln(anyfunc); // assembling error here
end.

should i bug report this? should i bug report the missing note in
documentation about darwin external library names?

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

Reply via email to