21 Sep 2011 10:06
Re: PDFedit 0.4.5 comile failure on gcc/g++ 4.1.2
On Tue, Sep 20, 2011 at 03:08:18PM -0500, Bollinger, John C wrote: > Hello All, Hi, > > I am attempting to build PDFedit v 0.4.5 on CentOS 5, using the > distro's provided GCC 4.1.2 toolchain. I am encountering a cluster > of related compilation errors that appear the same as, or at least > closely related to, the one discussed in this previous thread: > > http://sourceforge.net/mailarchive/forum.php?thread_name=20100521074048.GG4000%40tiehlicka.suse.cz&forum_name=pdfedit-support > > I encounter exactly the same compiler error that the OP in that thread reported, plus a few more: > > g++ -c -g -O2 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fexceptions -fstack-protector -pipe -posix -ansi -std=c++98 -pedantic -I. -I/home/jbolling/rpm/BUILD/pdfedit-0.4.5/src -I/home/jbolling/rpm/BUILD/pdfedit-0.4.5/src/xpdf/ -I/usr/include -I/usr/include/freetype2 -I/usr/include -o cpagecontents.o cpagecontents.cc > cpagecontents.cc: In member function 'void pdfobjects::CPageContents::addInlineImage(const std::vector<char, std::allocator<char> >&, const libs::Point&, const libs::Point&)': > cpagecontents.cc:543: warning: passing 'const double' for argument 1 to 'pdfobjects::CObjectSimple<Tp>::CObjectSimple(const typename pdfobjects::PropertyTraitSimple<Tp>::value&) [with pdfobjects::PropertyType Tp = pInt]' > /usr/include/boost/noncopyable.hpp: In copy constructor 'pdfobjects::CObjectSimple<pInt>::CObjectSimple(const pdfobjects::CObjectSimple<pInt>&)': > /usr/include/boost/noncopyable.hpp:27: error: 'boost::noncopyable_::noncopyable::noncopyable(const boost::noncopyable_::noncopyable&)' is private > /home/jbolling/rpm/BUILD/pdfedit-0.4.5/src/kernel/cobjectsimple.h:104: error: within this context(Continue reading)
RSS Feed