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

Warnings when compiling under MSVC #591

Closed
svaningelgem opened this issue Dec 28, 2019 · 1 comment · Fixed by #593
Closed

Warnings when compiling under MSVC #591

svaningelgem opened this issue Dec 28, 2019 · 1 comment · Fixed by #593

Comments

@svaningelgem
Copy link

Simple fix: amqp_private.h:

#define AMQP_UNUSED __pragma(warning(suppress : 4100))

Instead of

#define AMQP_UNUSED
@svaningelgem
Copy link
Author

Watch out that under MSVC (amqp_tcp_socket :: amqp_tcp_socket_send) has a flags parameter which is also unused under MSVC.

alanxz added a commit that referenced this issue Dec 30, 2019
does not provide any sort of optimization help for win32.

Fixes #591
alanxz added a commit that referenced this issue Dec 30, 2019
does not provide any sort of optimization help for win32.

Fixes #591
alanxz added a commit that referenced this issue Dec 30, 2019
does not provide any sort of optimization help for win32.

Fixes #591
alanxz added a commit that referenced this issue Dec 30, 2019
does not provide any sort of optimization help for win32.

Fixes #591
alanxz added a commit that referenced this issue Dec 30, 2019
does not provide any sort of optimization help for win32.

Fixes #591
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 a pull request may close this issue.

1 participant