On Thu, Jan 18, 2024 at 03:59:05PM +0100, Ilya Maximets wrote:
> GCC 14 started to advertise c_atomic extension, older versions didn't
> do that.  Add check for __clang__, so GCC doesn't include headers
> designed for Clang.
> 
> Another option would be to prefer stdatomic implementation instead,
> but some older versions of Clang are not able to use stdatomic.h
> supplied by GCC as described in commit:
>   07ece367fb5f ("ovs-atomic: Prefer Clang intrinsics over <stdatomic.h>.")
> 
> This change fixes OVS build with GCC on Fedora Rawhide (40).
> 
> Reported-by: Jakob Meng <[email protected]>
> Signed-off-by: Ilya Maximets <[email protected]>

Recheck-request: github-robot
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to