adonthell-devel
[Top][All Lists]
Advanced

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

Re: [Adonthell-devel] Compile error


From: StyxD
Subject: Re: [Adonthell-devel] Compile error
Date: Thu, 7 Jun 2012 22:52:24 +0200

I'm trying to get adonthell compiled as well, but after the latest
commits I get an error in... a unit test?

/home/MK/Compileable/adonthell/src/world/test_placeable.cc: In
constructor ‘world::placeable_Test::placeable_Test()’:
/home/MK/Compileable/adonthell/src/world/test_placeable.cc:47:42:
error: no matching function for call to
‘world::placeable::placeable(world::area&)’
/home/MK/Compileable/adonthell/src/world/test_placeable.cc:47:42:
note: candidates are:
In file included from
/home/MK/Compileable/adonthell/src/world/test_placeable.cc:32:0:
/home/MK/Compileable/adonthell/src/world/placeable.h:422:9: note:
world::placeable::placeable(const world::placeable&)
/home/MK/Compileable/adonthell/src/world/placeable.h:422:9: note:   no
known conversion for argument 1 from ‘world::area’ to ‘const
world::placeable&’
/home/MK/Compileable/adonthell/src/world/placeable.h:76:9: note:
world::placeable::placeable(world::area&, const string&)
/home/MK/Compileable/adonthell/src/world/placeable.h:76:9: note:
candidate expects 2 arguments, 1 provided

It's not a big issue, since the test is not really necessary and I can
just put an empty string as the second argument to get it to compile,
but I have no idea why the error popped up now, since the file doesn't
seem to have been modified. Is it just me?



reply via email to

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