Re: [ovs-dev] Clang compile failure with C11 atomics

2013-08-20 Thread Ben Pfaff
On Mon, Aug 19, 2013 at 05:31:36AM -0400, Ed Maste wrote: > Commit 1514b275 introduces the use of atomic_read_explicit for > once-only initializers. When using C11 atomics this becomes > atomic_load_explicit, and the first argument needs to be non-const -- > with FreeBSD HEAD's in-tree clang 3.3 th

[ovs-dev] Clang compile failure with C11 atomics

2013-08-19 Thread Ed Maste
Commit 1514b275 introduces the use of atomic_read_explicit for once-only initializers. When using C11 atomics this becomes atomic_load_explicit, and the first argument needs to be non-const -- with FreeBSD HEAD's in-tree clang 3.3 the build fails for me with: In file included from lib/bfd.c:34: ./