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


Andrew,
    I'll see if I can testcase the problem. In the meanwhile, I verified that
this is a regression from gcc 4.2.3 which doesn't exhibit this problem and 
completely compiles pdftk-1.41 with the same patches.
                Jack

On Mon, Mar 24, 2008 at 11:32:57AM +0000, Andrew Haley wrote:
> Jack Howarth wrote:
> >   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.
> 
> I've no idea at all.  If you can put a complete test case somehwere, with full
> instructions about how to reproduce the problem, I can have a look.
> 
> Andrew.


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