First post, by Sinner
- Rank
- Newbie
Hello
I downloaded Hal's latest CVS here and I am have trouble compiling it. I can compile most CVS versions of Dosbox in terms of dependences but yet when I compile this version; I am getting a error that isn't very descriptive as to what the problem is. I was hoping some one would have some feed back.
make[3]: Entering directory `/home/administrator/Desktop/dosbox/src/misc'
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -I/usr/include/freetype2 -MT cross.o -MD -MP -MF .deps/cross.Tpo -c -o cross.o cross.cpp
mv -f .deps/cross.Tpo .deps/cross.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -I/usr/include/freetype2 -MT messages.o -MD -MP -MF .deps/messages.Tpo -c -o messages.o messages.cpp
mv -f .deps/messages.Tpo .deps/messages.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -I/usr/include/freetype2 -MT programs.o -MD -MP -MF .deps/programs.Tpo -c -o programs.o programs.cpp
mv -f .deps/programs.Tpo .deps/programs.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -I/usr/include/freetype2 -MT setup.o -MD -MP -MF .deps/setup.Tpo -c -o setup.o setup.cpp
setup.cpp: In member function ‘bool Value::set_hex(const std::string&)’:
setup.cpp:148: error: ‘INT_MIN’ was not declared in this scope
setup.cpp: In member function ‘bool Value::set_int(const std::string&)’:
setup.cpp:157: error: ‘INT_MIN’ was not declared in this scope
setup.cpp: In member function ‘virtual bool Prop_string::CheckValue(const Value&, bool)’:
setup.cpp:292: warning: format ‘%u’ expects type ‘unsigned int*’, but argument 3 has type ‘Bitu*’
setup.cpp: In member function ‘bool Config::PrintConfig(const char*) const’:
setup.cpp:658: warning: field width should have type ‘int’, but argument 4 has type ‘size_t’
setup.cpp:658: warning: field width should have type ‘int’, but argument 4 has type ‘size_t’
setup.cpp:666: warning: field width should have type ‘int’, but argument 3 has type ‘size_t’
make[3]: *** [setup.o] Error 1
make[3]: Leaving directory `/home/administrator/Desktop/dosbox/src/misc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/administrator/Desktop/dosbox/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/administrator/Desktop/dosbox'
make: *** [all] Error 2
Edit: I think the problem is INT_MIN is not being defined correctly causing the int to be unsigned. Sorry if thats a huge duh but I am rather new to programming. I mostly code Java anyway. Where is INT_MIN defined in the code, is it a dependency issue?