🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.commandlinetools
Article #118

Re: DCC32 + Defines

#118
From: Jesper Hogstrom (Borland)
Date: Tue, 07 Mar 2006 22:22
19 lines
1747 bytes
Mitch wrote:
> I've been struggling to ues DCC32 and the project CFG file to automate 
> the build of a large project containing several executables and 100's of 
> units. After struggling to get the paths set I found that it wasn't 
> correctly evaluating some IFDEF's in my code. Despite the fact that a 
> directive was not defined it would treat it as defined. I finally worked 
>  around the problem by adding an UNDEF in each unit that evaluated it.
> 
> {$IFDEF REPORTWORKS}
>   {$UNDEF ROCKWORKS}
>   {$ENDIF}
> 
> This doesn't seem the right way to do this and I'm sure I must be 
> missing something.

How does your various config files look? What if you compile with 
--no-config, are the defines still set?

--Jesper
Technical Details
Message-ID: <440e079d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!news.glorb.com!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <440dc747$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: ff8f1,cef2d0d351fc6255
X-Google-Attributes: gidff8f1,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 07 Mar 2006 23:22:23 +0100
From: "Jesper Hogstrom (Borland)" <jhogstrom_@_borland_._com_spaminator>
Organization: Borland
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
Newsgroups: borland.public.delphi.commandlinetools
Subject: Re: DCC32 + Defines
References: <440dc747$1@newsgroups.borland.com>
In-Reply-To: <440dc747$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 143.186.87.132
Message-ID: <440e079d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1141770141 143.186.87.132 (7 Mar 2006 14:22:21 -0700)
Lines: 19
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!news.glorb.com!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail