[Mesa-dev] Recent master build failure (upgrade gl2ext.h / glDrawBuffersNV fallout)

Jeremy Huddleston Sequoia jeremyhu at apple.com
Tue Jul 10 14:39:47 PDT 2012


Mesa master stopped building successfully on my tinderbox on 7/6.  The relevant changes from the previous successful build were 95ce454..c445b0f, and I bisected it to the upgrade of gl2ext.h to version 18099 (see below).

../../../src/mapi/glapi/glapitemp.h:4635:1: error: no previous prototype for 'glDrawBuffersNV' [-Werror=missing-prototypes]

The commit mentions that this new failure is expected, so it would be nice if the fix for the original issue could now be included as well.

--Jeremy

3ed8d4285360047d78cfd3218ac4f8f325ae5d6e is the first bad commit
commit 3ed8d4285360047d78cfd3218ac4f8f325ae5d6e
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Tue Jul 3 20:47:04 2012 -0400

    GLES2: upgrade gl2ext.h to version 18099
    
    Redo this commit, and remove the inclusion of gl2ext.h
    from src/mapi/glapi/glapi_priv.h.  The include was added in
    8f3be339850ead96f9c6200db4e0db1f74e39d13 to fix a missing prototype for
    glDrawBuffersNV and others, but it's not possible to include both
    glext.h and gl2ext.h from the same file.
    
    I don't see the missing prototype here (with or without shared glapi)
    so I'm just removing the offending #include.
    
    Also, since we're redoing this, update to the most recent gl2ext.2.
    
    Signed-off-by: Kristian Høgsberg <krh at bitplanet.net>

:040000 040000 3076bd4623a3727eb3690e39801c459ea2c08706 7754f21c4cee87eb86ccb5ac8b9cbf810d0835ff M	include
:040000 040000 0e602fff716a390251eacb932e7f406eb399e2e0 ed4ecdd9127f4541ed0f148f3b97e6eefb6572df M	src



More information about the mesa-dev mailing list