[fpc-devel] Macro Processing
    Joerg Schuelke 
    joerg.schuelke at gmx.de
       
    Fri May 13 20:44:00 CEST 2011
    
    
  
Am Fri, 13 May 2011 20:29:32 +0200
schrieb Florian Klämpfl <florian at 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
    
    
More information about the fpc-devel
mailing list