#177 closed defect (fixed)
mididrv.cpp compilation error in BeOS
Reported by: | SF/kreeblah | Owned by: | SF/ender |
---|---|---|---|
Priority: | normal | Component: | Port: BeOS |
Version: | Keywords: | ||
Cc: | Game: |
Description
mididrv.cpp (from a CVS pull as of about 5 minutes ago) does not compile in BeOS. I get the following when I try to do so:
gcc -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long- long -Wno-multichar -DUNIX `sdl-config --cflags` -I./ -I./ sound -c sound/mididrv.cpp -o sound/mididrv.o /boot/home/ScummViewer/scummvm/scummvm/sound/mididrv.cpp: In method `void MidiDriver_SEQ::close()': /boot/home/ScummViewer/scummvm/scummvm/sound/mididrv.cpp:405: implicit declaration of function `int close(...)' /boot/home/ScummViewer/scummvm/scummvm/sound/mididrv.cpp: In method `void MidiDriver_SEQ::send(long unsigned int)': /boot/home/ScummViewer/scummvm/scummvm/sound/mididrv.cpp:449: implicit declaration of function `int write(...)' make: *** [sound/mididrv.o] Error 1
Obviously, ScummVM needs this for compilation, so just removing it wouldn't work . . .
As a side note, I'm getting a warning when compiling simon.cpp:
/boot/home/ScummViewer/scummvm/scummvm/simon/simon.cpp: In method `void SimonState::dump_vga_script_always(byte *, unsigned int, unsigned int)': /boot/home/ScummViewer/scummvm/scummvm/simon/simon.cpp:7178: warning: unsigned int format, long unsigned int arg (arg 3)
Ticket imported from: #546648. Ticket imported from: bugs/177.
Change History (5)
comment:1 by , 23 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 by , 23 years ago
comment:3 by , 23 years ago
Hmmm. I'm still getting the same compiler errors, but with every error in mididrv.cpp shifted down a line (406 and 450 instead of 405 and 449) . . .
comment:4 by , 23 years ago
Ok, stick a -DBEOS in the .proj file and commit it to the patch tracker. Then I'll update CVS with it to work properly.
comment:5 by , 6 years ago
Component: | --Unset-- → Port: BeOS |
---|
Compile error fixed.