[Box Backup] Compiliation Error using GCC 3.4.2 on Linux

Chris Hane boxbackup@fluffy.co.uk
Fri, 12 Nov 2004 13:57:56 -0500


--=======631F3D54=======
Content-Type: text/plain; x-avg-checked=avg-ok-306A7654; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 8bit


Just an FYI.  It looks like the GCC 3.4.2 compiler is a little more 
strict.  I added the compile flag -fpermissive to the ./configure command 
and everything compiled just fine.  I'm writing this just to let you 
know.  I've attached the console output.  Let me know if you would like the 
full output that I directed to a file.

Chris....

[chane@bacchus boxbackup-0.08]$ make > a.out
ar: creating ../../release/lib/common/common.a
ar: creating ../../release/lib/compress/compress.a
ar: creating ../../release/lib/crypto/crypto.a
ar: creating ../../release/lib/server/server.a
ar: creating ../../release/lib/backupclient/backupclient.a
ar: creating ../../release/lib/common/common.a
ar: creating ../../release/lib/compress/compress.a
ar: creating ../../release/lib/crypto/crypto.a
ar: creating ../../release/lib/server/server.a
ar: creating ../../release/lib/backupclient/backupclient.a
ar: creating ../../release/lib/common/common.a
ar: creating ../../release/lib/compress/compress.a
ar: creating ../../release/lib/crypto/crypto.a
ar: creating ../../release/lib/server/server.a
ar: creating ../../release/lib/backupclient/backupclient.a
In file included from BackupStoreDaemon.h:52,
                  from BBStoreDHousekeeping.cpp:54:
../../lib/server/ServerTLS.h: In member function `virtual void 
ServerTLS<Port, ListenBacklog, ForkToHandleRequests>::Run2(bool&)':
../../lib/server/ServerTLS.h:88: error: there are no arguments to 
`GetConfiguration' that depend on a template parameter, so a declaration of 
`GetConfiguration' must be available
../../lib/server/ServerTLS.h:88: error: (if you use `-fpermissive', G++ 
will accept your code, but allowing the use of an undeclared name is 
deprecated)
../../lib/server/ServerTLS.h: In member function `virtual void 
ServerTLS<Port, ListenBacklog, 
ForkToHandleRequests>::HandleConnection(SocketStreamTLS&)':
../../lib/server/ServerTLS.h:102: error: there are no arguments to 
`Connection' that depend on a template parameter, so a declaration of 
`Connection' must be available
make[1]: *** [../../release/bin/bbstored/BBStoreDHousekeeping.o] Error 1
make: *** [parcels/boxbackup-0.08-backup-server-Linux.tgz] Error 2
[chane@bacchus boxbackup-0.08]$

--=======631F3D54=======--