[Mesa-dev] [Bug 44101] New: [bisected] egl_g3d_api.c:176:10: error: too few arguments to function ‘gctx- >stapi-> create_context’
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Dec 23 11:40:42 PST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=44101
Bug #: 44101
Summary: [bisected] egl_g3d_api.c:176:10: error: too few
arguments to function ‘gctx->stapi->create_context’
Classification: Unclassified
Product: Mesa
Version: git
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: medium
Component: Mesa core
AssignedTo: mesa-dev at lists.freedesktop.org
ReportedBy: alexandre.f.demers at gmail.com
When building mesa from git, it ends with an error:
gcc -c -I. -I../../../../src/gallium/include
-I../../../../src/gallium/auxiliary -I../../../../src/egl/main
-I../../../../src/egl/wayland/wayland-drm/ -I../../../../include
-DHAVE_X11_BACKEND -DHAVE_DRM_BACKEND -D_GNU_SOURCE -DPTHREADS -DDEBUG
-DTEXTURE_FLOAT_ENABLED -DHAVE_POSIX_MEMALIGN -DMESA_SELINUX -DUSE_XCB
-DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE
-DHAVE_LIBUDEV -DHAVE_XCB_DRI2 -DXCB_DRI2_CONNECT_DEVICE_NAME_BROKEN
-DHAVE_XEXTPROTO_71 -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0300 -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing
-fno-builtin-memcmp -m64 -g -fPIC -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS
-DDEBUG -DTEXTURE_FLOAT_ENABLED -DHAVE_POSIX_MEMALIGN -DMESA_SELINUX -DUSE_XCB
-DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE
-DHAVE_LIBUDEV -DHAVE_XCB_DRI2 -DXCB_DRI2_CONNECT_DEVICE_NAME_BROKEN
-DHAVE_XEXTPROTO_71 -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0300
-fvisibility=hidden common/egl_g3d_api.c -o common/egl_g3d_api.o
common/egl_g3d_api.c: In function ‘egl_g3d_create_context’:
common/egl_g3d_api.c:176:10: warning: passing argument 4 of
‘gctx->stapi->create_context’ from incompatible pointer type [enabled by
default]
common/egl_g3d_api.c:176:10: note: expected ‘enum st_context_error *’ but
argument is of type ‘struct st_context_iface *’
common/egl_g3d_api.c:176:10: error: too few arguments to function
‘gctx->stapi->create_context’
make[4]: *** [common/egl_g3d_api.o] Error 1
It seems commit d18152028e1825c05c7de33acacee3336350a096 changes the number of
arguments, but this change is not mirrored everywhere. Before this commit,
compilation works fine.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the mesa-dev
mailing list