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

Adds workaround to compile the project with clang -Wall -Werror #310

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kostyaregent
Copy link

I want to port a project that uses AMQP-CPP lib to Linux. I have to use clang with -Wall -Werror command-line arguments to compile the project. And as you know, AMQP-CPP lib can't be built by clang with -Wall -Werror because of warnings about virtual cast operators in Array and Table classes. This is an old issue and it seems that clang team is not going to fix it in the near future. I propose to make possibility to remove these cast operators by user using define before including the lib's header file.

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

Successfully merging this pull request may close these issues.

1 participant