This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Now: shadow headers and pthread



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]