[Mesa-dev] [Bug 92138] Configuratin define "HAVE_LIBDRM" must not used in installed header

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Sep 27 01:04:22 PDT 2015


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

            Bug ID: 92138
           Summary: Configuratin define "HAVE_LIBDRM" must not used in
                    installed header
           Product: Mesa
           Version: 11.0
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: obache at wizdas.com
        QA Contact: mesa-dev at lists.freedesktop.org

After commit#0efd773f719dd2deddb4b6703edf022b294cd349

#ifdef HAVE_LIBDRM

is used in include/GL/internal/dri_interface.h.

"HAVE_LIBDRM" macro is defined in configure script and used
in build of Mesa itself, OK, works fine.

It is a part of installed header files, but HAVE_LIBDRM is not
defined anywhere in installed files, NG, because it may cause
build failure with "redefinition of typedef" for the case
source code includes both "include/GL/internal/dri_interface.h"
and "libdrm/drm.h".

-- 
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/mesa-dev/attachments/20150927/71d39816/attachment.html>


More information about the mesa-dev mailing list