Bug#379862: FTBFS no longer reproducible
Martin Michlmayr
tbm at cyrius.com
Sat Feb 3 17:34:19 CET 2007
reopen 379862
found 379862 1:0.0.8-1
thanks
* Cyril Brulebois <cyril.brulebois at enst-bretagne.fr> [2007-01-14 00:39]:
> I tried to reproduce this FTBFS with latest gcc-4.2, but I wasn't able
> to. Thus I'm closing this bugreport. Feel free to reopen if needed.
Nothing has changed, so yes, this is still there.
(sid)1141:tbm at em64t: ~/src] cat t.cc
#include <AL/alc.h>
(sid)1142:tbm at em64t: ~/src] /usr/lib/gcc-snapshot/bin/g++ -c t.cc
In file included from t.cc:1:
/usr/include/AL/alc.h:190: error: '<anonymous>' has incomplete type
/usr/include/AL/alc.h:190: error: invalid use of 'ALCvoid'
/usr/include/AL/alc.h:251: error: '<anonymous>' has incomplete type
/usr/include/AL/alc.h:251: error: invalid use of 'ALCvoid'
Can you apply the patch below for the Debian package until we get the
new upstream release that supposedly fixes this.
--- /usr/include/AL/alc.h~ 2007-02-03 16:29:31.000000000 +0000
+++ /usr/include/AL/alc.h 2007-02-03 16:29:42.000000000 +0000
@@ -187,7 +187,7 @@
ALC_API void ALC_APIENTRY alcDestroyContext( ALCcontext *context );
-ALC_API ALCcontext * ALC_APIENTRY alcGetCurrentContext( ALCvoid );
+ALC_API ALCcontext * ALC_APIENTRY alcGetCurrentContext( void );
ALC_API ALCdevice* ALC_APIENTRY alcGetContextsDevice( ALCcontext *context );
@@ -248,7 +248,7 @@
typedef void (ALC_APIENTRY *LPALCPROCESSCONTEXT)( ALCcontext *context );
typedef void (ALC_APIENTRY *LPALCSUSPENDCONTEXT)( ALCcontext *context );
typedef void (ALC_APIENTRY *LPALCDESTROYCONTEXT)( ALCcontext *context );
-typedef ALCcontext * (ALC_APIENTRY *LPALCGETCURRENTCONTEXT)( ALCvoid );
+typedef ALCcontext * (ALC_APIENTRY *LPALCGETCURRENTCONTEXT)( void );
typedef ALCdevice * (ALC_APIENTRY *LPALCGETCONTEXTSDEVICE)( ALCcontext *context );
typedef ALCdevice * (ALC_APIENTRY *LPALCOPENDEVICE)( const ALCchar *devicename );
typedef ALCboolean (ALC_APIENTRY *LPALCCLOSEDEVICE)( ALCdevice *device );
--
Martin Michlmayr
http://www.cyrius.com/
More information about the Pkg-games-devel
mailing list