Build errors with gcc 4.0 on Debian Sid

Adam Mercer ramercer at gmail.com
Wed Nov 2 11:28:22 EST 2005


Hi

Getting the following build errors with using gcc-4.0.1 from Debian Sid:

g++ -c -o src/sound/ds.o src/sound/ds.cpp -Wall -g -DPLAT_UNIX
-I/usr/include/SDL -D_REENTRANT -Iinclude/  -fsigned-char
-Wno-format-y2k -DRELEASE_REAL
src/sound/ds.cpp: In function 'int ds_init(int, int)':
src/sound/ds.cpp:1496: error: invalid conversion from 'ALCubyte*' to
'const ALchar*'
src/sound/ds.cpp:1496: error:   initializing argument 1 of 'ALCdevice*
alcOpenDevice(const ALchar*)'
src/sound/ds.cpp:1555: error: invalid conversion from 'ALubyte*' to
'const ALchar*'
src/sound/ds.cpp:1555: error:   initializing argument 1 of 'ALboolean
alIsExtensionPresent(const ALchar*)'
make: *** [src/sound/ds.o] Error 1

Is it just that the compilers too new?

Cheers

Adam



More information about the freespace2 mailing list