From owner-freebsd-current@FreeBSD.ORG Tue Mar 24 12:38:07 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33157106564A for ; Tue, 24 Mar 2009 12:38:07 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout5.freenet.de (mout5.freenet.de [IPv6:2001:748:100:40::2:7]) by mx1.freebsd.org (Postfix) with ESMTP id C21E48FC16 for ; Tue, 24 Mar 2009 12:38:06 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.21] (helo=11.mx.freenet.de) by mout5.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #76) id 1Lm5tN-00020o-4M; Tue, 24 Mar 2009 13:38:05 +0100 Received: from tb738.t.pppool.de ([89.55.183.56]:45357 helo=ernst.jennejohn.org) by 11.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #76) id 1Lm5tM-0004XZ-TM; Tue, 24 Mar 2009 13:38:05 +0100 Date: Tue, 24 Mar 2009 13:38:03 +0100 From: Gary Jennejohn To: Thomas Vogt Message-ID: <20090324133803.38d6cfd0@ernst.jennejohn.org> In-Reply-To: <49C8BC54.7050504@bsdunix.ch> References: <49C8BC54.7050504@bsdunix.ch> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: /usr/include/wchar.h:216: error: invalid use of 'restrict' in /lib32 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2009 12:38:07 -0000 On Tue, 24 Mar 2009 11:56:20 +0100 Thomas Vogt wrote: > I tried to update my current 64bit intel system from late January to the > latest current code from March 24. > > FreeBSD foo.ch 8.0-CURRENT FreeBSD 8.0-CURRENT #3: Sat Jan 24 13:20:12 > UTC 2009 > > make.conf: > WITH_LIB32=yes > Note that it's MK_LIB32, which is only effective if set to 'no'. Otherwise 32-bit libraries always seem to be built. > make buildworld ends here: > > cc -o make_hash -O2 -pipe -D_XOPEN_SOURCE_EXTENDED -DENABLE_WIDEC -I. > -I/usr/ob > j/lib32/usr/src/lib/ncurses/ncursesw/../ncursesw > -I/usr/src/lib/ncurses/ncursesw > /../ncursesw -I/usr/src/lib/ncurses/ncursesw/../ncurses > -I/usr/src/lib/ncurses/n > cursesw/../../../contrib/ncurses/include > -I/usr/src/lib/ncurses/ncursesw/../../. > ./contrib/ncurses/ncurses -Wall -DNDEBUG -DHAVE_CONFIG_H > -DFREEBSD_NATIVE -DTERM > IOS -std=gnu99 -DMAIN_PROGRAM > /usr/src/lib/ncurses/ncursesw/../../../contrib/ > ncurses/ncurses/tinfo/comp_hash.c > In file included from ./curses.h:336, > from > /usr/src/lib/ncurses/ncursesw/../../../contrib/ncurses/ncu > rses/curses.priv.h:259, > from > /usr/src/lib/ncurses/ncursesw/../../../contrib/ncurses/ncu > rses/tinfo/comp_hash.c:42: > /usr/include/wchar.h:216: error: invalid use of 'restrict' > /usr/include/wchar.h:217: error: invalid use of 'restrict' > *** Error code 1 > > Stop in /usr/src/lib/ncurses/ncursesw. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > Works for me. You might have run csup when the tree was in an intermediate/broken state. Try it again. --- Gary Jennejohn