[Xcb] [Bug 71837] New: Compiler warning from xkb.h on 32bit system

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 20 06:51:58 PST 2013


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

          Priority: medium
            Bug ID: 71837
          Assignee: xcb at lists.freedesktop.org
           Summary: Compiler warning from xkb.h on 32bit system
        QA Contact: xcb at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: gatis.paeglis at digia.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: Library
           Product: XCB

xkb.h:118:5: warning: this decimal constant is unsigned only in ISO C90
[enabled by default]

It comes from:

typedef enum xcb_xkb_control_t {
     XCB_XKB_CONTROL_GROUPS_WRAP = 134217728,
     XCB_XKB_CONTROL_INTERNAL_MODS = 268435456,
     XCB_XKB_CONTROL_IGNORE_LOCK_MODS = 536870912,
     XCB_XKB_CONTROL_PER_KEY_REPEAT = 1073741824,
     XCB_XKB_CONTROL_CONTROLS_ENABLED = 2147483648
 } xcb_xkb_control_t;

appending "u" to 

XCB_XKB_CONTROL_PER_KEY_REPEAT = 1073741824u,
XCB_XKB_CONTROL_CONTROLS_ENABLED = 2147483648u

make the warning go away.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20131120/4d25bea7/attachment.html>


More information about the Xcb mailing list