/usr/include/wchar.h:216: error: invalid use of 'restrict' in /lib32

From: Thomas Vogt <freebsdlists_at_bsdunix.ch>
Date: Tue, 24 Mar 2009 11:56:20 +0100
Hello

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

src.conf:
WITHOUT_ATM =           TRUE
WITHOUT_PROFILE =       TRUE
WITHOUT_IPFILTER =      TRUE
WITHOUT_IPX =           TRUE
WITHOUT_BLUETOOTH =     TRUE
WITHOUT_HTML =          TRUE
WITHOUT_WIRELESS =      TRUE
WITHOUT_WPA_SUPPLICANT_EAPOL = TRU


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


What did i wrong?


Regards,
Thomas
Received on Tue Mar 24 2009 - 10:14:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:44 UTC