You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-accessibility/epos/files/epos-2.5.37-gcc45.patch

16 lines
503 B

Fixing build with gcc 4.5
http://bugs.gentoo.org/show_bug.cgi?id=318585
--- src/nnet/neural_parse.yy
+++ 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;
}