Forum
× General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.

Question Warning message not understand

  • Md. Shariful Alam Khan
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
3 months 1 week ago #13151 by Md. Shariful Alam Khan
Warning message not understand was created by Md. Shariful Alam Khan
I have below statement which gives warning as follows:
if jObject.Get('available') = 'true' then
unit1.pas(77,33) Note: Call to subroutine "operator :=(const source:ShortString):Variant;" marked as inline is not inlined

Can anyone please explain what I am doing wrong and what it actually will be?

Please Log in or Create an account to join the conversation.

More
3 months 1 week ago - 3 months 1 week ago #13152 by Peter Heckert
Replied by Peter Heckert on topic Warning message not understand
I think this hint can be ignored. (It is not a warning, but a hint)

It means, that a routine that was marked as inline was not compiled inline into the assembly code, but instead a call to the routine was compiled.
Routines can be marked as inline. This tells the compiler: "Please unroll the code in place to speed it up and dont call it".

However quite often the compiler decides not to unroll, because it is not possible or the compiler thinks it would be inefficient.
This hint is quite common and has no influence to the functionality, but only influence to speed and size of the code.
Last edit: 3 months 1 week ago by Peter Heckert.

Please Log in or Create an account to join the conversation.