[ovs-dev] [PATCH] ovs-atmoic: Fix C++ compilation issue

Ben Pfaff blp at ovn.org
Mon Oct 16 20:58:19 UTC 2017


On Mon, Oct 16, 2017 at 11:43:13AM -0700, Yi-Hung Wei wrote:
> The _Atomic keyword used in stdatomic.h is not supported in g++ [1].
> This patch adds additional checks that make g++ to use the right header file.
> 
> [1]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60932
> 
> Fixes: 9c463631e8145 ("ovs-atomic: Report error for contradictory configuration.")
> Reported-by: Shireesh Kumar Singh <shireeshkum at vmware.com>
> Signed-off-by: Yi-Hung Wei <yihung.wei at gmail.com>

Hmm, this is interesting, but I think that we can do a little better.
How about this?
https://mail.openvswitch.org/pipermail/ovs-dev/2017-October/339767.html


More information about the dev mailing list