Re: [fpc-pascal] Macro expanding error

2022-01-27 Thread Ryan Joseph via fpc-pascal
> On Jan 27, 2022, at 12:10 AM, Pierre Muller via fpc-pascal > wrote: > > You should probably try to look for another define somewhere else! Thanks I found it. The error was misleading as it directed me the first occurrence when it was the second one that did it. I think using undef would

Re: [fpc-pascal] Macro expanding error

2022-01-26 Thread Pierre Muller via fpc-pascal
Hi all, Le 26/01/2022 à 02:59, Ryan Joseph via fpc-pascal a écrit : I have this macro: {$define TCallback := TCallback2} which gives a long list of these errors. warning: Expanding of macros exceeds a depth of 16. What does this warning mean and how can I resolve it? I just tested this:

Re: [fpc-pascal] Macro expanding error

2022-01-25 Thread Sven Barth via fpc-pascal
Ryan Joseph via fpc-pascal schrieb am Mi., 26. Jan. 2022, 03:18: > I have this macro: > > {$define TCallback := TCallback2} > > which gives a long list of these errors. > > warning: Expanding of macros exceeds a depth of 16. > > What does this warning mean and how can I resolve it? > I did not l

[fpc-pascal] Macro expanding error

2022-01-25 Thread Ryan Joseph via fpc-pascal
I have this macro: {$define TCallback := TCallback2} which gives a long list of these errors. warning: Expanding of macros exceeds a depth of 16. What does this warning mean and how can I resolve it? Regards, Ryan Joseph ___ fpc-pascal maill