[Box Backup] Problem compiling 0.10

Garry Glendown boxbackup@fluffy.co.uk
Mon, 09 Apr 2007 13:35:24 +0200


In the course of moving from 0.09 to 0.10, which generally went pretty 
smooth, I came to an older box (SuSE 7.3) that I use BoxBackup with ... 
0.09 worked fine (compiled on the box, and still does), but I can't get 
0.10 to compile ... I'm a bit rusty at C++ programming, so maybe someone 
can help me out here:

g++ -g -Wall -I../../lib/common  -DBOX_VERSION="\"0.10\""  -g -Wall -c 
Daemon.cpp -o ../../debug/lib/server/Daemon.o
Daemon.cpp: In method `int Daemon::Main(const char *, int, const char **)':
Daemon.cpp:174: initialization of non-const reference type `class 
auto_ptr<Configuration> &'
Daemon.cpp:174: from rvalue of type `auto_ptr<Configuration>'
/usr/include/g++/memory:40: in passing argument 1 of 
`auto_ptr<Configuration>::operator =(auto_ptr<Configuration> &)'
make: *** [../../debug/lib/server/Daemon.o] Error 1

Tnx!