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 <[email protected]>
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.


-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.


_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to