Sat, 22 Jul 2023 13:49:40 +0100 Richard Henderson
:
> If this is with optimization enabled, the bug should be reported to gcc
> bugzilla.
> The compiler should easily prove the default case is unreachable.
This happens also with -O0 or without any -On, or without -Wall.
https://bugzilla.suse.c
On 7/21/23 07:54, Thomas Huth wrote:
On 20/07/2023 22.47, Olaf Hering wrote:
This is going on since a few weeks. I guess there is no check in CI to see if
qemu.git#master compiles in Tumbleweed.
We only have a check for openSUSE leap ...
Which compiler version is causing trouble for you?
Sinc
Fri, 21 Jul 2023 09:53:51 +0200 Thomas Huth :
> I thought that -Wreturn-type would be part of
> -Wall, but apparently it is only enabled by default for C++ in my version of
> GCC :-(
Hopefully gcc14 will fix that, and others. Only two decades late ...
Olaf
pgpx3QdBimJAf.pgp
Description: Di
On 21/07/2023 09.35, Olaf Hering wrote:
Fri, 21 Jul 2023 09:18:08 +0200 Thomas Huth :
Or are you compiling with -O0 or something similar?
Does the master branch compile for you with 'export CFLAGS="-O2 -Wall
-Werror=return-type"'?
Oh, this fails for me, too! I thought that -Wreturn-type wo
Fri, 21 Jul 2023 09:18:08 +0200 Thomas Huth :
> Or are you compiling with -O0 or something similar?
Does the master branch compile for you with 'export CFLAGS="-O2 -Wall
-Werror=return-type"'?
I prepared a patch to deal with it, and indeed it looks like the compiler might
be able to spot the f
On 21/07/2023 09.03, Olaf Hering wrote:
Fri, 21 Jul 2023 08:54:21 +0200 Thomas Huth :
Which compiler version is causing trouble for you?
Right now it is gcc 13, hopefully every compiler will error out with
-Werror=return-type.
I don't think this will happen - otherwise we would have seen t
Fri, 21 Jul 2023 08:54:21 +0200 Thomas Huth :
> Which compiler version is causing trouble for you?
Right now it is gcc 13, hopefully every compiler will error out with
-Werror=return-type.
I think it makes sense to replace Leap with Tumbleweed. We already know it
compiles fine with Leap, becau
On 20/07/2023 22.47, Olaf Hering wrote:
This is going on since a few weeks. I guess there is no check in CI to see if
qemu.git#master compiles in Tumbleweed.
We only have a check for openSUSE leap ...
Which compiler version is causing trouble for you?
Since the switch to meson submodules, be
This is going on since a few weeks. I guess there is no check in CI to see if
qemu.git#master compiles in Tumbleweed.
Since the switch to meson submodules, berkeley-testfloat-3 became mandatory. I
think in the past I was able to ignore this submodule and not export it, so the
following error di