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]

Re: [g++,bootstrap] Conflict between -fhonor-std and -fnew-abi


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

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