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 obsolete autoconf macros in configure.ac


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


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