[fpc-pascal] special meaning of -dRELEASE
Marc Santhoff
M.Santhoff at t-online.de
Tue Feb 15 17:55:41 CET 2005
Hi,
today I've compiled my program the first time with a newly invented
switch in my source. This program depends on some information compiled
in differently for the testbed and the to be released version.
For obvious reasons I called my descriptor switch "RELEASE" and
surrounded the code with "#ifdef RELEASE" to work properly.
If fpc compiles this it gives this message:
<--->
$ fpc -S2 -k-lXtst -XX -B -dRELEASE PigMain
Compiling Release Version
Free Pascal Compiler version 1.9.4 [2004/05/31] for i386
Copyright (c) 1993-2004 by Florian Klaempfl
Target OS: FreeBSD/ELF for i386
<--->
The second line makes me nervous because I think I have triggered a
conflict between my code and some internal compiler magic.
What's happening here?
Do I have to rename my ifdef-identifier to avoid trouble?
Thanks,
Marc
More information about the fpc-pascal
mailing list