On Thu, 2014-04-24 at 10:23 +0200, Richard Biener wrote:
> >> > +AC_CHECK_TYPES([ssize_t])
> >> > +AC_CHECK_TYPES([caddr_t])
> >
> > But I am not sure what header file this code would go in.
>
> In system.h.
>
> > Steve Ellcey
FYI: I ran into problems defining ssize_t and caddr_t in system.h
b
On Wed, Apr 23, 2014 at 8:05 PM, Steve Ellcey wrote:
> On Wed, 2014-04-23 at 18:40 +0200, Andreas Schwab wrote:
>> "Steve Ellcey " writes:
>>
>> > diff --git a/gcc/configure.ac b/gcc/configure.ac
>> > index d789557..98acb1b 100644
>> > --- a/gcc/configure.ac
>> > +++ b/gcc/configure.ac
>> > @@ -1
On Wed, 2014-04-23 at 18:40 +0200, Andreas Schwab wrote:
> "Steve Ellcey " writes:
>
> > diff --git a/gcc/configure.ac b/gcc/configure.ac
> > index d789557..98acb1b 100644
> > --- a/gcc/configure.ac
> > +++ b/gcc/configure.ac
> > @@ -1083,8 +1083,8 @@ int main()
> >fi
> > fi
> >
> > -AC_CH
Steve Ellcey 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
>
On Wed, 2014-04-23 at 18:40 +0200, Andreas Schwab wrote:
> "Steve Ellcey " writes:
>
> > diff --git a/gcc/configure.ac b/gcc/configure.ac
> > index d789557..98acb1b 100644
> > --- a/gcc/configure.ac
> > +++ b/gcc/configure.ac
> > @@ -1083,8 +1083,8 @@ int main()
> >fi
> > fi
> >
> > -AC_CH
"Steve Ellcey " writes:
> diff --git a/gcc/configure.ac b/gcc/configure.ac
> index d789557..98acb1b 100644
> --- a/gcc/configure.ac
> +++ b/gcc/configure.ac
> @@ -1083,8 +1083,8 @@ int main()
>fi
> fi
>
> -AC_CHECK_TYPE(ssize_t, int)
> -AC_CHECK_TYPE(caddr_t, char *)
> +AC_CHECK_TYPES([ssi
The gcc configure.ac script is using an obsolete form of the AC_CHECK_TYPE
autoconf macro to check for caddr_t and ssize_t.
http://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/Obsolete-Macros.html#Obsolete-Macros
This usage is causing a build failure for me when building a windo