[Bug 731692] New: Fix include GL and GLES header check with clang.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jun 15 12:26:34 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=731692
  GStreamer | gst-plugins-bad | git

           Summary: Fix include GL and GLES header check with clang.
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: FreeBSD
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: kwm at FreeBSD.org
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Clang will only give a warning for the redefinition of typedef GLenum in C11
mode.

Since master is build with -Werror this will result in a build failure
later in the gl plugin. Add -Werror to the test, so the test result is as
expected. This will allow the gl plugins to build.

configure:33737: checking whether it is possible to include both GL and GLES2
headers
configure:33754: cc -c -O2 -pipe  -O2 -Wno-format -fno-strict-aliasing
-I/usr/local/include  conftest.c >&5
In file included from conftest.c:77:
/usr/local/include/GL/gl.h:149:22: warning: redefinition of typedef 'GLenum' is
a C11 feature [-Wtypedef-redefinition]
typedef unsigned int    GLenum;
                        ^
/usr/local/include/GLES2/gl2.h:23:26: note: previous definition is here
typedef unsigned int     GLenum;
                         ^

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list