From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Sat, 11 Jul 2015 12:17:50 +0200 Subject: [Buildroot] [PATCH v3 1/1] package/mtd: add patch to fix host build error with gcc 5.1 In-Reply-To: <1432636689-26907-1-git-send-email-joerg.krause@embedded.rocks> References: <1432636689-26907-1-git-send-email-joerg.krause@embedded.rocks> Message-ID: <20150711121750.3d2dcfb2@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Dear J?rg Krause, On Tue, 26 May 2015 12:38:09 +0200, J?rg Krause wrote: > host-mtd build fails with gcc 5.1: > error: redefinition of ?hashtable_iterator_key? > error: redefinition of ?hashtable_iterator_value? > > Indeed, both functions are defined twice - once in the header and once in the > source file. This is permitted in C11 (and maybe in C99). > > Add a patch sent to upstream: > https://patchwork.ozlabs.org/patch/467254/ > > Signed-off-by: J?rg Krause > --- > Changes v2 -> v3: > - Add Sob and URL to patch description (Baruch Siach) Applied, thanks. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com