This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Now: shadow headers and pthread
- To: libstdc++ at sources dot redhat dot com
- Subject: Now: shadow headers and pthread
- From: larsbj at lyx dot org (Lars Gullik Bjønnes)
- Date: 01 Nov 2000 06:15:10 +0100
- Organization: LyX Developer http://www.lyx.org/
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