This is the mail archive of the java@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]
Other format: [Raw text]

Re: gcc 4.3.0 vs pdftk 1.41


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.


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