[ scummvm-Bugs-3153076 ] MIDI compile error

SourceForge.net noreply at sourceforge.net
Fri Jan 7 21:34:00 CET 2011


Bugs item #3153076, was opened at 2011-01-07 20:34
Message generated for change (Tracker Item Submitted) made by ezekiel000
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3153076&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compiler error
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: David Rogers (ezekiel000)
Assigned to: Nobody/Anonymous (nobody)
Summary: MIDI compile error

Initial Comment:
I build my own version of ScummVM whenever one of the WIP engines I'm interested in is updated. When I do my own build it builds clean with only one error, the following shows up in the terminal (only the relevant section and one line before and after):
    C++      backends/midi/seq.o
backends/midi/seq.cpp: In member function ‘virtual void MidiDriver_SEQ::send(uint32)’:
backends/midi/seq.cpp:150: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result
backends/midi/seq.cpp: In member function ‘virtual void MidiDriver_SEQ::sysEx(const byte*, uint16)’:
backends/midi/seq.cpp:175: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result
    C++      backends/midi/stmidi.o
    C++      backends/midi/timidity.o
backends/midi/timidity.cpp: In member function ‘char* MidiDriver_TIMIDITY::timidity_ctl_command(const char*, ...)’:
backends/midi/timidity.cpp:340: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result
    C++      backends/midi/dmedia.o

I use the following to configure my build:
./configure --enable-mohawk --enable-sword25 --disable-he --disable-agi --disable-agos --disable-agos2 --disable-cine --disable-cruise --disable-draci --disable-drascula --disable-gob --disable-groovie --disable-kyra --disable-lure --disable-parallaction --disable-queen --disable-saga --disable-ihnm --disable-sci --disable-sky --disable-teenagent --disable-touche --disable-tucker --disable-debug --disable-mt32emu --disable-mad --disable-flac --disable-fluidsynth --disable-readline --enable-release

I have attached the output of configure, I have the options I want built in but disable or don't provide the libs for Flac, Mp3, mpeg2, fluidsynth.
I'm running Ubuntu 10.10 amd64 (quad core) the latest build I've made (which all the info comes from) is SVN 55153.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3153076&group_id=37116




More information about the Scummvm-tracker mailing list