Re: [Libosinfo] [PATCH] Fix build with older GCC

2016-03-03 Thread Daniel P. Berrange
On Thu, Mar 03, 2016 at 05:07:08PM +0300, Roman Bogorodskiy wrote: > Roman Bogorodskiy wrote: > > > Build with older gcc fails with: > > > > CC libosinfo_1_0_la-osinfo_avatar_format.lo > > In file included from ../osinfo/osinfo_os.h:30, > > from ../osinfo/osinfo.h:55, >

Re: [Libosinfo] [PATCH] Fix build with older GCC

2016-03-03 Thread Roman Bogorodskiy
Roman Bogorodskiy wrote: > Build with older gcc fails with: > > CC libosinfo_1_0_la-osinfo_avatar_format.lo > In file included from ../osinfo/osinfo_os.h:30, > from ../osinfo/osinfo.h:55, > from osinfo_avatar_format.c:28: > ../osinfo/osinfo_media.h:68:

[Libosinfo] [PATCH] Fix build with older GCC

2016-01-24 Thread Roman Bogorodskiy
Build with older gcc fails with: CC libosinfo_1_0_la-osinfo_avatar_format.lo In file included from ../osinfo/osinfo_os.h:30, from ../osinfo/osinfo.h:55, from osinfo_avatar_format.c:28: ../osinfo/osinfo_media.h:68: error: redefinition of typedef 'OsinfoMedi