Now: shadow headers and pthread
Lars Gullik Bjønnes
larsbj@lyx.org
Tue Oct 31 21:09:00 GMT 2000
After nice tips I got a lot further, now I have problems with
pthreads:
g++ -fno-builtin -DHAVE_CONFIG_H -I. -I../../sigc++ -I. -I../../sigc++/.. -I./.. -g -O2 -Wp,-MD,.deps/thread.pp -save-temps -c ../../sigc++/thread.cc -o thread.o
../../sigc++/thread.cc: In member function `int
SigC::Threads::Condition::wait(SigC::Threads::Mutex&,
SigC::Threads::timespec*)':
../../sigc++/thread.cc:57: cannot convert `SigC::Threads::timespec*' to `const
_C_legacy::timespec*' for argument `3' to `int
_C_legacy::pthread_cond_timedwait(pthread_cond_t*, pthread_mutex_t*, const
_C_legacy::timespec*)'
../../sigc++/thread.cc: In member function `int
SigC::Threads::Thread::detach()':
../../sigc++/thread.cc:96: `pthread_detach' undeclared (first use this
function)
../../sigc++/thread.cc:96: (Each undeclared identifier is reported only once
for each function it appears in.)
You can get thread.ii at
ftp://ftp.devel.lyx.org/pub/lyx/thread.ii
btw. Should I continue to report these kinds of errors to this list or
is there a more approp. place?
Lgb
More information about the Libstdc++
mailing list