Re: [dpdk-dev] [PATCH v5 1/4] eal: fix clang compilation error on x86

2019-01-15 Thread Honnappa Nagarahalli
> > From: Gavin Hu > > When CONFIG_RTE_FORCE_INTRINSICS is enabled for x86, the clang > compilation error was: > include/generic/rte_atomic.h:215:9: error: > implicit declaration of function '__atomic_exchange_2' > is invalid in C99 > include/generic/rte_a

[dpdk-dev] [PATCH v5 1/4] eal: fix clang compilation error on x86

2019-01-15 Thread gavin hu
From: Gavin Hu When CONFIG_RTE_FORCE_INTRINSICS is enabled for x86, the clang compilation error was: include/generic/rte_atomic.h:215:9: error: implicit declaration of function '__atomic_exchange_2' is invalid in C99 include/generic/rte_atomic.h:494