[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
test-striconveh fail to build without libiconv
From: |
Tom G. Christensen |
Subject: |
test-striconveh fail to build without libiconv |
Date: |
Tue, 9 Jul 2019 07:27:54 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Hello,
In 8c96eb80bd calls to iconv functions were added outside the HAVE_ICONV
block.
test-striconveh.c will fail to build if iconv is unavailable:
test-striconveh.c: In function 'main':
test-striconveh.c:1113:7: error: 'cd_ascii_to_88591' undeclared (first
use in this function)
if (cd_ascii_to_88591 != (iconv_t)(-1))
^
test-striconveh.c:1113:7: note: each undeclared identifier is reported
only once for each function it appears in
test-striconveh.c:1113:29: error: 'iconv_t' undeclared (first use in
this function)
if (cd_ascii_to_88591 != (iconv_t)(-1))
^
test-striconveh.c:1114:5: warning: implicit declaration of function
'iconv_close' [-Wimplicit-function-declaration]
iconv_close (cd_ascii_to_88591);
^
test-striconveh.c:1115:16: error: 'cd_ascii_to_utf8' undeclared (first
use in this function)
iconv_close (cd_ascii_to_utf8);
^
test-striconveh.c:1116:7: error: 'cd_utf7_to_utf8' undeclared (first use
in this function)
if (cd_utf7_to_utf8 != (iconv_t)(-1))
^
make[4]: *** [test-striconveh.o] Error 1
-tgc
- test-striconveh fail to build without libiconv,
Tom G. Christensen <=