This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH RFA: Remove extern "C" from java header file
- From: Andrew Pinski <pinskia at gmail dot com>
- To: Ian Lance Taylor <iant at google dot com>, Ian Lance Taylor <ian at airs dot com>
- Cc: java-patches at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Tue, 9 Jun 2009 22:17:39 -0400
- Subject: Re: PATCH RFA: Remove extern "C" from java header file
- References: <m3iqj4onne.fsf@pepe.airs.com>
On Tue, Jun 9, 2009 at 9:58 PM, Ian Lance Taylor<iant@google.com> wrote:
> The java frontend header file java/verify.h has an extern "C" wrapper.
> This breaks when compiling java with C++. ÂI can't think of any reason
> for having it. This patch removes it. ÂBootstrapped and tested on
> x86_64-unknown-linux-gnu. ÂOK for mainline?
How does it break? The original code in verify.h came from the
runtime which was originally written in C++ so they wanted to provide
a C interface of the C++ code.
Thanks,
Andrew Pinski