Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

class "amqp_bytes_t_" has no member "c_str" #86

Closed
DimasVeliz opened this issue Jul 11, 2020 · 1 comment
Closed

class "amqp_bytes_t_" has no member "c_str" #86

DimasVeliz opened this issue Jul 11, 2020 · 1 comment

Comments

@DimasVeliz
Copy link

Hi there, I am posting here cuz whenever I try to compile using make I get this error on the title, from what I see, it happens due to a mismatch between the AMQPQueue class definition and its implementation. In the class definition there is a private struct named "amqp_bytes_t_" which is used in some functions, whereas, in the implementation, they are using std::string. This error is repeated multiple times and it goes back and forth as there are some functions in which this implicit conversion is not possible.

What to do with that?

@DimasVeliz
Copy link
Author

this solves it, #85 (comment) 👍

but then, you will need to fix another error which is this: invalid conversion from ‘char’ to ‘char*’ [-fpermissive]

to do that, go to line 49 and change the return statement to this: return (char*) '\0';

after that, just run make.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant