On 23/07/2019 20.57, BALATON Zoltan wrote: > On Tue, 23 Jul 2019, Michael Roth wrote: >> From: BALATON Zoltan <bala...@eik.bme.hu> >> >> Clang 3.4 considers duplicate typedef in ppc4xx_i2c.h and >> bitbang_i2c.h an error even if they are identical. Move it to a common >> place to allow building with this clang version. >> >> Reported-by: Thomas Huth <th...@redhat.com> >> Signed-off-by: BALATON Zoltan <bala...@eik.bme.hu> >> Acked-by: David Gibson <da...@gibson.dropbear.id.au> >> Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com> >> Signed-off-by: Thomas Huth <th...@redhat.com> >> (cherry picked from commit 2b4c1125ac3db2734222ff43c25388a16aca4a99) > > This was superseded by d718b7475 later so you may want to look at that > instead but for stable branch I'm not sure what are your preferences.
You could also cherry-pick this commit here instead: e6e90feedb706b1b92827a5977b37e1e8defb8ef "configure: Add -Wno-typedef-redefinition to CFLAGS (for Clang)" ... this should fix this problem for good. Thomas