Re: gcc 4.3.0 vs pdftk 1.41
Andrew Haley <[email protected]>
| Newsgroups | gmane.comp.gcc.java.devel |
|---|---|
| Message-ID | <[email protected]> |
David Daney wrote: > 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. I think all of us were amazed that it ever worked. That it did was by accident. > 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. Right. Andrew.