mqmgateway/libmodmqttsrv/modmqtt.cpp: In member function \
‘boost::shared_ptr modmqttd::ModMqtt::initConverterPlugin(const string&)’:
mqmgateway/libmodmqttsrv/modmqtt.cpp:242:61: error: ‘import’ is not a member of ‘boost::dll’
242
boost::shared_ptr plugin = boost::dll::import(
^~
mqmgateway/libmodmqttsrv/modmqtt.cpp:242:83: error: expected primary-expression before ‘>’ token
242
boost::shared_ptr plugin = boost::dll::import(
^
mqmgateway/unittests/exprconv_tests.cpp: In function ‘void C_A_T_C_HT_E_S_T____0()’:
mqmgateway/unittests/exprconv_tests.cpp:11:49: error: ‘boost_dll_import’ was not declared in this scope
11
boost::shared_ptr plugin = boost_dll_import(
^~~~
mqmgateway/unittests/exprconv_tests.cpp:11:81: error: expected primary-expression before ‘>’ token
11
boost::shared_ptr plugin = boost_dll_import(
^
mqmgateway/unittests/exprconv_tests.cpp: In function ‘void C_A_T_C_HT_E_S_T____2()’:
mqmgateway/unittests/exprconv_tests.cpp:33:61: error: ‘import’ is not a member of ‘boost::dll’
33
boost::shared_ptr plugin = boost::dll::import(
^~
mqmgateway/unittests/exprconv_tests.cpp:33:83: error: expected primary-expression before ‘>’ token
33
boost::shared_ptr plugin = boost::dll::import(
It it caused by a breaking change introduced in boost 1.76[1].
Fixes the following compilation errors:
~mqmgateway/libmodmqttsrv/modmqtt.cpp:242:83: error: expected primary-expression before ‘>’ token 242~~~mqmgateway/unittests/exprconv_tests.cpp:11:81: error: expected primary-expression before ‘>’ token 11~mqmgateway/unittests/exprconv_tests.cpp:33:83: error: expected primary-expression before ‘>’ token 33It it caused by a breaking change introduced in boost 1.76[1].
[1] https://www.boost.org/users/history/version_1_76_0.html
Signed-off-by: Damian Wrobel dwrobel@ertelnet.rybnik.pl