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
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 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__ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] List archives: http://asgardsrealm.net/lurker/splash/index.html Trouble? Contact [EMAIL PROTECTED]
