forked from zamronypj/fano
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
After upgrade to Free Pascal 3.2.0, generic list/map methods in fgl cause many inline methods cannot be inlined. For example
fgl.pp(1283,5) Note: Call to subroutine "function TFPGInterfacedObjectList<RdbmsIntf.IRdbms>.Add(const Item:IRdbms):LongInt;" marked as inline is not inlined
fgl.pp(1283,18) Note: Call to subroutine "function TFPGInterfacedObjectList<RdbmsIntf.IRdbms>.Get(Index:LongInt):IRdbms;" marked as inline is not inlined
RdbmsPoolImpl.pas(138,13) Note: Call to subroutine "function TFPGInterfacedObjectList<RdbmsIntf.IRdbms>.Add(const Item:IRdbms):LongInt;" marked as inline is not inlined
RdbmsPoolImpl.pas(159,38) Note: Call to subroutine "function TFPGInterfacedObjectList<RdbmsIntf.IRdbms>.GetLast:IRdbms;" marked as inline is not inlined
RdbmsPoolImpl.pas(160,9) Note: Call to subroutine "function TFPGInterfacedObjectList<RdbmsIntf.IRdbms>.Add(const Item:IRdbms):LongInt;" marked as inline is not inlined
RdbmsPoolImpl.pas(176,9) Note: Call to subroutine "function TFPGInterfacedObjectList<RdbmsIntf.IRdbms>.Add(const Item:IRdbms):LongInt;" marked as inline is not inlined
Can we improve it by removing those compilation notes?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed