On Friday 14 November 2003 08:01, Dave and Natalie wrote:
> On Thu, 13 Nov 2003 09:23:07 +0100, Bradley T Hughes wrote:
> >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).
>
> Menu.cc: In method `unsigned int bt::Menu::insertItem(const
> bt::MenuItem &, unsigned int = 0ffffffff, unsigned int = 0ffffffff)':
> Menu.cc:355: no matching function for call to `min (unsigned int &,
> size_t)'
>
> I got by this by using a snippet copied from one of Ciprian
> Popovici's posts #define min(X, Y)          \
> ({ typeof (X) x_ = (X);    \
>    typeof (Y) y_ = (Y);    \
>    (x_ < y_) ? x_ : y_; })

Hmm... why use a macro?  You should be able to simply use the STL 
std::min() function.

> Only other problem I had building is needing to link against shm.a on
> OS/2. I just added -lshm in the makefiles.

Hmm... I will need to fix the configure script then... I will take a 
look at this soon-ish.

> Unluckily Blackbox-CVS seems to be stuck in a very tight loop here,
> cpu temp is way up, and it is unkillable 

Strange... I don't supposed you could run it in gdb, break where it 
hanges and send me the backtrace?

> Dave
> ps forgot to CC this to list.
> pps Also had to switch from X 3.3.6 to 4.3 to get to compile

-- 
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]

Reply via email to