This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [gcc-in-cxx] replacing qsort with std::sort
- From: Ian Lance Taylor <iant at google dot com>
- To: Pedro LamarÃo <pedro dot lamarao at ccppbrasil dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 12 Aug 2009 02:59:01 -0700
- Subject: Re: [gcc-in-cxx] replacing qsort with std::sort
- References: <15727b460908111703l682ab204l39700c8bfde50577@mail.gmail.com>
Pedro LamarÃo <pedro.lamarao@ccppbrasil.org> writes:
> Also, is the gcc-in-cxx branch still active? Should my objective be to
> contribute patches to this branch?
The gcc-in-cxx branch is currently dead, having been merged into
mainline. We can choose to revive it for contributions like yours. I
would be interested in opinions from other developers on the best
approach here.
> On a side note, I've studied vec.h and found it hard to change.
> One reason is because this header is included by the gen*.c stuff,
> which is still being compiled by a C compiler, even when building with
> a C++ compiler is enabled.
> I've considered providing a separate version of vec.h when C++ is
> being used, to avoid infinite #ifdefs.
> Is this a good idea?
No. We should instead have the gen*.c code built with C++.
Ian