Access to NETMAP from c++ program
Slawa Olhovchenkov
slw at zxy.spb.ru
Tue Nov 19 21:33:29 UTC 2019
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.
More information about the freebsd-stable
mailing list