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
The functions Channel::CheckExchangeExists and Channel::CheckQueueExists both throw the following error when the library is linked to a c++ executable which is compiled with c++11 or newer.
terminate called after throwing an instance of 'AmqpClient::AmqpLibraryException'
what(): invalid AMQP data
The library SimpleAmqpClient itself was compiled with C++98
I'm using g++10, boost 1.71.0 and rabbitmq-c is compiled with -DENABLE_SSL_SUPPORT=OFF
edit: The four unit tests regarding these two functions fail with this error when line 10 of CMakeLists.txt is changed, for example to set(CMAKE_CXX_STANDARD 20). It might have to do something with boost::string_ref (?)
The text was updated successfully, but these errors were encountered:
NilsKintscher
changed the title
exception "invalid AMQP data" thrown when using c++ language revision newer than 03
exception "invalid AMQP data" thrown when using c++03 or newer
Jan 23, 2022
The functions
Channel::CheckExchangeExists
andChannel::CheckQueueExists
both throw the following error when the library is linked to a c++ executable which is compiled with c++11 or newer.-DENABLE_SSL_SUPPORT=OFF
edit: The four unit tests regarding these two functions fail with this error when line 10 of CMakeLists.txt is changed, for example to
set(CMAKE_CXX_STANDARD 20)
. It might have to do something with boost::string_ref (?)The text was updated successfully, but these errors were encountered: