1 Regressed by https://github.com/unicode-org/icu/commit/480bec3ea652 2 3 libfreehand_utils.cpp:165:30: error: expected ';' after do/while statement 4 U16_NEXT(s, j, length, c) 5 ^ 6 ; 7 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf' 8 U8_APPEND_UNSAFE(&outbuf[0], i, c); 9 ^ 10 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf' 11 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf' 12 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf' 13 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf' 14 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf' 15 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf' 16 libfreehand_utils.cpp:169:5: error: use of undeclared identifier 'outbuf'; did you mean 'setbuf'? 17 outbuf[i] = 0; 18 ^~~~~~ 19 setbuf 20 /usr/include/stdio.h:283:7: note: 'setbuf' declared here 21 void setbuf(FILE * __restrict, char * __restrict); 22 ^ 23 libfreehand_utils.cpp:169:5: error: subscript of pointer to function type 'void (FILE *, char *)' (aka 'void (__sFILE *, char *)') 24 outbuf[i] = 0; 25 ^~~~~~ 26 libfreehand_utils.cpp:171:25: error: use of undeclared identifier 'outbuf' 27 text.append((char *)outbuf); 28 ^ 29 30 --- src/lib/libfreehand_utils.cpp.orig 2017-09-16 10:28:50 UTC 31 +++ src/lib/libfreehand_utils.cpp 32 @@ -162,7 +162,7 @@ void libfreehand::_appendUTF16(librevenge::RVNGString 33 while (j < length) 34 { 35 UChar32 c; 36 - U16_NEXT(s, j, length, c) 37 + U16_NEXT(s, j, length, c); 38 unsigned char outbuf[U8_MAX_LENGTH+1]; 39 int i = 0; 40 U8_APPEND_UNSAFE(&outbuf[0], i, c); 41