qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: Richard Henderson <richard.henderson@linaro.org>,
	Laurent Vivier <laurent@vivier.eu>,
	qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, Magnus Damm <magnus.damm@gmail.com>,
	Yoshinori Sato <ysato@users.sourceforge.jp>
Subject: Re: [PATCH] linux-user/sh4/termbits: Silence warning about TIOCSER_TEMT double definition
Date: Fri, 1 Apr 2022 08:13:00 +0200	[thread overview]
Message-ID: <5949a880-d383-af09-0812-8ce1c7bfd082@redhat.com> (raw)
In-Reply-To: <25aa0bce-1153-6448-720a-5420385603b1@linaro.org>

On 31/03/2022 19.31, Richard Henderson wrote:
> On 3/31/22 10:22, Laurent Vivier wrote:
>> Le 30/03/2022 à 15:43, Thomas Huth a écrit :
>>> Seen while compiling on Alpine:
>>>
>>>   In file included from ../linux-user/strace.c:17:
>>>   In file included from ../linux-user/qemu.h:11:
>>>   In file included from ../linux-user/syscall_defs.h:1247:
>>>   ../linux-user/sh4/termbits.h:276:10: warning: 'TIOCSER_TEMT' macro 
>>> redefined
>>>    [-Wmacro-redefined]
>>>   # define TIOCSER_TEMT    0x01   /* Transmitter physically empty */
>>>            ^
>>>   /usr/include/sys/ioctl.h:50:9: note: previous definition is here
>>>   #define TIOCSER_TEMT 1
>>>           ^
>>>   1 warning generated.
>>>
>>> Add the TARGET_ prefix here, too, like we do it on the other architectures.
>>>
>>> Signed-off-by: Thomas Huth <thuth@redhat.com>
>>> ---
>>>   linux-user/sh4/termbits.h | 2 +-
>>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> Thomas,
>>
>> do you think it can wait 7.1?
> 
> It fixes a build problem, so I'd suggest putting it in for 7.0.

It's just a warning, so unless the user compiles with --enable-werror, it 
should be harmless. Anyway, I see that Laurent already picked it up (thanks!).

  Thomas




  reply	other threads:[~2022-04-01  6:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-30 13:43 [PATCH] linux-user/sh4/termbits: Silence warning about TIOCSER_TEMT double definition Thomas Huth
2022-03-30 13:54 ` Richard Henderson
2022-03-30 14:13 ` Philippe Mathieu-Daudé
2022-03-30 14:37 ` Laurent Vivier
2022-03-31 13:25 ` Yoshinori Sato
2022-03-31 16:22 ` Laurent Vivier
2022-03-31 17:31   ` Richard Henderson
2022-04-01  6:13     ` Thomas Huth [this message]
2022-03-31 19:28 ` Laurent Vivier

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=5949a880-d383-af09-0812-8ce1c7bfd082@redhat.com \
    --to=thuth@redhat.com \
    --cc=laurent@vivier.eu \
    --cc=magnus.damm@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=ysato@users.sourceforge.jp \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).