[dpdk-dev] Issues with rte_hash_crc.h when compiling with C++

2015-05-05 Thread Pavel Odintsov
I fixed this issue with very dirty hacks. I commented mentioned here lines in file /usr/src/dpdk-2.0.0/x86_64-native-linuxapp-gcc/include/generic/rte_cpuflags.h: //enum rte_cpu_flag_t; //enum cpu_register_t; // static const struct feature_entry cpu_feature_table[]; //static inline int //rte_cpu_g

[dpdk-dev] Issues with rte_hash_crc.h when compiling with C++

2015-05-05 Thread Pavel Odintsov
Hello! Could anybody help me with this issue? :( In this file widely used enum forward declarations which completely incompatible with C++ and need some rewrite. On Wed, Apr 29, 2015 at 3:17 PM, Pavel Odintsov wrote: > Hello! > > I have C++ application compiles and works nice. But when I includ

[dpdk-dev] Issues with rte_hash_crc.h when compiling with C++

2015-04-29 Thread Pavel Odintsov
Hello! I have C++ application compiles and works nice. But when I include rte_hash_crc.h header everything goes away. CC main.o In file included from /usr/src/dpdk-2.0.0/x86_64-native-linuxapp-gcc/include/rte_cpuflags.h:46:0, from /usr/src/dpdk-2.0.0/x86_64-native-linuxapp-gcc/