From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 5330F5A87 for ; Thu, 16 Jul 2015 16:57:11 +0200 (CEST) Received: by wgkl9 with SMTP id l9so60619290wgk.1 for ; Thu, 16 Jul 2015 07:57:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=aDtzcERiNieHiEqxt6XYHzQCDoNMKfJw2LgS5ka55ug=; b=m+kWxmr/RzSUp0B2CPdQ9/Xf/GEVuapheWHB9zoYLHUpRE4eCmUJf7rdj6ssKNoIxP YTCjfC2XZaOJRy0iTafoUz6Zx150DlCv/63kHvz2KvwSZybL/b3uyZPUdogKEL+Q3b/A E+iGNIhJygHagliac4w/k5B6lU5QHrfoQ5wWQzyTqhizY/eMNSPdeTVlbU1IOE3B2tOm JEY1iMMwzd+uDk86/s5nCYB753Sdwb6MDHjvcbEV6urwBUi8NaoLk5zq3fyLBdKfTCqL rPKgFGazrToHnHP/S+4hdk2ukAtwkCVwgOlmpRu8pe+OUf53JjENyTo4oVYlgiiML7Cg TpiA== X-Gm-Message-State: ALoCoQmlyMMcomFchJf8/b8LQ4DvEz0LjYXYPKD4Fc8vOGA5c5T6mjkmIOBE2dDqNgbgxxW99x77 X-Received: by 10.194.5.103 with SMTP id r7mr19361700wjr.47.1437058630704; Thu, 16 Jul 2015 07:57:10 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.151.210]) by smtp.gmail.com with ESMTPSA id e2sm13525213wjw.12.2015.07.16.07.57.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Jul 2015 07:57:09 -0700 (PDT) From: Thomas Monjalon To: Pablo de Lara Date: Thu, 16 Jul 2015 16:55:59 +0200 Message-ID: <11976426.8bplYeqtma@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <1436964043-5729-2-git-send-email-pablo.de.lara.guarch@intel.com> References: <1436964043-5729-1-git-send-email-pablo.de.lara.guarch@intel.com> <1436964043-5729-2-git-send-email-pablo.de.lara.guarch@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] hash: fix compilation for gcc 4.4/4.5 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jul 2015 14:57:11 -0000 2015-07-15 13:40, Pablo de Lara: > gcc 4.4 and 4.5 throws following error: > rte_cuckoo_hash.c:145: error: flexible array member in otherwise empty struct. > > This is due to empty length in flexible array, which has been changed to use > size 0 in the declaration of the array. > > Fixes: 48a399119619 ("hash: replace with cuckoo hash implementation") > > Reported-by: Olga Shern > Signed-off-by: Pablo de Lara Applied, thanks