gcc 4.3.0 vs pdftk 1.41

David Daney ddaney@avtrex.com
Tue Mar 25 16:01:00 GMT 2008


Jack Howarth wrote:
> Andrew,
>    FYI, I did file a bugzilla report on this issue...
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35689
> 
> ...and Andrew Pinksi declared the usage of c++ i/o 
> in pdftk.cc, while using java exceptions, as invalid.
> Shouldn't http://gcc.gnu.org/gcc-4.3/changes.html
> mention this new strictness in g++ of 4.3.x?
> Also, were any of the java developers aware of
> this change? It would have been nice if this
> could have been a warning in the 4.3.x releases
> to give developers time to adjust.
>                   Jack
>  

As far as I know the mixing of C++ and java exceptions has never been 
supported:

http://gcc.gnu.org/onlinedocs/gcc-3.3.6/gcj/Exception-Handling.html


That it used to compile in the past is unfortunate, but I don't think it 
could have ever been considered 'correct' code.

David Daney.



More information about the Java mailing list