Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 1995 09:11:23 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        alm@netcom.com, hasty@netcom.com
Cc:        hackers@FreeBSD.org, phk@ref.tfs.com
Subject:   Re: patches for gcc-2.6.3?
Message-ID:  <199502272211.JAA20133@godzilla.zeta.org.au>

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

>[objc build failure]

>I solved this by conditionally including <stddef.h> instead of
><machine/ansi.h> in <stdio.h>, <time.h>, <string.h> and <sys/types.h>

gcc-2.6's includes have broken support for 4.4lite stuff, mostly in
<stddef.h> and <stdarg.h>.  The best fix is not to use and gcc includes.
This requires some changes to the Makefiles because the standard
configuration wants to use them.

>...
>I don't claim this to be a fix so much as a hack.  But the problem
>it addresses (permanently undef'ing SIZE_T) does need fixing one way or
>another....

The brokenness involves gcc's includes not really understanding when
to undef things.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199502272211.JAA20133>