This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
gcc 4.3.0 vs pdftk 1.41
- From: Jack Howarth <howarth at bromo dot msbb dot uc dot edu>
- To: java at gcc dot gnu dot org
- Date: Sun, 23 Mar 2008 21:26:40 -0400
- Subject: gcc 4.3.0 vs pdftk 1.41
Has anyone been able to build pdftk with gcc 4.3.0? Using
the debian patches from their pdftk-1.41-1 package the
build almost completes. It fails at the very end with...
/sw/lib/gcc4.3/bin/g++ pdftk.cc -I../java_libs -O3 -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -fdollars-in-identifiers -DPDFTK_VER=\"1.41\" -c
/sw/lib/gcc4.3/lib/gcc/i686-apple-darwin9/4.3.1/../../../../include/c++/4.3.1/bits/ostream_insert.h: In function 'std::basic_ostream<_CharT, _Traits>& std::__ostream_insert(std::basic_ostream<_CharT, _Traits>&, const _CharT*, std::streamsize) [with _CharT = char, _Traits = std::char_traits<char>]':
/sw/lib/gcc4.3/lib/gcc/i686-apple-darwin9/4.3.1/../../../../include/c++/4.3.1/ostream:517: instantiated from 'std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char*) [with _Traits = std::char_traits<char>]'
pdftk.cc:114: instantiated from here
/sw/lib/gcc4.3/lib/gcc/i686-apple-darwin9/4.3.1/../../../../include/c++/4.3.1/bits/ostream_insert.h:107: error: mixing C++ and Java catches in a single translation unit
This occurs with the 20080320 gcc-4.3 snapshot. Thanks in advance for any insights on how this
issue can be worked around.
Jack