Open williamtu opened 3 years ago
configure:18872: checking stdatomic.h usability configure:18872: gcc -c -g -O2 conftest.c >&5 configure:18872: $? = 0 configure:18872: result: yes configure:18872: checking stdatomic.h presence configure:18872: gcc -E conftest.c configure:18872: $? = 0 configure:18872: result: yes configure:18872: checking for stdatomic.h
[1/228] Compiling C object lib/libofproto.a.p/crc32c.c.o [2/228] Compiling C object lib/libofproto.a.p/rtbsd.c.o FAILED: lib/libofproto.a.p/rtbsd.c.o cc -Ilib/libofproto.a.p -Ilib -I../lib -I. -I.. -Iinclude/openflow -I../include/openflow -Iinclude/openvswitch -I../include/openvswitch -Iinclude -I../include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g -fPIC -MD -MQ lib/libofproto.a.p/rtbsd.c.o -MF lib/libofproto.a.p/rtbsd.c.o.d -o lib/libofproto.a.p/rtbsd.c.o -c ../lib/rtbsd.c In file included from ../lib/ovs-thread.h:23, from ../lib/coverage.h:30, from ../lib/rtbsd.c:28: ../lib/ovs-atomic.h:333:10: error: #error "GCC 5+ should have"
333 | #error "GCC 5+ should have "
| ^~~~~
../lib/ovs-atomic.h:353:9: error: function definition declared 'typedef'
353 | typedef ATOMIC(bool) atomic_bool;
| ^
~