| Server IP : 82.208.35.60 / Your IP : 216.73.216.168 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/graphics/libfreehand/files/ |
Upload File : |
Regressed by https://github.com/unicode-org/icu/commit/480bec3ea652
libfreehand_utils.cpp:165:30: error: expected ';' after do/while statement
U16_NEXT(s, j, length, c)
^
;
libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
U8_APPEND_UNSAFE(&outbuf[0], i, c);
^
libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
libfreehand_utils.cpp:169:5: error: use of undeclared identifier 'outbuf'; did you mean 'setbuf'?
outbuf[i] = 0;
^~~~~~
setbuf
/usr/include/stdio.h:283:7: note: 'setbuf' declared here
void setbuf(FILE * __restrict, char * __restrict);
^
libfreehand_utils.cpp:169:5: error: subscript of pointer to function type 'void (FILE *, char *)' (aka 'void (__sFILE *, char *)')
outbuf[i] = 0;
^~~~~~
libfreehand_utils.cpp:171:25: error: use of undeclared identifier 'outbuf'
text.append((char *)outbuf);
^
--- src/lib/libfreehand_utils.cpp.orig 2017-09-16 10:28:50 UTC
+++ src/lib/libfreehand_utils.cpp
@@ -162,7 +162,7 @@ void libfreehand::_appendUTF16(librevenge::RVNGString
while (j < length)
{
UChar32 c;
- U16_NEXT(s, j, length, c)
+ U16_NEXT(s, j, length, c);
unsigned char outbuf[U8_MAX_LENGTH+1];
int i = 0;
U8_APPEND_UNSAFE(&outbuf[0], i, c);