2018-06-22 20:42 GMT+02:00 Jonas Maebe <[email protected]>:
> I would propose to switch all targets to use use ansistrings for symbol
> names.
+1
I was asking for this some time ago in core mailing list... As temporary
solution compiler can be compiled with
OPT="-dsymansistr"
Even without something special like closures FPC is unable to link many of
my Delphi code :
===begin example===
unit X2.Logic.Aggregates.PXI.Proxy.Implementations;
...
interface
type
TPXI_Proxy_TGlobalVariablesAggregate = class(TPXI_Proxy,
IPXI_Proxy_TGlobalVariablesAggregate)
protected
function GetOPERATOR_LOGIN: PUTF8Char; CDecl;
===begin example===
this is because generated symbol is longer than 255 chars :
WRPR_$X2.LOGIC.AGGREGATES.PXI.PROXY.IMPLEMENTATIONS_$$_TPXI_PROXY_TGLOBALVARIABLESAGGREGATE_$_IPXI_PROXY_TGLOBALVARIABLESAGGREGATE_$_8_$_X2.LOGIC.AGGREGATES.PXI.PROXY.IMPLEMENTATIONS$_$TPXI_PROXY_TGLOBALVARIABLESAGGREGATE_$__$$_GETOPERATOR_LOGIN$$PUTF8CHA
--
Best regards,
Maciej Izak
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel