From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Borkmann Subject: Re: [PATCH iproute2] tc: fix compilation with old gcc (< 4.6) Date: Thu, 07 Jan 2016 14:31:30 +0100 Message-ID: <568E68B2.2040102@iogearbox.net> References: <1452171793-5829-1-git-send-email-nicolas.dichtel@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, Julien Floret To: Nicolas Dichtel , shemminger@vyatta.com Return-path: Received: from www62.your-server.de ([213.133.104.62]:34968 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752062AbcAGNbi (ORCPT ); Thu, 7 Jan 2016 08:31:38 -0500 In-Reply-To: <1452171793-5829-1-git-send-email-nicolas.dichtel@6wind.com> Sender: netdev-owner@vger.kernel.org List-ID: On 01/07/2016 02:03 PM, Nicolas Dichtel wrote: > From: Julien Floret > > gcc < 4.6 does not handle C11 syntax for the static initialization of > anonymous struct/union, hence the following error: > > tc_bpf.c:260: error: unknown field map_type specified in initializer > > Signed-off-by: Julien Floret > Signed-off-by: Nicolas Dichtel Thanks! Acked-by: Daniel Borkmann