delorie.com/archives/browse.cgi | search |
Date: | Mon, 7 Dec 1998 16:46:54 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | Tom St Denis <tomstdenis AT goplay DOT com> |
cc: | Andris Pavenis <pavenis AT lanet DOT lv>, djgpp-workers AT delorie DOT com |
Subject: | Re: djgpp 2.02 zips - please test |
In-Reply-To: | <28960101.4.13902@mx1-11.onmedia.com> |
Message-ID: | <Pine.SUN.3.91.981207164516.9168B-100000@is> |
MIME-Version: | 1.0 |
Reply-To: | djgpp-workers AT delorie DOT com |
On Mon, 7 Dec 1998, Tom St Denis wrote: > To get version numbers, why not make GCC (or CC1 to be precise) > predefine a DJGPP_MINOR value? Btw, CC1 cannot define a preprocessor symbol; all preprocessor symbols need to be known to CPP, since you should be able to say this: #if __DJGPP_MINOR > 2 ... #else ... #endif By the time the compiler (CC1, CC1PLUS, etc.) runs, all the preprocessing was already done.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |