From: Hrvoje Zeba <[email protected]>
To: [email protected]
Subject: Re: [RFC PATCH] Fix usage of stdatomic.h for C++ compilers
Date: Sat, 27 Jun 2020 01:59:10 -0400 [thread overview]
Message-ID: <CAEsUgYiSXD0tamM8Du_OBgfoGHLw6f5C4Z09+4Rh=30Ttvn=9g@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
On Sat, Jun 27, 2020 at 1:55 AM Hrvoje Zeba <[email protected]> wrote:
>
> Since b9c0bf79aa8, liburing.h doesn't compile with C++ compilers. C++
> provides it's own <atomic> interface and <stdatomic.h> can't be used. This
> is a minimal change to use <atomic> variants where needed.
>
I've tested this with gcc 10.1.0 and clang 10.0.0 and did some limited
testing. Seemed fine but somebody more knowledgeable should also take
a look.
next prev parent reply other threads:[~2020-06-27 5:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-27 5:55 [RFC PATCH] Fix usage of stdatomic.h for C++ compilers Hrvoje Zeba
2020-06-27 5:59 ` Hrvoje Zeba [this message]
2020-06-27 15:27 ` Bart Van Assche
2020-06-27 15:39 ` Hrvoje Zeba
2020-06-27 16:23 ` Bart Van Assche
2020-06-27 16:42 ` Hrvoje Zeba
2020-06-28 13:35 ` Jens Axboe
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='CAEsUgYiSXD0tamM8Du_OBgfoGHLw6f5C4Z09+4Rh=30Ttvn=9g@mail.gmail.com' \
[email protected] \
[email protected] \
/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