Bug 17588 - Reordering errors in spec will break ABI
Summary: Reordering errors in spec will break ABI
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-glib (show other bugs)
Version: unspecified
Hardware: Other All
: high critical
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-15 08:49 UTC by Will Thompson
Modified: 2009-01-30 09:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Will Thompson 2008-09-15 08:49:04 UTC
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
Comment 2 Simon McVittie 2009-01-30 09:34:56 UTC
Fixed in git, will be in 0.7.25.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.