Date: Wed, 20 Nov 2019 00:33:19 +0300 From: Slawa Olhovchenkov <slw@zxy.spb.ru> To: freebsd-stable@freebsd.org Subject: Access to NETMAP from c++ program Message-ID: <20191119213319.GD38096@zxy.spb.ru>
next in thread | raw e-mail | index | archive | help
Is this posible (now) for access to NETAMP from C++? I am see headers conflict: In file included from /usr/include/net/netmap_user.h:104: In file included from /usr/include/net/netmap.h:812: /usr/include/stdatomic.h:141:21: error: reference to 'memory_order' is ambiguous atomic_thread_fence(memory_order __order __unused) ^ /usr/include/stdatomic.h:134:3: note: candidate found by name lookup is 'memory_order' } memory_order; ^ /usr/include/c++/v1/atomic:585:3: note: candidate found by name lookup is 'std::__1::memory_order' } memory_order; ^ Yes, I am need <atomic> in C++ program. Include <netmap_user.h> before <atomic> also don't work, w/ different error.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191119213319.GD38096>