Welcome, Guest
Username: Password: Remember me
General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.
  • Page:
  • 1

TOPIC:

Warning message not understand 5 years 10 months ago #13151

  • Md. Shariful Alam Khan
  • Md. Shariful Alam Khan's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 111
  • Thank you received: 0
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.

Warning message not understand 5 years 10 months ago #13152

  • Peter Heckert
  • Peter Heckert's Avatar
  • Visitor
  • Visitor
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.

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

Last edit: by Peter Heckert.
  • Page:
  • 1