This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [g++,bootstrap] Conflict between -fhonor-std and -fnew-abi
- To: Branko Čibej <branko dot cibej at hermes dot si>
- Subject: Re: [g++,bootstrap] Conflict between -fhonor-std and -fnew-abi
- From: Nathan Sidwell <nathan at codesourcery dot com>
- Date: Sat, 06 May 2000 12:50:07 +0100
- CC: gcc-patches at gcc dot gnu dot org
- References: <3913FDFE.B5BF0EBA@hermes.si>
Branko Hibej wrote:
> While building the runtime during bootstrap on sparc-sun-solaris2.6 with
> --enable-libstdcxx-v3 --enable-new-gxx-abi, gcc/cp/inc/cxxabi.h
> includes <stddef.h>, then refers to std::ptrdiff_t which isn't
Yes, others have pointed out similar problems. I'll be installing
some patches to make the c++ runtime independant of -honorstd, or
wherther cstddef is accessible during the build etc -- we
have to be able to build with/without a conformant libstdcxx etc during
the chaingeover, so I'll be using __PTRDIFF_TYPE__ etc and not
yanking in stddef.h or cstddef. The same problem exists in <new> which
pulls in stddef.h, and therefore polutes the global namespace.
I would have done this a couple of weeks ago, but I suffered computer
failure :-( Those patches should be in in a couple of days. Please be
patient.
nathan
--
Dr Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org