--- Comment #6 from pinskia at gcc dot gnu dot org 2008-03-25 01:15 ---
(In reply to comment #5)
> So it is meaningless now to attempt to set
>
> #pragma GCC java_exceptions
>
> in c++ code?
This is C++ code but it is CNI code also so setting that is ok.
-- Pinski
--
http://gcc.
--- Comment #5 from howarth at nitro dot med dot uc dot edu 2008-03-25
01:12 ---
So it is meaningless now to attempt to set
#pragma GCC java_exceptions
in c++ code?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35689
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-03-25 01:08 ---
Basically it is wrong that pdftk is using C++ I/O here really but instead java
I/O.
Anyways this is the correct error.
--
pinskia at gcc dot gnu dot org changed:
What|Removed
--- Comment #3 from howarth at nitro dot med dot uc dot edu 2008-03-25
01:05 ---
Created an attachment (id=15372)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15372&action=view)
compressed preprocessed source file for pdftk.cc
File generated with...
/sw/lib/gcc4.3/bin/g++ pdftk
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-03-25 01:03 ---
I don't think this is a GCC bug at all. libstdc++ can use exceptions freely
really since it is C++ code. Since there is no way to combine C++ and Java
exceptions in one TU, we reject the code. Now there is except