Last few weeks I get this error:
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I../src
-I../src -g -O2 -D_GNU_SOURCE -g -DDEBUG -D_REENTRANT -D_THREAD_SAFE -c
thread.cpp
rm -f .libs/thread.lo
c++ -DHAVE_CONFIG_H -I. -I. -I. -I../src -I../src -g -O2 -D_GNU_SOURCE -g
-DDEBUG -D_REENTRANT -D_THREAD_SAFE -Wp,-MD,.deps/thread.pp -c thread.cpp
-fPIC -DPIC -o .libs/thread.lo
thread.cpp: In function `void ost::execHandler(ost::Thread*)':
thread.cpp:452: no match for `-- ost::Mutex&' operator
thread.h:399: candidates are: int ost::operator--(ost::MutexCounter&)
thread.h:1330: void ost::operator--(ost::Thread&)
thread.cpp: In member function `void ost::PosixThread::setTimer(long
unsigned
int)':
thread.cpp:657: no match for `++ ost::Mutex&' operator
thread.h:398: candidates are: int ost::operator++(ost::MutexCounter&)
thread.h:1327: void ost::operator++(ost::Thread&)
thread.cpp: In member function `void ost::PosixThread::endTimer()':
thread.cpp:712: no match for `-- ost::Mutex&' operator
thread.h:399: candidates are: int ost::operator--(ost::MutexCounter&)
thread.h:1330: void ost::operator--(ost::Thread&)
make[1]: *** [thread.lo] Error 1
make[1]: Leaving directory `/home/4/wilx/tmp/CommonC++/src'
make: *** [all-recursive] Error 1
I think it is confusion between MutexCounter and Mutex.
Vaclav Haisman
_______________________________________________
Bug-commoncpp mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-commoncpp