Hi, to succesfully compile blackbox cvs on OS/2 these changes are needed

In lib/Menu.cc around line 355
index = std::min(index, _items.size());
needs to be changed to
#ifndef __EMX__
    index = std::min(index, _items.size());
#else
    index = std::min(static_cast<size_t>(index), _items.size());
#endif
as type_t is not a unsigned integer here.

In lib/Util.cc around line 36 the check for process.h has been removed from configure 
so the #ifdef can be changed to only test for __EMX__

-lshm needs to be added to the LIBS line in the makefiles as shm is a seperate library 
on OS/2

For compiling on X11 3.3.6 need
in Window.cc #include <X11/Xlib.h> before #include <X11/Xutil.h> at beginning of file
Dave


New Email Address - please update your Address book
                      [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]

Reply via email to