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
With boost 1.83.0 unit tests still build fine, but from 1.84.0 and later building fails. For example:
azmq> /build/source/test/cpp20/socket/main.cpp:32:18: error: 'BOOST_CURRENT_FUNCTION' was not declared in this scope; did you mean 'BOOST_CURRENT_LOCATION'?
azmq> 32 | sb.bind(subj(BOOST_CURRENT_FUNCTION));
azmq> | ^~~~~~~~~~~~~~~~~~~~~~
azmq> | BOOST_CURRENT_LOCATION
GCC's suggestion is in this case wrong and instead one probably needs to #include <boost/current_function.hpp>. The file and macro is available since boost 1.65.0. Maybe it was transitively included in previous boost releases, but is not anymore so.
The text was updated successfully, but these errors were encountered:
With boost 1.83.0 unit tests still build fine, but from 1.84.0 and later building fails. For example:
GCC's suggestion is in this case wrong and instead one probably needs to
#include <boost/current_function.hpp>
. The file and macro is available since boost 1.65.0. Maybe it was transitively included in previous boost releases, but is not anymore so.The text was updated successfully, but these errors were encountered: