[Xcb] [Bug 43603] RotateProperties has an array of 'atoms' where the spec says 'properties'
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Dec 8 17:51:46 PST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=43603
--- Comment #3 from Alan Coopersmith <alan.coopersmith at oracle.com> 2011-12-08 17:51:46 PST ---
On 12/08/11 17:37, Josh Triplett wrote:
> On Thu, Dec 08, 2011 at 04:18:23PM -0800, Bart Massey wrote:
>> One of the things we do try to enforce is that the names in XCB match
>> the names in the spec (where there is one :-) to support just the kind
>> of case you describe. On the other hand, I hate to break existing
>> code.
>>
>> Suggestions appreciated; I hate to just let this one die if we could
>> figure out something better.
>
> I can think of one possible solution, if we don't mind using anonymous
> union support. Just define the relevant field as an anonymous union,
> containing both field names. That would preserve both API and ABI.
Unfortunately, anonymous unions are a gcc extension that are not universally
supported yet (the next generation ISO C standard, C1X, is supposed to
include them, so someday we'll get there).
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the Xcb
mailing list