This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] Fix obsolete autoconf macros in configure.ac
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Steve Ellcey <sellcey at mips dot com>
- Cc: Andreas Schwab <schwab at linux-m68k dot org>, <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 23 Apr 2014 19:43:04 +0200
- Subject: Re: [Patch] Fix obsolete autoconf macros in configure.ac
- Authentication-results: sourceware.org; auth=none
- References: <c2056f21-f4f5-4719-a540-881cd78d219b at BAMAIL02 dot ba dot imgtec dot org> <87bnvsroci dot fsf at igel dot home> <1398274346 dot 2803 dot 56 dot camel at ubuntu-sellcey>
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