https://bugs.meego.com/show_bug.cgi?id=13201

           Summary: syncevolution is not buildable when size_t != unsigned
                    int
    Classification: MeeGo Projects
           Product: SyncEvolution
           Version: unspecified
          Platform: All
      Architecture: ---
            Status: NEW
          Severity: normal
          Priority: Undecided
         Component: SyncEvolution
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected],
                    [email protected]
   Estimated Hours: 0.0


syncevolution can't be built on platforms where size_t != unsigned int, but
size_t == unsigned long (like s390).

excerpt for a build log on s390
(http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=298347)
...
In file included from Cmdline.cpp:24:0:
../../src/syncevo/SyncSource.h: In member function 'sysync::TSyError
SyncEvo::SyncSourceBlob::readBlob(sysync::cItemID, const char*, void**,
size_t*, size_t*, bool, bool*)':
../../src/syncevo/SyncSource.h:1716:88: error: invalid conversion from
'size_t*' to 'sysync::memSize*' [-fpermissive]
/builddir/build/BUILD/syncevolution-1.1.1/src/build-synthesis/src/synthesis/blobs.h:55:14:
error:   initializing argument 4 of 'sysync::TSyError
sysync::TBlob::ReadBlob(sysync::cItemID, sysync::cAppCharP, void**,
sysync::memSize*, sysync::memSize*, bool, bool*)' [-fpermissive]
../../src/syncevo/SyncSource.h:1716:88: error: invalid conversion from
'size_t*' to 'sysync::memSize*' [-fpermissive]
/builddir/build/BUILD/syncevolution-1.1.1/src/build-synthesis/src/synthesis/blobs.h:55:14:
error:   initializing argument 5 of 'sysync::TSyError
sysync::TBlob::ReadBlob(sysync::cItemID, sysync::cAppCharP, void**,
sysync::memSize*, sysync::memSize*, bool, bool*)' [-fpermissive]
...

The problem is that sysync::memSize is defined as uintptr_t.

-- 
Configure bugmail: https://bugs.meego.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
Syncevolution-issues mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution-issues

Reply via email to