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]
Other format: [Raw text]

Re: [PATCH]: clean up -Wc++-compat warnings from gcc files used in libgcc


On Tue, Jul 8, 2008 at 3:58 PM, Kaveh R. GHAZI <ghazi@caip.rutgers.edu> wrote:

> To me this doesn't seem like a big advantage to justify the change, and
> since almost everyone seems against it (sorry Gaby), I don't feel inclined
> to press the issue. I'm withdrawing this patch, and I'll submit something
> to avoid using -Wc++-compat on libgcc.

I understand your point, but I don't give up on the idea that the
entire compiler
including libgcc can be beneficially written so that it can be compiled with
a C++ compiler -- GCC would not be the first
compiler to do that.  One of the benefits being that if you have a bootstrapping
C++ compiler, you won't actually need to build a C compiler in order
to build a fully functional g++ and its libraries.
But, I'm a pragmatic person: It only took 5-6 years to get here.  So
maybe in 2013, we will move libgcc compilable  with a C++ compiler :-)

Many thanks for doing this.

>
>                --Kaveh
> --
> Kaveh R. Ghazi                  ghazi@caip.rutgers.edu
>


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