[Box Backup-dev] Tests fail to compile on FreeBSD/i386 6.2

James O'Gorman boxbackup-dev at fluffy.co.uk
Tue Jun 19 23:01:11 BST 2007


Hi Chris,

On Tue, Jun 19, 2007 at 10:37:20PM +0100, Chris Wilson wrote:
>  Hi James,
> 
>  On Mon, 18 Jun 2007, James O'Gorman wrote:
> 
> > On Mon, Jun 18, 2007 at 12:06:57AM +0100, James O'Gorman wrote:
> >>
> >> I've just checked out the trunk branch to test some changes to the
> >> FreeBSD port, and when running "make test", all of the tests return with
> >> "make failed" (this is running everything manually, not from the port).
> >
> > Having looked again, the errors are all coming from lib/common/Test.h:
> >
> > ../../lib/common/Test.h: In function `int RunCommand(const char*)':
> > ../../lib/common/Test.h:101: error: `string' is not a member of `std'
> > ../../lib/common/Test.h:101: error: expected `;' before "command"
> > ../../lib/common/Test.h:104: error: `command' was not declared in this
> > scope
> > ../../lib/common/Test.h:104: warning: unused variable 'command'
> >
> > It looks like Chris' last three commits to trunk (Test.h in particular)
> > have broken something.
> 
>  Thanks for pointing this out, and sorry, it should be fixed now. Please 
>  update your copy of trunk and try again.

I'm afraid not, I get a different error now:

_main.cpp:45: error: expected constructor, destructor, or type
conversion before "first_fail_file"
_main.cpp: In function `int main(int, const char**)':
_main.cpp:143: error: `first_fail_file' was not declared in this scope
_main.cpp:143: warning: unused variable 'first_fail_file'
*** Error code 1

Thanks,

James



More information about the Boxbackup-dev mailing list