pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

boost and gcc 5.4.0

On -current/amd64 with gcc, I am seeing build failures in libreoffice:

/tmp/pkgsrc/misc/libreoffice/work.x86_64/.buildlink/include/boost/ptr_container/detail/reversible_ptr_container.hpp:700:20: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
        return std::auto_ptr<this_type>( new this_type( this->begin(), this->end() ) ); \

/usr/include/g++/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;

(tried and failed the EXTRA_FLAGS+=-Wno-deprecated-declarations trick - clearly "EXTRA_FLAGS" isn't the right one here.)

and cclive:

/tmp/pkgsrc/net/cclive/work.x86_64/.buildlink/include/boost/type_traits/detail/template_arity_spec.hpp:13:84: note: #pragma message: NOTE: Use of this header (template_arity_spec.hpp) is deprecated
 # pragma message("NOTE: Use of this header (template_arity_spec.hpp) is deprecated")
cc/file.cpp:248:6: error: prototype for 'bool cc::file::write(const media&, CURL*) const' does not match any in class 'cc::file'
 bool file::write(const quvi::media& m, CURL *curl) const
In file included from ./ccfile:1:0,
                 from ./cc/progressbar.h:21,
                 from ./ccprogressbar:1,
                 from cc/file.cpp:51:
./cc/file.h:42:8: error: candidate is: bool cc::file::write(const media&, void*) const
   bool write(const quvi::media&, void*) const;

It looks more like a boost issue than individual packages? Thoughts?



Home | Main Index | Thread Index | Old Index