From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v4 02/11] ip_pipeline: added config checks Date: Fri, 03 Jul 2015 22:27:04 +0200 Message-ID: <2394438.7nXkfRJIlT@xps13> References: <1435913919-13196-1-git-send-email-maciejx.t.gajdzica@intel.com> <1435913919-13196-3-git-send-email-maciejx.t.gajdzica@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Maciej Gajdzica , Jasvinder Singh Return-path: Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id D77F137AF for ; Fri, 3 Jul 2015 22:28:15 +0200 (CEST) Received: by wgqq4 with SMTP id q4so95878946wgq.1 for ; Fri, 03 Jul 2015 13:28:15 -0700 (PDT) In-Reply-To: <1435913919-13196-3-git-send-email-maciejx.t.gajdzica@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" There is an error with clang (tested with 3.6.1): examples/ip_pipeline/config_check.c:63:26: error: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int' [-Werror,-Wsign-compare] APP_CHECK((app->n_links == __builtin_popcountll(app->port_mask)), ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/thomas/projects/dpdk/dpdk/examples/ip_pipeline/app.h:518:8: note: expanded from macro 'APP_CHECK' if (!(exp)) { \ ^