Package: schism_0.2a-3
fails with:
if arm-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I./include
-I./libmodplug -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2
-MT audio_playback.o -MD -MP -MF ".deps/audio_playback.Tpo" -c -o
audio_playback.o audio_playback.cc; \
then mv -f ".deps/audio_playback.Tpo" ".deps/audio_playback.Po"; else
rm -f ".deps/audio_playback.Tpo"; exit 1; fi
if arm-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I./include
-I./libmodplug -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2
-MT audio_loadsave.o -MD -MP -MF ".deps/audio_loadsave.Tpo" -c -o
audio_loadsave.o audio_loadsave.cc; \
then mv -f ".deps/audio_loadsave.Tpo" ".deps/audio_loadsave.Po"; else
rm -f ".deps/audio_loadsave.Tpo"; exit 1; fi
audio_loadsave.cc: In function 'void _save_it_instrument(int, FILE*, int)':
audio_loadsave.cc:523: error: overflow in array dimension
audio_loadsave.cc:523: error: size of array 'junk' is too large
make[4]: *** [audio_loadsave.o] Error 1
The offending line is:
byte junk[554 - sizeof(iti)];
which results in a negative array size.
iti is an ITINSRUMENT type, which is a struct like this:
containing lot of BYTE, CHAR *, WORD, DWORD etc vars.
oh dear.
The '554' appears to be fixed by the format.
This assumes that WORD is 2 bytes. This is not true on arm - it is 4
bytes. WORD needs to be defined to be 2 bytes, or uint_16 used instead
of WORD throughout.
Wookey
--
Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK Tel +44 (0) 1223 811679
work: http://www.aleph1.co.uk/ play: http://wookware.org/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]