[Telepathy] [Bug 17588] New: Reordering errors in spec will break ABI

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 15 08:49:04 PDT 2008


           Summary: Reordering errors in spec will break ABI
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: high
         Component: telepathy-glib
        AssignedTo: telepathy at lists.freedesktop.org
        ReportedBy: will.thompson at collabora.co.uk

Currently, enum TpError is dependent on the order of <tp:error> tags in
errors.xml in the spec; if someone reorders the error tags in the spec,
telepathy-glib's ABI will break.

<smcv> tp-glib should hard-code an error -> number mapping, and the tp-glib
build should fail if the XML spec contains errors that don't have a number
until you add them to its list

Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the Telepathy mailing list