From: Mike Frysinger via Gdb-patches <gdb-patches@sourceware.org>
To: Luis Machado <luis.machado@linaro.org>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH,v2] [sim] Fix build failure in d10v sim
Date: Tue, 11 May 2021 17:54:54 -0400 [thread overview]
Message-ID: <YJr9LgS7xHF+XB9g@vapier> (raw)
In-Reply-To: <20210511130743.3672216-1-luis.machado@linaro.org>
On 11 May 2021 10:07, Luis Machado wrote:
> + /* Make sure we have the right structure for the following memset. */
> + _Static_assert ((uintptr_t) &State == (uintptr_t) &State.regs,
> + "&State != &State.regs");
we require C11, so you can include assert.h & use static_assert().
-mike
next prev parent reply other threads:[~2021-05-11 21:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-10 19:14 [PATCH] " Luis Machado via Gdb-patches
2021-05-10 22:30 ` Mike Frysinger via Gdb-patches
2021-05-11 2:01 ` Luis Machado via Gdb-patches
2021-05-11 20:48 ` Mike Frysinger via Gdb-patches
2021-05-11 13:07 ` [PATCH,v2] " Luis Machado via Gdb-patches
2021-05-11 21:54 ` Mike Frysinger via Gdb-patches [this message]
2021-05-12 3:59 ` Luis Machado via Gdb-patches
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=YJr9LgS7xHF+XB9g@vapier \
--to=gdb-patches@sourceware.org \
--cc=luis.machado@linaro.org \
--cc=vapier@gentoo.org \
/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