xR3b0rn / dbcppp

C/C++ DBC file parser/tool
MIT License
225 stars 73 forks source link

include boost don't compile in C++17 (std::unary_function was removed) #140

Closed RangelReale closed 5 months ago

RangelReale commented 9 months ago

The included boost library uses std::unary_function which was removed in c++17, probably boost will need to be updated.

dbcppp/third-party/boost/boost/container_hash/hash.hpp:131:33: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
Apple clang version 15.0.0 (clang-1500.1.0.2.5)
Target: arm64-apple-darwin23.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin