This patch is part of a series of patches for speech-tools for Debian GNU/Linux, which primarily fix build errors with GCC 4.3 and newer. --- speech-tools-1.2.3.orig/stats/wagon/wagon.cc +++ speech-tools-1.2.3/stats/wagon/wagon.cc @@ -43,8 +43,8 @@ /*=======================================================================*/ #include -#include -#include +#include +#include #include #include "EST_Token.h" #include "EST_FMatrix.h" @@ -276,7 +276,7 @@ for (p=dataset.head(); p != 0; p=next(p)) { pnode = tree.predict_node((*dataset(p))); - predict = pnode->get_impurity().value(); + predict = EST_String(pnode->get_impurity().value()); if (wgn_count_field == -1) count = 1.0; else