From: Peter Maydell <peter.maydell@linaro.org>
To: Stefan Hajnoczi <stefanha@redhat.com>
Cc: QEMU Developers <qemu-devel@nongnu.org>,
Eduardo Habkost <ehabkost@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 0/3] fix clang negative signed bit shift warning
Date: Mon, 16 Nov 2015 15:20:12 +0000 [thread overview]
Message-ID: <CAFEAcA-eKLw3z7rDoP5-1h0EhaQmnkRzyHoqf7no7J6W9-si5Q@mail.gmail.com> (raw)
In-Reply-To: <CAFEAcA8UYALC8iThLqB1pDB2=Ufb7QN7h854mo1-kwHQRXKvsQ@mail.gmail.com>
On 16 November 2015 at 14:23, Peter Maydell <peter.maydell@linaro.org> wrote:
> My clang-3.7 build (it's part of fbinfer) also complains about:
>
> /Users/pm215/src/qemu/hw/audio/fmopl.c:1085:39: warning: shifting a
> negative signed value is undefined [-Wshift-negative-value]
> data = Limit( outd[0] , OPL_MAXOUT, OPL_MINOUT );
> ^~~~~~~~~~
> /Users/pm215/src/qemu/hw/audio/fmopl.c:75:28: note: expanded from
> macro 'OPL_MINOUT'
> #define OPL_MINOUT (-0x8000<<OPL_OUTSB)
> ~~~~~~~^
I sent a patch for that one. The MIPS stuff I'll leave for somebody
else at least for now...
thanks
-- PMM
next prev parent reply other threads:[~2015-11-16 15:20 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-10 15:57 [Qemu-devel] [PATCH 0/3] fix clang negative signed bit shift warning Stefan Hajnoczi
2015-11-10 15:57 ` [Qemu-devel] [PATCH 1/3] monitor: avoid clang shifting negative signed warning Stefan Hajnoczi
2015-11-13 15:37 ` Eduardo Habkost
2015-11-10 15:57 ` [Qemu-devel] [PATCH 2/3] tpm: " Stefan Hajnoczi
2015-11-10 15:57 ` [Qemu-devel] [PATCH 3/3] disas/arm: " Stefan Hajnoczi
2015-11-10 17:33 ` Paolo Bonzini
2015-11-10 17:48 ` Peter Maydell
2015-11-10 17:59 ` Paolo Bonzini
2015-11-10 18:52 ` Markus Armbruster
2015-11-10 19:51 ` Steven Noonan
2015-11-10 20:06 ` Markus Armbruster
2015-11-10 20:17 ` Steven Noonan
2015-11-10 20:18 ` Paolo Bonzini
2015-11-10 16:04 ` [Qemu-devel] [PATCH 0/3] fix clang negative signed bit shift warning Peter Maydell
2015-11-16 14:23 ` Peter Maydell
2015-11-16 15:20 ` Peter Maydell [this message]
2015-11-17 3:50 ` Stefan Hajnoczi
2015-11-17 3:53 ` Stefan Hajnoczi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFEAcA-eKLw3z7rDoP5-1h0EhaQmnkRzyHoqf7no7J6W9-si5Q@mail.gmail.com \
--to=peter.maydell@linaro.org \
--cc=ehabkost@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.