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.
_______________________________________________
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to