All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 25881] New: drm.h , drm_mode.h and <driver>_drm.h use types defined stdint.h but do not include stdint.h
@ 2010-01-04  5:36 bugzilla-daemon
  2010-03-29 15:20 ` [Bug 25881] " bugzilla-daemon
  2010-05-12 17:44 ` bugzilla-daemon
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla-daemon @ 2010-01-04  5:36 UTC (permalink / raw)
  To: dri-devel

http://bugs.freedesktop.org/show_bug.cgi?id=25881

           Summary: drm.h , drm_mode.h and <driver>_drm.h use types defined
                    stdint.h but do not include stdint.h
           Product: DRI
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libdrm
        AssignedTo: dri-devel@lists.sourceforge.net
        ReportedBy: pebender@gmail.com


drm.h, drm_mode.h and (at least some <driver>_drm.h files use the types int8_t,
uint8_t, int16_t, uint16_t, int32_t, uint32_t, int64_t and uint64_t. Per c99,
these are defined in stdint.h. However, the drm.h, drm_mode.h and
<driver>_drm.h files do not include stdint.h. As a result, it causes build
problems with newer gcc compile versions and files that include one of these
without first including stdint.h or a header file that includes stdint.h (eg
xf86drm.h). For example, it breaks compilation of the
xf86-video-openchrome-0.2.904 driver.

As the use in drm.h is for to non-Linux systems and the use in drm_mode.h was
added after 2.4.16, and many files include xf86drm.h before the other headers.
Therefore, the problem is not likely to show up too often.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 25881] drm.h , drm_mode.h and <driver>_drm.h use types defined stdint.h but do not include stdint.h
  2010-01-04  5:36 [Bug 25881] New: drm.h , drm_mode.h and <driver>_drm.h use types defined stdint.h but do not include stdint.h bugzilla-daemon
@ 2010-03-29 15:20 ` bugzilla-daemon
  2010-05-12 17:44 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2010-03-29 15:20 UTC (permalink / raw)
  To: dri-devel

http://bugs.freedesktop.org/show_bug.cgi?id=25881


Mart Raudsepp <leio@gentoo.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |leio@gentoo.org




--- Comment #1 from Mart Raudsepp <leio@gentoo.org>  2010-03-29 08:20:19 PST ---
Bug 26994 has a patch for the drm_mode.h case


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 25881] drm.h , drm_mode.h and <driver>_drm.h use types defined stdint.h but do not include stdint.h
  2010-01-04  5:36 [Bug 25881] New: drm.h , drm_mode.h and <driver>_drm.h use types defined stdint.h but do not include stdint.h bugzilla-daemon
  2010-03-29 15:20 ` [Bug 25881] " bugzilla-daemon
@ 2010-05-12 17:44 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2010-05-12 17:44 UTC (permalink / raw)
  To: dri-devel

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

Kristian Høgsberg <krh@bitplanet.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Kristian Høgsberg <krh@bitplanet.net> 2010-05-12 10:44:21 PDT ---
drm.h and drm_mode.h are fixed in git now.  If the use of stdint in
$driver_drm.h breaks anything, please file bugs against those drivers to get
them to use __u32 etc.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-12 17:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-04  5:36 [Bug 25881] New: drm.h , drm_mode.h and <driver>_drm.h use types defined stdint.h but do not include stdint.h bugzilla-daemon
2010-03-29 15:20 ` [Bug 25881] " bugzilla-daemon
2010-05-12 17:44 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.