bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

build error


From: Vaclav Haisman
Subject: build error
Date: Wed, 5 Dec 2001 14:14:16 +0100 (CET)

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]