From: Damyan I. <dm...@de...> - 2011-04-29 08:11:21
|
Hi, Trying to build the latest trunk (revision 52838) fails. With GCC 4.5.2: g++ -ggdb -DFB_SEND_FLAGS=MSG_NOSIGNAL -DLINUX -DAMD64 -pipe -MMD -fPIC -fmessage-length=0 -O3 -fno-omit-frame-pointer -I/tmp/buildd/firebird3.0-3.0.0~svn+52838.ds3/src/include/gen -I/tmp/buildd/firebird3.0-3.0.0~svn+52838.ds3/src/include -pthread -fno-rtti -g -O2 -c /tmp/buildd/firebird3.0-3.0.0~svn+52838.ds3/src/common/ThreadStart.cpp -o /tmp/buildd/firebird3.0-3.0.0~svn+52838.ds3/temp/Release/common/ThreadStart.o In file included from /tmp/buildd/firebird3.0-3.0.0~svn+52838.ds3/src/common/../common/classes/Synchronize.h:36:0, from /tmp/buildd/firebird3.0-3.0.0~svn+52838.ds3/src/common/ThreadStart.cpp:51: /tmp/buildd/firebird3.0-3.0.0~svn+52838.ds3/src/common/../common/classes/../../common/classes/SyncObject.h: In constructor 'Firebird::SyncObject::SyncObject()': /tmp/buildd/firebird3.0-3.0.0~svn+52838.ds3/src/common/../common/classes/../../common/classes/SyncObject.h:65:13: error: no match for 'operator=' in '((Firebird::SyncObject*)this)->Firebird::SyncObject::waiters = 0' /tmp/buildd/firebird3.0-3.0.0~svn+52838.ds3/src/include/../common/classes/fb_atomic.h:487:1: note: candidate is: Firebird::AtomicCounter& Firebird::AtomicCounter::operator=(const Firebird::AtomicCounter&) make[4]: *** [/tmp/buildd/firebird3.0-3.0.0~svn+52838.ds3/temp/Release/common/ThreadStart.o] Error 1 With GCC 4.6.0: g++-4.6 -ggdb -DFB_SEND_FLAGS=MSG_NOSIGNAL -DLINUX -DAMD64 -pipe -MMD -fPIC -fmessage-length=0 -O3 -fno-omit-frame-pointer -I/tmp/buildd/firebird3.0-3.0.0~svn+52838.ds3/src/include/gen -I/tmp/buildd/firebird3.0-3.0.0~svn+52838.ds3/src/include -pthread -fno-rtti -g -O2 -c /tmp/buildd/firebird3.0-3.0.0~svn+52838.ds3/src/common/ThreadStart.cpp -o /tmp/buildd/firebird3.0-3.0.0~svn+52838.ds3/temp/Release/common/ThreadStart.o In file included from /tmp/buildd/firebird3.0-3.0.0~svn+52838.ds3/src/common/../common/classes/Synchronize.h:36:0, from /tmp/buildd/firebird3.0-3.0.0~svn+52838.ds3/src/common/ThreadStart.cpp:51: /tmp/buildd/firebird3.0-3.0.0~svn+52838.ds3/src/common/../common/classes/../../common/classes/SyncObject.h: In constructor 'Firebird::SyncObject::SyncObject()': /tmp/buildd/firebird3.0-3.0.0~svn+52838.ds3/src/common/../common/classes/../../common/classes/SyncObject.h:65:13: error: no match for 'operator=' in '((Firebird::SyncObject*)this)->Firebird::SyncObject::waiters = 0' /tmp/buildd/firebird3.0-3.0.0~svn+52838.ds3/src/common/../common/classes/../../common/classes/SyncObject.h:65:13: note: candidate is: /tmp/buildd/firebird3.0-3.0.0~svn+52838.ds3/src/include/../common/classes/fb_atomic.h:486:7: note: Firebird::AtomicCounter& Firebird::AtomicCounter::operator=(const Firebird::AtomicCounter&) /tmp/buildd/firebird3.0-3.0.0~svn+52838.ds3/src/include/../common/classes/fb_atomic.h:486:7: note: no known conversion for argument 1 from 'int' to 'const Firebird::AtomicCounter&' make[4]: *** [/tmp/buildd/firebird3.0-3.0.0~svn+52838.ds3/temp/Release/common/ThreadStart.o] Error 1 Platform is Debian/amd64. Sorry if I am impatient :) I wanted to try the new synchronization code on the Debian build daemons (3.0 so far supported only x86/amd64). |