From owner-freebsd-current@FreeBSD.ORG Tue Mar 24 19:56:21 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 82B9210657DB for ; Tue, 24 Mar 2009 19:56:21 +0000 (UTC) (envelope-from freebsdlists@bsdunix.ch) Received: from conversation.bsdunix.ch (ns1.bsdunix.ch [82.220.1.90]) by mx1.freebsd.org (Postfix) with ESMTP id 3AAF28FC19 for ; Tue, 24 Mar 2009 19:56:21 +0000 (UTC) (envelope-from freebsdlists@bsdunix.ch) Received: from localhost (localhost [127.0.0.1]) by conversation.bsdunix.ch (Postfix) with ESMTP id 34B525D39; Tue, 24 Mar 2009 20:56:20 +0100 (CET) X-Virus-Scanned: by amavisd-new at mail.bsdunix.ch Received: from conversation.bsdunix.ch ([127.0.0.1]) by localhost (conversation.bsdunix.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ij5Y+4t8-xcq; Tue, 24 Mar 2009 20:56:18 +0100 (CET) Received: from [192.168.1.101] (home.bsdunix.ch [82.220.17.23]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by conversation.bsdunix.ch (Postfix) with ESMTP id 1F5995D33; Tue, 24 Mar 2009 20:56:18 +0100 (CET) Message-Id: From: Thomas Vogt To: gary.jennejohn@freenet.de In-Reply-To: <20090324133803.38d6cfd0@ernst.jennejohn.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Tue, 24 Mar 2009 20:56:17 +0100 References: <49C8BC54.7050504@bsdunix.ch> <20090324133803.38d6cfd0@ernst.jennejohn.org> X-Mailer: Apple Mail (2.930.3) 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 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 19:56:22 -0000 Hi Am 24.03.2009 um 13:38 schrieb Gary Jennejohn: > 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. Thanks. Didn't know that. > > >> 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. I wiped my /src and /obj, fetched the src code again from cvsup.freebsd.org. Nothing changed. I still get the same error. I don't use any special compile option. Regards, Thomas Vogt