On Wed, Jun 19, 2019 at 3:40 PM Ryan Joseph wrote:
> What are the rules with he calling context? I didn’t even know that was a
> factor! I’ll have to look to get some examples.
>
Basically, if you're calling a function marked inline from another
function, the implementation of the function to be
> On Jun 19, 2019, at 3:32 PM, Ben Grasset wrote:
>
> It depends a lot on the context you're calling the function-to-be-inlined
> from. Can you show more of the code?
>
What are the rules with he calling context? I didn’t even know that was a
factor! I’ll have to look to get some examples.
On Wed, Jun 19, 2019 at 2:36 PM Ryan Joseph wrote:
> The method TDictionary.IsSet is not able to be inlined but why not? What
> are the rules to inlining in FPC? I know calling inherited is not possible
> (makes sense) but I often get this warning and I don’t always understand
> why.
>
It depend
The method TDictionary.IsSet is not able to be inlined but why not? What are
the rules to inlining in FPC? I know calling inherited is not possible (makes
sense) but I often get this warning and I don’t always understand why.
TDictionaryEntry = record
key: TDictionaryKey;
v
W dniu 2019-06-19 o 17:10, Ryan Joseph pisze:
Oh I see now. Strange syntax, never saw that before. Can you get the full path
instead of just the name?
Regards,
Ryan Joseph
Unfortunately, just the name. But it's a good idea to be able to have a
full path.
You can get full listof dire
> On Jun 19, 2019, at 10:59 AM, gabor wrote:
>
> try
>
> writeln({$I %FILE%});
>
> it really works ;)
>
> Regards,
> Michał
Oh I see now. Strange syntax, never saw that before. Can you get the full path
instead of just the name?
Regards,
Ryan Joseph
__
try
writeln({$I %FILE%});
it really works ;)
Regards,
Michał
W dniu 2019-06-19 o 16:54, Ryan Joseph pisze:
On Jun 19, 2019, at 10:52 AM, Виктор Матузенко wrote:
{$I %FILE%} ?
Sorry I mean something like:
{$macro on}
writeln(FPC_SOURCE_FILE);
Looking for a string I can use.
Regards,
> On Jun 19, 2019, at 10:52 AM, Виктор Матузенко wrote:
>
> {$I %FILE%} ?
Sorry I mean something like:
{$macro on}
writeln(FPC_SOURCE_FILE);
Looking for a string I can use.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@list
{$I %FILE%} ?
ср, 19 июн. 2019 г. в 17:49, Ryan Joseph :
> Is there a macro for the path of the source file being compiled? I could
> swear there was something like FPC_SOURCE_FILE but I can’t find it now.
>
> Regards,
> Ryan Joseph
>
> ___
> fp
Is there a macro for the path of the source file being compiled? I could swear
there was something like FPC_SOURCE_FILE but I can’t find it now.
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.free
10 matches
Mail list logo