My bad then, I was using this repo: git://www.synthesis.ch/libsynthesis.git
Kr,
Chris.
On Wed, Aug 3, 2011 at 2:14 PM, Peter Robinson <pbrobinson(a)gmail.com> wrote:
On Wed, Aug 3, 2011 at 12:11 PM, Patrick Ohly <patrick.ohly(a)intel.com>
wrote:
>
> On Mi, 2011-08-03 at 13:59 +0300, Dumez, Christophe wrote:
> > Hi,
> >
> > I was unable to compile the latest libsynthesis git (master) with gcc
> > 4.6.0 on Fedora 15.
> > The problem was that offsetof() function is used in 2 places but the
> > cstddef header is not included.
>
> After looking at this I found a similar patch in our master branch:
>
> commit cde00a25eec9ff33f61f8adf2a9f5fb4be75eb6e
> Author: Patrick Ohly <patrick.ohly(a)intel.com>
> Date: Thu May 5 19:40:45 2011 +0800
>
> gcc 4.6: fixed compile issue
>
> gcc 4.6 seems to change header dependencies. cstddef must
> be included explicitly. Kudos to Peter Robinson for
> reporting this and providing the patch.
>
> Please use the libsynthesis from
meego.gitorious.org, it is more recent
> than the latest upstream.
>
Works fine with the bundled copy in 1.1.99.5a
Peter
--
Dr. Christophe Dumez
Linux Software Engineer
Intel Finland Oy - Open Source Technology Center