On Thursday 06 November 2003 06:17, Dave and Natalie wrote: > Attempting to compile CVS on OS/2 (EMX) with GCC 3.2.1. > In lib/application.cc I need to include sys/select.h so select can be > found
Just an FYI, I have fixed this now in CVS... > I die here > g++ -DHAVE_CONFIG_H -I. -I. -I.. -DMITSHM > -DLOCALEPATH=\"/XFree86/share/blackbox/nls\" -D__EMX__ -DOS2 -Zmtd > -D__ST_MT_ERRNO__ -Zexe -O2 -fomit-frame-pointer > -Dstrncasecmp=strnicmp -Dstrcasecmp=stricmp -Wall -W -pedantic > -Woverloaded-virtual -Wshadow -Winline -c -o Menu.o `test -f > 'Menu.cc' || echo './'`Menu.cc Menu.cc: In member function `unsigned > int bt::Menu::insertItem(const bt::MenuItem&, unsigned int, unsigned > int)': > Menu.cc:402: no matching function for call to `min(unsigned int&, > size_t)' > make[2]: *** [Menu.o] Error 1 strange... could you update again and see if it works? If not, send me the error again (so that I can make sure I look on the right line number). > Where is min usually found? Or any ideas for work around? > Dave > ps also lib/Util.cc in void bt::bexec (line #78) needs this changed > #else // __EMX__ > spawnlp(P_NOWAIT, "cmd.exe", "cmd.exe", "/c", command, NULL); > #endif // !__EMX__ > to > #else // __EMX__ > spawnlp(P_NOWAIT, "cmd.exe", "cmd.exe", "/c", command.c_str(), > NULL); #endif // !__EMX__ Fixed this as well -- Bradley T. Hughes - bhughes at trolltech.com Trolltech AS - Waldemar Thranes gt. 98 N-0175 Oslo, Norway -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] List archives: http://asgardsrealm.net/lurker/splash/index.html Trouble? Contact [EMAIL PROTECTED]
