https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195090
--- Comment #6 from [email protected] --- I just tried postgis20 and I get: usr/local/include/iconv.h:83:48: note: passing argument to parameter 'inbuf' here extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); ^ shp2pgsql-core.c:108:3: warning: implicit declaration of function 'iconvctl' is invalid in C99 [-Wimplicit-function-declaration] iconvctl(cd, ICONV_SET_TRANSLITERATE, &on); ^ shp2pgsql-core.c:108:16: error: use of undeclared identifier 'ICONV_SET_TRANSLITERATE' iconvctl(cd, ICONV_SET_TRANSLITERATE, &on); ^ shp2pgsql-core.c:109:18: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] if ( iconv(cd, &inputbuf, &inbytesleft, &outputptr, &outbytesleft) == -1 ) ^~~~~~~~~ /usr/local/include/iconv.h:83:48: note: passing argument to parameter 'inbuf' here extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); ^ shp2pgsql-core.c:112:17: error: use of undeclared identifier 'ICONV_SET_DISCARD_ILSEQ' iconvctl(cd, ICONV_SET_DISCARD_ILSEQ, &on); ^ shp2pgsql-core.c:113:19: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] if ( iconv(cd, &inputbuf, &inbytesleft, &outputptr, &outbytesleft) == -1 ) ^~~~~~~~~ /usr/local/include/iconv.h:83:48: note: passing argument to parameter 'inbuf' here extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); ^ 4 warnings and 2 errors generated. Makefile:90: recipe for target 'shp2pgsql-core.o' failed gmake[4]: *** [shp2pgsql-core.o] Error 1 gmake[4]: Leaving directory '/usr/ports/databases/postgis20/work/postgis-2.0.6/loader' GNUmakefile:14: recipe for target 'all' failed gmake[3]: *** [all] Error 1 gmake[3]: Leaving directory '/usr/ports/databases/postgis20/work/postg -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
