[Solved] Warnings about inlining lazarus / 21-General ---------------------------------------------------------------------- Hansvb · 2021-08-11 13:52 Hi, Since is use an Objectlist i get warnings about inline/inlining. Quoteform_main.pas(452,63) Note: Call to subroutine "function TFPGObje ctList.Get(Index:LongInt):TOraCo nnectionData;" marked as inline is not inlined and this one which point to a line the file fgl.pp Quotefgl.pp(1079,1) Hint: "inherited" not yet supported inside inline procedure/function How to disable them? There is not an option in Project options- Compiler Options-Messages. And i can't change fgl.pp ---------------------------------------------------------------------- PascalDragon · 2021-08-12 07:09 Quote from: Hansvb on August 11, 2021, 03:52:32 pmSince is use an Objectlist i get warnings about inline/inlining. Quoteform_main.pas(452,63) Note: Call to subroutine "function TFPGObje ctList.Get(Index:LongInt):TOraCo nnectionData;" marked as inline is not inlined and this one which point to a line the file fgl.pp Quotefgl.pp(1079,1) Hint: "inherited" not yet supported inside inline procedure/function How to disable them? There is not an option in Project options- Compiler Options-Messages. And i can't change fgl.pp First of those are not warnings. Hints and Notes are the lowest tiers of verbosity and unlike warnings don't highlight potentially critical problems. For hiding them you will need to retrieve the message id by compiling with -vq or you right click the message in the Lazarus IDE and note the message id mentioned in the "Hide message by inserting {$warn off} to unit "fgl.pp"" menu item and then add {$warn off} to your own unit (or a shared include file) for each of them. ---------------------------------------------------------------------- Hansvb · 2021-08-12 12:34 OK thanks. I see that in the message window I can choose these kinds of options. I hadn't noticed yet ---------------------------------------------------------------------- Чебурашка · 2022-10-26 13:17 Hello, so it is mandatory to edit the fgl.pp? I was thinking that for runtime libraries, for which compiled units are used, are not recompiled each time. Can someone explain or supply some link to study better this topic? Thanks!! ---------------------------------------------------------------------- PascalDragon · 2022-10-27 05:28 Quote from: tt on October 26, 2022, 03:17:01 pmI was thinking that for runtime libraries, for which compiled units are used, are not recompiled each time. The unit itself isn't recompiled. However fgl is about generics and generics are essentially reparsed in your own unit every time you specialize them. ---------------------------------------------------------------------- Чебурашка · 2022-10-28 06:44 Thanks for the explanation.