[Patch] Fix obsolete autoconf macros in configure.ac

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Wed Apr 23 17:43:00 GMT 2014


Steve Ellcey <sellcey@mips.com> writes:

> Actually, now that I look more at caddr_t, I see that we probably
> shouldn't be using it at all.  The only uses in the gcc subdirectory are
> for calls to mmap and munmap (in gcc.c, gcc-common.c, and
> config/host-solaris.c) and the latest definitions for mmap and munmap
> say it should use 'void *', not caddr_t.  I will submit a new

This may be irrelevant: Solaris (and other OSes) regularly provide
different compilation environments for various levels of standards
compatibility, and the default is not the latest.  Even apart from
Solaris, not everyone adheres to yesterday's version of POSIX.1.

> patch to remove the uses (and definition) of caddr_t from gcc.

Please be very careful here; this easily break several ports.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University



More information about the Gcc-patches mailing list