From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP; 05 Apr 2017 07:34:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,278,1486454400"; d="scan'208";a="84768141" Received: from mhanley-mobl.ger.corp.intel.com (HELO [10.252.31.80]) ([10.252.31.80]) by fmsmga005.fm.intel.com with ESMTP; 05 Apr 2017 07:34:46 -0700 To: Thomas Monjalon , Reshma Pattan References: <1490907662-27666-1-git-send-email-remy.horton@intel.com> <1490907662-27666-6-git-send-email-remy.horton@intel.com> <2528866.SURTCWTgWk@xps13> Cc: dev@dpdk.org, Harry van Haaren From: Remy Horton Organization: Intel Shannon Limited Message-ID: <83760691-bbcc-c9b3-ca9d-a6b29340bd8c@intel.com> Date: Wed, 5 Apr 2017 15:34:46 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <2528866.SURTCWTgWk@xps13> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v14 5/6] lib: added new library for latency stats X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Apr 2017 14:34:49 -0000 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