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 RFA: Remove extern "C" from java header file


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


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