Bernd Walter wrote:
> On Mon, Jul 08, 2002 at 07:26:26PM -0700, Terry Lambert wrote:
> > I posted a patch for this already, based on Garrett Wollman's
> > point about where theings are defined (actually, it requires a
> > non-definition one up from the one Garrett noted as the problem).
> I did a complete reinstall of /usr/includes without a difference, but
> my source is from 3. Jul.
> Do you remember which commit it fixed?
> I wasn't able to find one that would explain a difference.
Looking at the sources, my patch was apparently not committed:
Please apply the attached patch. It only deals with the problem for
i386. A similar patch is needed for other architectures.
RCS file: /usr/cvs/src/sys/i386/include/ansi.h,v
retrieving revision 184.108.40.206
diff -c -r220.127.116.11 ansi.h
*** ansi.h 3 Jun 2001 17:15:54 -0000 18.104.22.168
--- ansi.h 18 Jun 2002 02:57:49 -0000
*** 56,62 ****
--- 56,64 ----
#define _BSD_SSIZE_T_ int /* byte count or error */
#define _BSD_TIME_T_ long /* time()... */
#define _BSD_TIMER_T_ int /* timer_gettime()... */
+ #if __GNUC__ < 3 || !defined(__cplusplus)
#define _BSD_WCHAR_T_ _BSD_CT_RUNE_T_ /* wchar_t (see below) */
#define _BSD_WINT_T_ _BSD_CT_RUNE_T_ /* wint_t (see below) */