IceSound compile error 1.0.8-6
Brought to you by:
captnmark
From: <le...@fu...> - 2001-05-23 10:23:14
|
I got the following error when the compilation of icesound started. It looks like the move to C++ didn't work out for icesound. :( What should we do? Compiling icesound.o... icesound.cc: In method `char * YAudioInterface::findSample(int)': icesound.cc:165: warning: can't inline call to `char * YAudioInterface::findSample(const char *)' icesound.cc:157: warning: called from here icesound.cc: In method `char * YAudioInterface::findSample(const char *)': icesound.cc:165: warning: function with static variable cannot be inline icesound.cc: In method `void YOSSAudio::play(int)': icesound.cc:199: warning: function with static variable cannot be inline icesound.cc: In method `int YOSSAudio::init(int &, char **&)': icesound.cc:261: warning: can't inline call to `YOSSAudio::CommandLine::CommandLine(int &, char **&, class YOSSAudio &)' icesound.cc:248: warning: called from here icesound.cc:245: warning: function with static variable cannot be inline icesound.cc: In method `int YESDAudio::init(int &, char **&)': icesound.cc:350: warning: can't inline call to `YESDAudio::CommandLine::CommandLine(int &, char **&, class YESDAudio &)' icesound.cc:334: warning: called from here icesound.cc:331: warning: function with static variable cannot be inline icesound.cc: In method `int YY2Audio::init(int &, char **&)': icesound.cc:529: warning: can't inline call to `YY2Audio::CommandLine::CommandLine(int &, char **&, class YY2Audio &)' icesound.cc:499: warning: called from here icesound.cc:502: warning: passing `const char *' as argument 2 of `YOpenConnection(char *, char *)' discards const icesound.cc:510: warning: passing `const char *' as argument 2 of `YChangeAudioModePreset(YConnection *, char *)' discards const icesound.cc:495: warning: function with static variable cannot be inline icesound.cc: In method `int YY2Audio::CommandLine::setOption(const char *, char, const char *)': icesound.cc:553: warning: function with static variable cannot be inline icesound.cc: In method `void YY2Audio::listAudioModes()': icesound.cc:602: warning: passing `const char *' as argument 2 of `YOpenConnection(char *, char *)' discards const icesound.cc: In method `void YY2Audio::play(const char *, Coefficient = 0x00000000000000000080ff3f, Coefficient = 0x00000000000000000080ff3f)': icesound.cc:658: warning: passing `const char *' as argument 2 of `YGetSoundObjectAttributes(YConnection *, char *, YEventSoundObjectAttributes *)' discards const icesound.cc:694: `struct YEventSoundPlay' has no member named `flags' icesound.cc:694: `YPlayValuesFlagPosition' undeclared (first use this function) icesound.cc:694: (Each undeclared identifier is reported only once icesound.cc:694: for each function it appears in.) icesound.cc:695: `YPlayValuesFlagTotalRepeats' undeclared (first use this function) icesound.cc:696: `YPlayValuesFlagVolume' undeclared (first use this function) icesound.cc:698: `struct YEventSoundPlay' has no member named `position' icesound.cc:699: `struct YEventSoundPlay' has no member named `total_repeats' icesound.cc:700: `struct YEventSoundPlay' has no member named `left_volume' icesound.cc:701: `struct YEventSoundPlay' has no member named `right_volume' icesound.cc:703: warning: passing `const char *' as argument 2 of `YStartPlaySoundObject(YConnection *, char *, YDataPosition, Coefficient, Coefficient, int)' discards const icesound.cc:703: warning: passing `YEventSoundPlay *' to argument 3 of `YStartPlaySoundObject(YConnection *, char *, YDataPosition, Coefficient, Coefficient, int)' lacks a cast /usr/include/Y2/Ylib.h:284: too few arguments to function `YID YStartPlaySoundObject(struct YConnection *, char *, YDataPosition, Coefficient, Coefficient, int)' icesound.cc:703: at this point in file make[1]: *** [icesound.o] Error 1 make[1]: Leaving directory `/home/learfox/src/icewm-1.0.8/src' make: *** [icesound] Error 2 |