[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror |
Date: |
Fri, 24 Jul 2020 15:46:51 +0100 |
User-agent: |
Mutt/1.14.5 (2020-06-23) |
On Fri, Jul 24, 2020 at 04:32:19PM +0200, Thomas Huth wrote:
> Compiler warnings currently go unnoticed in our FreeBSD and macOS builds,
> since -Werror is only enabled for Linux and MinGW builds by default. So
> let's enable them here now, too.
> For macOS, that unfortunately means that we have to disable the vnc-sasl
> feature, since this is marked as deprecated in the macOS headers and thus
> generates a lot of deprecation warnings.
I wonder if its possible to add
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated"
...
#pragma GCC diagnostic pop
to silence just one source file ?
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- [PATCH 0/3] Improve FreeBSD and macOS jobs in the Cirrus-CI, Thomas Huth, 2020/07/24
- [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror, Thomas Huth, 2020/07/24
- Re: [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror,
Daniel P . Berrangé <=
- Re: [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror, Philippe Mathieu-Daudé, 2020/07/24
- Re: [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror, Daniel P . Berrangé, 2020/07/24
- Re: [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror, Thomas Huth, 2020/07/27
- Re: [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror, Peter Maydell, 2020/07/27
- Re: [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror, Thomas Huth, 2020/07/27
- Re: [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror, Peter Maydell, 2020/07/24
- Re: [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror, Christian Schoenebeck, 2020/07/24
- Re: [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror, Daniel P . Berrangé, 2020/07/27
- Re: [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror, Thomas Huth, 2020/07/28
- Re: [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror, Daniel P . Berrangé, 2020/07/28