[Mesa-dev] [PATCH] mesa: more const qualifiers to match the latest glext.h glext.h

Johannes Obermayr johannesobermayr at gmx.de
Wed Jun 27 12:53:55 PDT 2012


With the second patch this issue remains (gcc on openSUSE_12.1):

gcc -c -I../../../include -I../../../src/mapi -I../../../src/mesa -DMAPI_MODE_BRIDGE -DMAPI_ABI_HEADER=\"glapi/glapi_mapi_tmp.h\" -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -g -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g  -fPIC  -D_GNU_SOURCE -DPTHREADS -DDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_POSIX_MEMALIGN -DIN_DRI_DRIVER -DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_XEXTPROTO_71 -DHAVE_LLVM=0x0302 -fvisibility=hidden ../../../src/mapi/mapi/entry.c -o entry.o
In file included from ../../../src/mapi/mapi/mapi_tmp.h:48:0,
                 from ../../../src/mapi/mapi/entry.c:69:
../../../src/mapi/glapi/glapi_mapi_tmp.h:724:45: error: conflicting types for 'glShaderSource'
../../../include/GL/glext.h:5959:45: note: previous declaration of 'glShaderSource' was here
In file included from ../../../src/mapi/mapi/mapi_tmp.h:48:0,
                 from ../../../src/mapi/mapi/entry.c:69:
../../../src/mapi/glapi/glapi_mapi_tmp.h:6220:45: error: conflicting types for 'glShaderSource'
../../../include/GL/glext.h:5959:45: note: previous declaration of 'glShaderSource' was here


Regards,
Johannes



More information about the mesa-dev mailing list