summaryrefslogtreecommitdiff
blob: cbc056dded9f88c9c3e9bc54eb2cce0134e8550c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Fixing build with gcc 4.5

http://bugs.gentoo.org/show_bug.cgi?id=318585

--- a/src/nnet/neural_parse.yy
+++ b/src/nnet/neural_parse.yy
@@ -255,7 +255,7 @@
 
 int yyerror (char *s)
 {
-	shriek (812, fmt ("BISON:yyerror:bison_nnet parser: bison_row %i (not counting empty rows) '%s' is erroneous. %s\n", row_num, bison_row_buf, s));
+	shriek (812, fmt ("BISON:yyerror:bison_nnet parser: bison_row %i (not counting empty rows) '%s' is erroneous. %s\n", row_num, bison_row_buf.c_str(), s));
 	return -1;
 }