This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: libstdc++-v3 PATCH for bootstrap error related toptrdiff_t
- To: pfeifer at dbai dot tuwien dot ac dot at
- Subject: Re: libstdc++-v3 PATCH for bootstrap error related toptrdiff_t
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Thu, 16 Nov 2000 11:29:42 -0800
- Cc: gcc-patch at gcc dot gnu dot org, libstdc++ at sources dot redhat dot com, obrien at nuxi dot com, rittle at latour dot rsch dot comm dot mot dot com
- Organization: CodeSourcery, LLC
- References: <Pine.BSF.4.30.0011161544340.78493-100000@taygeta.dbai.tuwien.ac.at>
I'm afraid your patch
2000-11-16 Mark Mitchell <mark@codesourcery.com>
* config/c_io_stdio.h (streamsize): Make it a typedef for
ptrdiff_t.
(wstreamsize): Likewise.
breaks bootstrap on i386-unknown-freebsd4.1 with --enable-cstdio=stdio and
also sparc-sun-solaris2.8 seems to be affected, as ptrdiff_t is defined in
stdlib.h resp. cstddef (according to ISO C++) which we don't include.
Doh! Should have thought of that.
How about the following patch? I have not been able to do a full bootstrap
due to other problems, but it definitely solves the problem at hand.
That's fine.
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com