Updated CNI FAQ patch

Bryce McKinlay bryce@waitaki.otago.ac.nz
Sun Jul 1 20:29:00 GMT 2001


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 ]




More information about the Java-patches mailing list