]> git.proxmox.com Git - mirror_qemu.git/commit
vnc: avoid deprecation warnings for SASL on OS X
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 4 Jun 2021 12:09:15 +0000 (14:09 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 15 Jun 2021 15:17:09 +0000 (17:17 +0200)
commitb65310ab34cbada47a5570c94d6f8f5efd39d171
tree66fe7509aafcb2c5a644635bcbc8e94e29b483b2
parent1ea06abceec61b6f3ab33dadb0510b6e09fb61e2
vnc: avoid deprecation warnings for SASL on OS X

Apple has deprecated sasl.h functions in OS X 10.11.  Therefore,
all files that use SASL API need to disable -Wdeprecated-declarations.
Remove the only use that is outside vnc-auth-sasl.c and add the
relevant #pragma GCC diagnostic there.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210604120915.286195-1-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
ui/vnc-auth-sasl.c
ui/vnc-auth-sasl.h
ui/vnc.c