cirrus.yml: Compile macOS with -Werror
commitd76efedaeee390e8752b90215d335d0bf5fedada
authorThomas Huth <thuth@redhat.com>
Mon, 27 Jul 2020 15:24:26 +0000 (27 17:24 +0200)
committerThomas Huth <thuth@redhat.com>
Thu, 3 Sep 2020 10:46:56 +0000 (3 12:46 +0200)
tree14ded70b4bd72f5d87b319e8df0a94c8bd5de6d3
parent91bedaaeb6e192a182cc51cdd7a7e61e74b8d525
cirrus.yml: Compile macOS with -Werror

Compiler warnings currently go unnoticed in our macOS builds, since -Werror
is only enabled for Linux and MinGW builds by default. So let's enable them
here now, too.
Unfortunately, the sasl header is marked as deprecated in the macOS headers
and thus generates a lot of deprecation warnings. Thus we have to also use
-Wno-error=deprecated-declarations to be able to compile the code here.

Message-Id: <20200728074405.13118-4-thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
.cirrus.yml