delorie.com/archives/browse.cgi | search |
From: | Martin Str|mberg <ams AT ludd DOT luth DOT se> |
Message-Id: | <200005012226.AAA20494@father.ludd.luth.se> |
Subject: | Re: restrict |
In-Reply-To: | <200004262019.QAA24216@indy.delorie.com> from Eli Zaretskii at "Apr 26, 2000 04:19:16 pm" |
To: | djgpp-workers AT delorie DOT com |
Date: | Tue, 2 May 2000 00:26:48 +0200 (MET DST) |
X-Mailer: | ELM [version 2.4ME+ PL54 (25)] |
MIME-Version: | 1.0 |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
According to Eli Zaretskii: > > From: Martin Str|mberg <ams AT ludd DOT luth DOT se> > > Date: Tue, 25 Apr 2000 22:25:01 +0200 (MET DST) > > > > According to Eli Zaretskii: > > > I suggest the following: > > > > > > #if __STDC_VERSION__ >= 199901 > > > #elif __GNUC__ >= 2 && __GNUC_MINOR__ >= 91 > > > #define restrict __restrict__ > > > #else > > > #define restrict > > > #endif > > > > Two questions: > > > > Where does __STDC_VERSION__ come from? > > I think it should come from the compiler. No? Why isn't it seen like the #define __DJGPP__ when using "-v" option of gcc? Genesis, Selling England by the Pound, MartinS
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |