* [PATCH-for-5.0] .travis.yml: Build OSX 10.14 with Xcode 10.0
@ 2020-04-09 19:06 Philippe Mathieu-Daudé
2020-04-09 21:04 ` Alex Bennée
0 siblings, 1 reply; 2+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-04-09 19:06 UTC (permalink / raw)
To: qemu-devel
Cc: Fam Zheng, Alex Bennée, Philippe Mathieu-Daudé,
Daniel P . Berrangé
Travis recently made a change which generates various warnings
such [*]:
CC utils.o
In file included from cs.c:11:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:64:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:93:16: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
unsigned char *_base;
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:93:16: note: insert '_Nullable' if the pointer may be null
unsigned char *_base;
^
_Nullable
We only aim to support MacOS 10.14 and 10.15. 10.14 comes with
Xcode 10.0. These warnings are not emitted with this Xcode version,
so switch back to it.
[*] https://travis-ci.org/github/qemu/qemu/jobs/673000302#L1387
Reported-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
.travis.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 2fd63eceaa..7c92206ea3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -272,12 +272,12 @@ jobs:
# MacOSX builds - cirrus.yml also tests some MacOS builds including latest Xcode
- - name: "OSX Xcode 10.3"
+ - name: "OSX 10.14 (Xcode 10.0)"
env:
- BASE_CONFIG="--disable-docs --enable-tools"
- CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu"
os: osx
- osx_image: xcode10.3
+ osx_image: xcode10
compiler: clang
addons:
homebrew:
--
2.21.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH-for-5.0] .travis.yml: Build OSX 10.14 with Xcode 10.0
2020-04-09 19:06 [PATCH-for-5.0] .travis.yml: Build OSX 10.14 with Xcode 10.0 Philippe Mathieu-Daudé
@ 2020-04-09 21:04 ` Alex Bennée
0 siblings, 0 replies; 2+ messages in thread
From: Alex Bennée @ 2020-04-09 21:04 UTC (permalink / raw)
To: Philippe Mathieu-Daudé
Cc: Fam Zheng, Daniel P . Berrangé, qemu-devel
Philippe Mathieu-Daudé <philmd@redhat.com> writes:
> Travis recently made a change which generates various warnings
> such [*]:
>
> CC utils.o
> In file included from cs.c:11:
> In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:64:
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:93:16: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
> unsigned char *_base;
> ^
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:93:16: note: insert '_Nullable' if the pointer may be null
> unsigned char *_base;
> ^
> _Nullable
>
> We only aim to support MacOS 10.14 and 10.15. 10.14 comes with
> Xcode 10.0. These warnings are not emitted with this Xcode version,
> so switch back to it.
>
> [*] https://travis-ci.org/github/qemu/qemu/jobs/673000302#L1387
>
> Reported-by: Daniel P. Berrangé <berrange@redhat.com>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Queued to for-5.0/more-random-fixes, thanks.
> ---
> .travis.yml | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/.travis.yml b/.travis.yml
> index 2fd63eceaa..7c92206ea3 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -272,12 +272,12 @@ jobs:
>
> # MacOSX builds - cirrus.yml also tests some MacOS builds including latest Xcode
>
> - - name: "OSX Xcode 10.3"
> + - name: "OSX 10.14 (Xcode 10.0)"
> env:
> - BASE_CONFIG="--disable-docs --enable-tools"
> - CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu"
> os: osx
> - osx_image: xcode10.3
> + osx_image: xcode10
> compiler: clang
> addons:
> homebrew:
--
Alex Bennée
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-09 21:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-09 19:06 [PATCH-for-5.0] .travis.yml: Build OSX 10.14 with Xcode 10.0 Philippe Mathieu-Daudé
2020-04-09 21:04 ` Alex Bennée
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.