Re: gcc 4.3.0 vs pdftk 1.41

David Daney <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.