[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xcb
Subject:    [Xcb] [Bug 43603] RotateProperties has an array of 'atoms' where
From:       bugzilla-daemon () freedesktop ! org
Date:       2011-12-09 1:51:46
Message-ID: bug-43603-13485-mAhk6TmC7e () http ! bugs ! freedesktop ! org/
[Download RAW message or body]

https://bugs.freedesktop.org/show_bug.cgi?id=43603

--- Comment #3 from Alan Coopersmith <alan.coopersmith@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.
_______________________________________________
Xcb mailing list
Xcb@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xcb
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic