google / oss-fuzz

OSS-Fuzz - continuous fuzzing for open source software.
https://google.github.io/oss-fuzz
Apache License 2.0
10.13k stars 2.16k forks source link

use `apt` boost package to build libtorrent #12040

Closed arvidn closed 3 weeks ago

arvidn commented 4 weeks ago

as newer compilers have deprecated some features used by old boost. Specifically:

/src/boost/boost/container_hash/hash.hpp:131:33: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
  131 |         struct hash_base : std::unary_function<T, std::size_t> {};
      |                            ~~~~~^~~~~~~~~~~~~~
      |                                 __unary_function
github-actions[bot] commented 4 weeks ago

arvidn has previously contributed to projects/libtorrent. The previous PR was #4416