From mboxrd@z Thu Jan 1 00:00:00 1970 From: Remy Horton Subject: Re: [PATCH v14 5/6] lib: added new library for latency stats Date: Wed, 5 Apr 2017 15:34:46 +0100 Message-ID: <83760691-bbcc-c9b3-ca9d-a6b29340bd8c@intel.com> References: <1490907662-27666-1-git-send-email-remy.horton@intel.com> <1490907662-27666-6-git-send-email-remy.horton@intel.com> <2528866.SURTCWTgWk@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, Harry van Haaren To: Thomas Monjalon , Reshma Pattan Return-path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 356151E20 for ; Wed, 5 Apr 2017 16:34:48 +0200 (CEST) In-Reply-To: <2528866.SURTCWTgWk@xps13> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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