No, it is not related to that. In the mail list, it is explained (http://free-pascal-general.1045716.n5.nabble.com/inlining-functions-depending-on-implementation-only-functions-tp5732866p5732888.html) by Jonas, but I do not know the reason and if there is a report that I can monitor.
The compiler does not support inlining calls with parameters that cast a
managed type to an unmanaged type at this time.
That is a reason, but not clear to me why?
What is the difference between first putting the pointer into a variant and then passing it and passing it directly?
Both are almost the same to me, and I need a little guidance to understand the two cases' internal differences.
A Pchar is NOT a managed type