[libvoikko] Compilation error in HFST trunk

Harri Pitkänen hatapitk at iki.fi
Tue Jan 5 22:26:47 EET 2010


HFST trunk at revision 231 failed to compile on my Linux system. The following 
patch was enough to fix this. There seems to be many ways of including 
string.h within different parts of HFST, I do not know which of them is 
preferred.

Harri

Index: hfst/hfst-tools/src/hfst-substitute.cc
===================================================================
--- hfst/hfst-tools/src/hfst-substitute.cc      (revision 231)
+++ hfst/hfst-tools/src/hfst-substitute.cc      (working copy)
@@ -33,7 +33,7 @@
 #include "hfst-commandline.h"
 #include "hfst-program-options.h"
 #include <hfst2/hfst.h>
-#include "hfst2/string.h"
+#include "hfst2/string/string.h"

 #include "hfst-common-unary-variables.h"



More information about the Libvoikko mailing list