From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.sourceforge.net
Subject: [Bug 25881] New: drm.h , drm_mode.h and <driver>_drm.h use types defined stdint.h but do not include stdint.h
Date: Sun, 3 Jan 2010 21:36:08 -0800 (PST) [thread overview]
Message-ID: <bug-25881-502@http.bugs.freedesktop.org/> (raw)
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
--
next reply other threads:[~2010-01-04 5:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-04 5:36 bugzilla-daemon [this message]
2010-03-29 15:20 ` [Bug 25881] drm.h , drm_mode.h and <driver>_drm.h use types defined stdint.h but do not include stdint.h bugzilla-daemon
2010-05-12 17:44 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-25881-502@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox