Summary: | xf86vmproto.h xXF86VidModeModeInfo hskew B16 | ||
---|---|---|---|
Product: | xorg | Reporter: | Kevin Ryde <user42_kevin> |
Component: | Protocol/Core | Assignee: | Jamey Sharp <jamey> |
Status: | RESOLVED MOVED | QA Contact: | Xorg Project Team <xorg-team> |
Severity: | normal | ||
Priority: | high | CC: | jeremyhu |
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | All | ||
Whiteboard: | 2012BRB_Reviewed | ||
i915 platform: | i915 features: |
Description
Kevin Ryde
2012-01-24 16:06:26 UTC
Jamey, would you mind looking into this? Mass closure: This bug has been untouched for more than six years, and is not obviously still valid. Please reopen this bug or file a new report if you continue to experience issues with current releases. I'm confident CARD32 shouldn't be bitfield B16. Compilers needing bitfield help like that are likely to be slowly reducing, but if the B are going to be there then they may as well be right. The gcc invocation I reported still gives the same warning at the same line (debian i386 32-bit gcc 7.3). Compilers that use this are completely gone since Cray support was removed. <X11/Xmd.h> now just defines them to nothing: # define B32 /* bitfield not needed on architectures with native 32-bit type */ # define B16 /* bitfield not needed on architectures with native 16-bit type */ It does look like pad1 is a mistake though, and the compatible fix would be declaring it 32-bit even though we wouldn't a 32-bit pad there if it was being done from scratch today. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/proto/xorgproto/issues/3. |
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.