Re: [RFC PATCH] Fix usage of stdatomic.h for C++ compilers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jun 27, 2020 at 1:55 AM Hrvoje Zeba <zeba.hrvoje@xxxxxxxxx> 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.



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux