hi,

is there anybody, who can compile blackbox on FreeBSD? i have the latest
cvs from sf.net, and i'm still having the problem with Timer.hh

roar:~/devel/blackbox> ls -ld CVS
drwxrwxr-x  2 piggy  piggy  512 Feb 23 08:55 CVS/

Making all in lib
source='Image.cc' object='Image.o' libtool=no  depfile='.deps/Image.Po' 
tmpdepfile='.deps/Image.TPo'  depmode=gcc /bin/sh ../depcomp  g++ -DHAVE_CONFIG_H -I. 
-I. -I..    -DLOCALEPATH=\"/usr/local/share/blackbox/nls\"  -g -O2 -Wall -W -pedantic 
-I/usr/X11R6/include -c -o Image.o `test -f Image.cc || echo './'`Image.cc
In file included from Image.hh:37,
                 from Image.cc:48:
Timer.hh:55: field `_start' has incomplete type
Timer.hh:55: field `_timeout' has incomplete type
Timer.hh: In method `const struct timeval & bt::Timer::timeout() const':
Timer.hh:66: warning: control reaches end of non-void function `bt::Timer::timeout() 
const'
Timer.hh: In method `const struct timeval & bt::Timer::startTime() const':
Timer.hh:67: warning: control reaches end of non-void function `bt::Timer::startTime() 
const'
Timer.hh: In method `bool bt::Timer::operator <(const bt::Timer &) const':
Timer.hh:83: invalid use of undefined type `struct timeval'
Util.hh:39: forward declaration of `struct timeval'
Timer.hh:83: warning: control reaches end of non-void function `bt::Timer::operator 
<(const bt::Timer &) const'
*** Error code 1

(sorry for no linewrap)

roar:~> uname -psr
FreeBSD 4.7-RELEASE i386
roar:~> gcc --version
2.95.4

what am i doing wrong? i'm still using 0.65, just wanted to try out the new version

istvan

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

Reply via email to