[Mesa-dev] VDPAU build fail since autoconf: Enable missing-prototypes errors when available.
Andy Furniss
andyqos at ukfsn.org
Tue Jan 31 08:22:32 PST 2012
I am getting a build fail with vdpau since
commit b9aab8b3b3769b9c5121686efe3446dae770b951
Author: Eric Anholt <eric at anholt.net>
Date: Thu Jan 26 18:48:20 2012 -0800
autoconf: Enable missing-prototypes errors when available.
After the removal of the dri driver link test, this should help avoid
the original problem that it was designed to catch: The warning about
a missing prototype due to typoing a function name scrolling by in the
Mesa build spew, and you not noticing until you try to run an
application and it falls back to swrast.
make[4]: Entering directory
`/home/andy/Src/Mesa-git/mesa/src/gallium/state_trackers/vdpau'
gcc -c -I. -I../../../../src/gallium/include
-I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers
-I/home/andy/Src/Xorg-git/modular/include
-I../../../../src/gallium/winsys/g3dvl
-I/home/andy/Src/Xorg-git/modular/include -g -O2 -Wall -std=c99
-Werror=implicit-function-declaration -Werror=missing-prototypes
-fno-strict-aliasing -fno-builtin-memcmp -g -g -O2 -fPIC -DUSE_X86_ASM
-DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS
-DDEBUG -DTEXTURE_FLOAT_ENABLED -DHAVE_POSIX_MEMALIGN -DUSE_XCB
-DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS
-fvisibility=hidden -DVER_MAJOR=1 -DVER_MINOR=0 preemption.c -o
preemption.o
preemption.c:35: error: no previous prototype for 'vlVdpPreemptionCallback'
preemption.c:45: error: no previous prototype for
'vlVdpPreemptionCallbackRegister'
make[4]: *** [preemption.o] Error 1
More information about the mesa-dev
mailing list