{$notes off} or from the commandline
-vn-It is safe to ignore notes and usually safe to ignore hints (but not warnings)
program listtest;
{$notes off}
You can also be more specific and define
{$warn 3123 off}In that case that specific note (not inlined) is turned off.
And at last, when compiling from source, simply do this in fgl.pp: {.$define FGLINLINE}
That disables inlining and hence removes the notes. (Note: note the dot...)
(And these numbers can be obtained by compiling with
-vqlhn)
The cleanest solution is 3123, but it is also the less used because most FPC programmers do not even know that option or how to apply it...
That said.. it is fully documented. In an ideal world these numbers would be string consts, though.
I also did a write-up about this in the wiki some years ago:
https://wiki.freepascal.org/Turn_warnings_and_hints_on_or_offIt is somewhat editted later by others...(NOT a smart idea, but so far it stays - about - correct. Not too much damage done, actually it is ruined...)
My write-up above is more correct than the wiki. I will reverse those changes in the wiki.
(Now playing Kill'em All )
https://en.wikipedia.org/wiki/Kill_%27Em_All