delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/02/01/07:18:04

From: <ams AT ludd DOT luth DOT se>
Message-Id: <200302011217.h11CHwf14261@speedy.ludd.luth.se>
Subject: Re: restrict
In-Reply-To: <200302011200.h11C0HU14104@speedy.ludd.luth.se> "from ams@ludd.luth.se
at Feb 1, 2003 01:00:16 pm"
To: djgpp-workers AT delorie DOT com
Date: Sat, 1 Feb 2003 13:17:58 +0100 (CET)
X-Mailer: ELM [version 2.4ME+ PL78 (25)]
MIME-Version: 1.0
X-MailScanner: Found to be clean
X-MailScanner-SpamScore: s
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 ams AT ludd DOT luth DOT se:
> > How about version.h?  It's always #includ'ed by default.
> 
> Here's what I've added:
> 
> #if __GNUC < 3
> #define restrict
> #endif
> 
> I'm using GCC 2.95.3. That's the latest < 3 version, right?
> 
> That if might need to be adjusted. When did GCC start to support
> restrict? Anyone know?

Yes, it does... __GNUC__ it shall be.


Right,

						MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019