This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH to implement `restrict' in C
- To: egcs-patches at cygnus dot com
- Subject: Re: PATCH to implement `restrict' in C
- From: Ulrich Drepper <drepper at cygnus dot com>
- Date: 21 Oct 1998 11:36:16 -0700
- Newsgroups: cygnus.egcs.patches
- Organization: Cygnus Solutions
- References: <199810092015.NAA13687@smtp.earthlink.net>, <199810211650.JAA15392.cygnus.egcs.patches@smtp.earthlink.net>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
mark@markmitchell.com (Mark Mitchell) writes:
> However, I did *not* use -lang-isoc9x; the driver takes this as `-l
> ang-isoc9x' and hands it to the linker. Instead, I used
> `-flang-isoc9x'. If this is a real problem, let me know, and give me
> a hint about how to fix it. I don't mind the current situation; it's
> analagous to `-ftraditional'.
Do you also have a preprocessor symbol defined for this (i.e., passed
the option also to cpp/cpplib)? The problem is that in headers we'll
have to have something like
#ifdef __ISO_C9X__
# define __restrict restrict
#else
# define __restrict
#endif
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------