[dpdk-dev] Bugs in newest patches
Keunhong Lee
dlrmsghd at gmail.com
Thu Nov 6 21:21:33 CET 2014
Hi.
I just pulled new patches from the master branch, and found that it doesn't
work with C++.
in lib/librte_eal/common/include/generic/rte_cycles.h
missing opening extern "C" in
commit fa4001c30ee9d9ecfb3ca5d93d68ef0394e9950a
here is the fix.
-----
* Simple Time Reference Functions (Cycles and HPET).
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <stdint.h>
#include <rte_debug.h>
#include <rte_atomic.h>
----
Keunhong.
More information about the dev
mailing list