[fpc-devel] Declare variables inside the code

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu May 12 14:45:20 CEST 2011


Michael Schnell schrieb:

> What a bout a compiler directive to optionally call the gnu C 
> preprocessor ? I would have wanted used this some time ago for a very 
> special project.

IMO you can do that with build macros. But note that you'll have to use 
the C macro syntax (#define...), for such stuff.

You also can use the preprocessor of ToPas, to preprocess source files, 
optionally with your own macro syntax - if you implement it.

DoDi




More information about the fpc-devel mailing list