[dpdk-dev] Bugs in newest patches
Thomas Monjalon
thomas.monjalon at 6wind.com
Thu Nov 6 22:05:26 CET 2014
Hi,
2014-11-07 05:21, Keunhong Lee:
> 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
> +#ifdef __cplusplus
> +extern "C" {
> +#endif
It's already included in lib/librte_eal/common/include/arch/x86/rte_cycles.h
which includes lib/librte_eal/common/include/generic/rte_cycles.h.
You shouldn't include the generic header directly.
--
Thomas
More information about the dev
mailing list