Alexander Klenin wrote: > On Sat, Apr 11, 2009 at 07:53, Alexander Klenin <kle...@gmail.com> wrote: >> On Sat, Apr 11, 2009 at 07:17, Christian Iversen >> <chriv...@iversen-net.dk> wrote: >>> Ok, I can see what you're doing there. In my opinion, it's not very >>> pretty. How about something like this: >>> >>> procedure SilenceHint(const A); inline; >>> begin >>> end; > > BTW, did you actually try this? It does not work at least on FPC 2.2.4: > Warning: "formal parameter" not yet supported inside inline > procedure/function > Warning: Inlining disabled
I didn't try it, actually. It was just an idea. How about defining a macro instead? You might have a macro that does nothing sufficiently well that it silences the hints. -- Med venlig hilsen Christian Iversen _______________________________________________ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus