Am Fri, 13 May 2011 20:29:32 +0200 schrieb Florian Klämpfl <flor...@freepascal.org>:
> Or just use an inline function with ifdef as mentioned previously. An > inline function with an empty procedure body shouldn't cause any > additional code. - I believe to remember that the compiler complains about - inlining not possible with array of const. - I do not see how it helps, to show that you can circumvent the use of macros in nearly all cases. - The question is - in my mind - are there reasons a macro processor is the better and cleaner way to do it, in some contexts. - Macro processing as concept is not useless if someone shows how it can be prevented in special cases. Regards Jörg _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel