[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: string.h uses restrict
From: |
Reuben Thomas |
Subject: |
Re: string.h uses restrict |
Date: |
Thu, 19 Mar 2009 02:16:36 +0000 (GMT) |
User-agent: |
Alpine 2.00 (DEB 1167 2008-08-23) |
On Wed, 18 Mar 2009, Eric Blake wrote:
Did you actually encounter a compilation failure where restrict was
improperly defined while using gnulib? If so, how do we reproduce it?
It was not on my system, but on a BSD box that Nelson Beebe was kindly
building GNU Zile on for me. A bit of the build log goes:
gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib
-DPATH_DATA="\"/usr/local/share/zile\"" -g -O2 -Wall -W
-Wmissing-prototypes -Wstrict-prototypes -pedantic -D_FORTIFY_SOURCE=2
-std=c89 -MT lists.o -MD -MP -MF .deps/lists.Tpo -c -o lists.o lists.c
In file included from /usr/include/strings.h:68,
from /usr/include/string.h:89,
from ../lib/string.h:27,
from lists.c:23:
../lib/string.h:104: error: parse error before "__dest"
Earlier, configure said:
checking for C/C++ restrict keyword... __restrict
The version of gcc in use is 3.4.3.
If that's not useful information, please tell me precisely what you need,
and I should be able to get it from Nelson...
--
http://rrt.sc3d.org/ | Bathe or shower daily: the ablutive absolute
- string.h uses restrict, Reuben Thomas, 2009/03/18
- Re: string.h uses restrict, Eric Blake, 2009/03/18
- Re: string.h uses restrict,
Reuben Thomas <=
- Re: string.h uses restrict, Eric Blake, 2009/03/18
- Re: string.h uses restrict, Reuben Thomas, 2009/03/18
- Re: string.h uses restrict, Jim Meyering, 2009/03/19
- Re: string.h uses restrict, Reuben Thomas, 2009/03/20
- Re: string.h uses restrict, Eric Blake, 2009/03/20
- Re: string.h uses restrict, Reuben Thomas, 2009/03/20
- Re: gnulib is source or binary?, Bruno Haible, 2009/03/20
- Re: gnulib is source or binary?, Reuben Thomas, 2009/03/20
- Re: string.h uses restrict, Simon Josefsson, 2009/03/20
- Re: string.h uses restrict, Reuben Thomas, 2009/03/31