[fpc-devel] Declare variables inside the code

Jonas Maebe jonas.maebe at elis.ugent.be
Wed May 11 17:56:39 CEST 2011


On 11 May 2011, at 17:50, Joerg Schuelke wrote:

> Switched by DBGLEV:=3 for example. Programming in C I usually have a
> stack of debug levels, so I can for example code:
> 
> DBGPUSH(4);
>  call to whatever;
> DBGPOP;
> 
> and all that stuff vanishes with -dNODEBUG.

For the compiler itself such things are toggled via command line switches (-vc, -vt, -vu, -vd, -vp, ...).


Jonas


More information about the fpc-devel mailing list