Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 2009 20:56:17 +0100
From:      Thomas Vogt <freebsdlists@bsdunix.ch>
To:        gary.jennejohn@freenet.de
Cc:        freebsd-current@freebsd.org
Subject:   Re: /usr/include/wchar.h:216: error: invalid use of 'restrict' in /lib32
Message-ID:  <AEB1FAC1-C0B3-4BF4-B516-1D6CD4C55336@bsdunix.ch>
In-Reply-To: <20090324133803.38d6cfd0@ernst.jennejohn.org>
References:  <49C8BC54.7050504@bsdunix.ch> <20090324133803.38d6cfd0@ernst.jennejohn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi

Am 24.03.2009 um 13:38 schrieb Gary Jennejohn:

> On Tue, 24 Mar 2009 11:56:20 +0100
> Thomas Vogt <freebsdlists@bsdunix.ch> 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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AEB1FAC1-C0B3-4BF4-B516-1D6CD4C55336>