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


Reply via email to