[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tunnel-list] Re: make failure
From: |
solicit |
Subject: |
[tunnel-list] Re: make failure |
Date: |
Sat, 20 Mar 2004 18:55:44 +0200 (EET) |
Hi,
I had the same problem when compiling, and even though
I know no C++, I made up this fix:
--- new_ball.cc.orig 2004-03-20 19:50:02.000000000 +0200
+++ new_ball.cc 2004-03-20 19:49:53.000000000 +0200
@@ -40,7 +40,7 @@
throw "no start level";
this_level = "start";
next_at += double(levs.sub(this_level)["depth"]);
- next_level = levs.sub(this_level)["next"];
+ next_level = std::string(levs.sub(this_level)["next"]);
if (levs.sub(this_level).has("repeat"))
repeat = bool(levs.sub(this_level)["repeat"]);
@@ -83,7 +83,7 @@
if (!repeat) {
this_level = next_level;
- next_level = levs.sub(this_level)["next"];
+ next_level = std::string(levs.sub(this_level)["next"]);
}
next_at += double(levs.sub(this_level)["depth"]);
if (levs.sub(this_level).has("repeat"))
(save the contents to a file, cd to the src folder, and apply with 'patch
<name_of_saved_file')
Not sure if this is correct, Trevor will have to validate it, but it works
for me.
--
Peep Pullerits
http://solicit.estprog.ee
- [tunnel-list] Re: make failure,
solicit <=