This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] fix C++ warning bootstrap on sparc


On Wed, 2 Jul 2008, Andreas Tobler wrote:

> Do I go in the right direction with this?
>
> Adding a AC_CHECK_TYPES(caddr_t) to configure.ac
>
> and then doing this in ggc-common.c
>
> #ifndef HAVE_CADDR_T
> typedef char *caddr_t;
> #endif

I think AC_CHECK_TYPE (no "S" at the end) takes a type parameter to define
it for you in the event it can't find it.  So no need to modify
ggc-common.c.

		--Kaveh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]