On 29/01/2008, Giuliano Colla <[EMAIL PROTECTED]> wrote:
> So my question is still open. There's a way to make the IDE/compiler
> aware of the change of conditionals? I'm the only one with this requirement?
I have also noticed that issue, mostly with my IFDEF DEBUG lines. I
used to use application wide defines passing in -d<whatever>. This
caused lots of problems, like you described. I now instead use defines
per unit. Below the compiler mode (top of unit) I place a new line
{$Define DEBUG} to enable debuging per unit. If I want to disable such
debugging, comment that line as follows: {.$Define DEBUG}
Obviously this works for me, because that's the only IFDEF's I have in
fpGUI. Others usage may vary. My 2c worth.
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives