This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


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

Re: Updated CNI FAQ patch


Glenn Chambers wrote:

> +  // Due to the new exception-handling code implemented
> +  // in gcc version 3.0, the following line will fail
> +  // with an error about mixing exception types between
> +  // C++ and Java.  Factoring this code out into a
> +  // seperate function that does not include any Java
> +  // code solves the problem.
> +//  cout << "Hello, C++" << endl;
> +  callSTLcode();

Does anyone else consider this a bug? Or are CNI and libstdc++ doomed to be
mutually exclusive?

regards

  [ bryce ]



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