[dpdk-dev] [PATCH v14 5/6] lib: added new library for latency stats

Remy Horton remy.horton at intel.com
Wed Apr 5 16:34:46 CEST 2017


On 05/04/2017 15:24, Thomas Monjalon wrote:
> 2017-03-30 22:01, Remy Horton:
[..]
> lib/librte_latencystats/rte_latencystats.c:204:27: fatal error:
> using integer absolute value function 'abs'
> when argument is of floating point type [-Wabsolute-value]
>                 glob_stats->jitter +=  (abs(prev_latency - latency[i])

Looks like Clang being stricter than GCC..


> Do you want I fix it for you?

Ok with me.

..Remy


More information about the dev mailing list