You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compilation fails on FreeBSD 14.1 because comboaddress.hh uses std::binary_function which (according to [1]) has been deprecated in C++11 and removed from C++17. Clang 18.1.5 (the default compiler on FreeBSD 14.1) fails as a result. It looks like simplesocket already got a fix for that earlier this year (3af5e1d449128d0f3c), but the submodule pointers haven't been updated so galmon is still pulling in the commit without the fix.
In file included from ubxtool.cc:34:
ext/powerblog/ext/simplesocket/comboaddress.hh:157:40: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
157 | struct addressOnlyEqual: public std::binary_function<ComboAddress, ComboAddress, bool>
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
The text was updated successfully, but these errors were encountered:
This is still a problem. The solution turns out to be as easy as updating the ext/powerblog/ext/simplesocket submodule which has had the fix for over a year now.
Compilation fails on FreeBSD 14.1 because comboaddress.hh uses std::binary_function which (according to [1]) has been deprecated in C++11 and removed from C++17. Clang 18.1.5 (the default compiler on FreeBSD 14.1) fails as a result. It looks like simplesocket already got a fix for that earlier this year (3af5e1d449128d0f3c), but the submodule pointers haven't been updated so galmon is still pulling in the commit without the fix.
[1] https://en.cppreference.com/w/cpp/utility/functional/binary_function
The text was updated successfully, but these errors were encountered: