In file included from intern/SoundSystem/SND_IAudioDevice.h:37,
from intern/SoundSystem/intern/SND_AudioDevice.h:35,
from intern\SoundSystem\openal\/SND_OpenALDevice.h:35,
from intern\SoundSystem\openal\SND_OpenALDevice.cpp:38:
intern/SoundSystem/SND_WaveCache.h:38: warning: ignoring #pragma warning
g++ -o H:\build\win32-mingw\intern\string\intern\STR_String.o -c -pipe -funsigned-char -fno-strict-aliasing -march=pentium4 -ftracer -fomit-
frame-pointer -finline-functions -ffast-math -mmmx -msse -msse2 -O3 -Wall -DXP_UNIX -DWIN32 -DFREE_WINDOWS -IH:\build\win32-mingw\intern\str
ing -Iintern\string intern\string\intern\STR_String.cpp
In file included from intern\SoundSystem\openal\SND_OpenALDevice.cpp:51:
H:/SVN/bf-blender/trunk/lib/windows/openal/include/AL/al.h:86: error: '<anonymous>' has incomplete type
H:/SVN/bf-blender/trunk/lib/windows/openal/include/AL/al.h:86: error: invalid use of 'ALvoid'
In file included from intern\SoundSystem\openal\SND_OpenALDevice.cpp:52:
H:/SVN/bf-blender/trunk/lib/windows/openal/include/AL/alc.h:54: error: '<anonymous>' has incomplete type
H:/SVN/bf-blender/trunk/lib/windows/openal/include/AL/alc.h:54: error: invalid use of 'ALvoid'
H:/SVN/bf-blender/trunk/lib/windows/openal/include/AL/alc.h:56: error: '<anonymous>' has incomplete type
H:/SVN/bf-blender/trunk/lib/windows/openal/include/AL/alc.h:56: error: invalid use of 'ALvoid'
In file included from intern\SoundSystem\openal\SND_OpenALDevice.cpp:53:
H:/SVN/bf-blender/trunk/lib/windows/openal/include/AL/alut.h:31: error: '<anonymous>' has incomplete type
H:/SVN/bf-blender/trunk/lib/windows/openal/include/AL/alut.h:31: error: invalid use of 'ALvoid'
H:/SVN/bf-blender/trunk/lib/windows/openal/include/AL/alc.h: In constructor 'SND_OpenALDevice::SND_OpenALDevice()':
H:/SVN/bf-blender/trunk/lib/windows/openal/include/AL/alc.h:54: error: too few arguments to function 'ALCenum alcGetError(<type error>)'
intern\SoundSystem\openal\SND_OpenALDevice.cpp:292: error: at this point in file
H:/SVN/bf-blender/trunk/lib/windows/openal/include/AL/al.h: In member function 'virtual SND_WaveSlot* SND_OpenALDevice::LoadSample(const STR
_String&, void*, int)':
H:/SVN/bf-blender/trunk/lib/windows/openal/include/AL/al.h:86: error: too few arguments to function 'ALenum alGetError(<type error>)'
intern\SoundSystem\openal\SND_OpenALDevice.cpp:410: error: at this point in file
H:/SVN/bf-blender/trunk/lib/windows/openal/include/AL/al.h:86: error: too few arguments to function 'ALenum alGetError(<type error>)'
intern\SoundSystem\openal\SND_OpenALDevice.cpp:461: error: at this point in file
scons: *** [H:\build\win32-mingw\intern\SoundSystem\openal\SND_OpenALDevice.o] Error 1
scons: building terminated because of errors.
and ALvoid is defined in altypes.h like this
/** OpenAL void type (for params, not returns). */
#ifdef __GNUC__
typedef void ALvoid;
#else
#define ALvoid void
#endif /* __GNUC__ */
and here is how it's used (this is where the error is reported
/**
* Error support.
* Obtain the most recent error generated in the AL state machine.
*/
ALAPI ALenum ALAPIENTRY alGetError( ALvoid ); //line 86
note altypes.h IS included in al.h