I get this error when compiling ATCVoice.cxx

if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src  -I/
usr/X11R6/include  -g -O2 -D_REENTRANT -MT ATCVoice.o -MD -MP -MF ".deps/
ATCVoice.Tpo" \
  -c -o ATCVoice.o `test -f 'ATCVoice.cxx' || echo './'`ATCVoice.cxx; \
then mv -f ".deps/ATCVoice.Tpo" ".deps/ATCVoice.Po"; \
else rm -f ".deps/ATCVoice.Tpo"; exit 1; \
fi
ATCVoice.cxx: In member function `bool
   FGATCVoice::LoadVoice(std::basic_string<char, std::char_traits<char>,
   std::allocator<char> >)':
ATCVoice.cxx:56: error: invalid conversion from `const char*' to `unsigned
   char*'
ATCVoice.cxx:56: error:   initializing argument 1 of `
   SGSoundSample::SGSoundSample(unsigned char*, int, int)'
ATCVoice.cxx:56: error: invalid conversion from `const char*' to `int'
ATCVoice.cxx:56: error:   initializing argument 2 of `
   SGSoundSample::SGSoundSample(unsigned char*, int, int)'


-- 
Roy Vegard Ovesen


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to