Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target armv7hl --nodeps builddir/build/SPECS/postgresql-odbc.spec'], False, '/var/lib/mock/c7-pass-1-armhfp-c93a7f44a892eb6353a2256ae1ee7463e0590e4b/root/', None, 0, True, False, 993, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target armv7hl --nodeps builddir/build/SPECS/postgresql-odbc.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/postgresql-odbc-09.03.0100-2.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target armv7hl --nodeps builddir/build/SPECS/postgresql-odbc.spec'], False, '/var/lib/mock/c7-pass-1-armhfp-c93a7f44a892eb6353a2256ae1ee7463e0590e4b/root/', None, 0, True, False, 993, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target armv7hl --nodeps builddir/build/SPECS/postgresql-odbc.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qrFFLT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf psqlodbc-09.03.0100 + /usr/bin/gzip -dc /builddir/build/SOURCES/psqlodbc-09.03.0100.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd psqlodbc-09.03.0100 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -p /builddir/build/SOURCES/acinclude.m4 . + rm -f libtool.m4 config/libtool.m4 + libtoolize --force --copy libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'. libtoolize: copying file `config/ltmain.sh' libtoolize: putting macros in `config'. libtoolize: copying file `config/libtool.m4' libtoolize: copying file `config/ltoptions.m4' libtoolize: copying file `config/ltsugar.m4' libtoolize: copying file `config/ltversion.m4' libtoolize: copying file `config/lt~obsolete.m4' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. + aclocal -I . + automake --add-missing --copy + autoconf + autoheader + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Q5s5km + umask 022 + cd /builddir/build/BUILD + cd psqlodbc-09.03.0100 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + ./configure --build=armv7hl-redhat-linux-gnueabi --host=armv7hl-redhat-linux-gnueabi --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-unixodbc --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/psqlodbc-09.03.0100/config/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/psqlodbc-09.03.0100/config/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for armv7hl-redhat-linux-gnueabi-gcc... armv7hl-redhat-linux-gnueabi-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether armv7hl-redhat-linux-gnueabi-gcc accepts -g... yes checking for armv7hl-redhat-linux-gnueabi-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of armv7hl-redhat-linux-gnueabi-gcc... none checking for odbc_config... /usr/bin/odbc_config configure: using /usr/include /usr/lib checking for pg_config... /usr/bin/pg_config checking build system type... armv7hl-redhat-linux-gnueabi checking host system type... armv7hl-redhat-linux-gnueabi checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by armv7hl-redhat-linux-gnueabi-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert armv7hl-redhat-linux-gnueabi file names to armv7hl-redhat-linux-gnueabi format... func_convert_file_noop checking how to convert armv7hl-redhat-linux-gnueabi file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for armv7hl-redhat-linux-gnueabi-objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv7hl-redhat-linux-gnueabi-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for armv7hl-redhat-linux-gnueabi-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv7hl-redhat-linux-gnueabi-strip... no checking for strip... strip checking for armv7hl-redhat-linux-gnueabi-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from armv7hl-redhat-linux-gnueabi-gcc object... ok checking for sysroot... no checking for armv7hl-redhat-linux-gnueabi-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... armv7hl-redhat-linux-gnueabi-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if armv7hl-redhat-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no checking for armv7hl-redhat-linux-gnueabi-gcc option to produce PIC... -fPIC -DPIC checking if armv7hl-redhat-linux-gnueabi-gcc PIC flag -fPIC -DPIC works... yes checking if armv7hl-redhat-linux-gnueabi-gcc static flag -static works... no checking if armv7hl-redhat-linux-gnueabi-gcc supports -c -o file.o... yes checking if armv7hl-redhat-linux-gnueabi-gcc supports -c -o file.o... (cached) yes checking whether the armv7hl-redhat-linux-gnueabi-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for library containing SQLGetPrivateProfileString... -lodbcinst checking for pthread_create in -lpthreads... no checking for pthread_create in -lpthread... yes checking for PQconnectdb in -lpq... yes checking for SSL_read in -lssl... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking libpq-fe.h usability... yes checking libpq-fe.h presence... yes checking for libpq-fe.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking whether time.h and sys/time.h may both be included... yes checking size of long... 4 checking size of void *... 4 checking for long long... yes checking for signed char... yes checking for ssize_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct addrinfo... yes checking for an ANSI C-conforming const... yes checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... no checking for strtoul... yes checking for strtoll... yes checking for strlcat... no checking for strlcpy... no checking for poll... yes checking for iswascii... no checking for localtime_r... yes checking for strtok_r... yes checking for pthread_mutexattr_settype... yes checking for lt_dlopen in -lltdl... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + make make all-am make[1]: Entering directory `/builddir/build/BUILD/psqlodbc-09.03.0100' /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o info.lo info.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c info.c -fPIC -DPIC -o .libs/info.o info.c: In function 'PGAPI_Tables': info.c:1580:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szSchemaName = szTableOwner; ^ info.c:1588:3: warning: pointer targets in passing argument 1 of 'adjustLikePattern' differ in signedness [-Wpointer-sign] escCatName = adjustLikePattern(szTableQualifier, cbTableQualifier, SEARCH_PATTERN_ESCAPE, NULL, conn); ^ info.c:1405:1: note: expected 'const char *' but argument is of type 'const SQLCHAR *' adjustLikePattern(const char *src, int srclen, char escape_ch, int *result_len, const ConnectionClass *conn) ^ info.c:1589:3: warning: pointer targets in passing argument 1 of 'adjustLikePattern' differ in signedness [-Wpointer-sign] escTableName = adjustLikePattern(szTableName, cbTableName, SEARCH_PATTERN_ESCAPE, NULL, conn); ^ info.c:1405:1: note: expected 'const char *' but argument is of type 'const SQLCHAR *' adjustLikePattern(const char *src, int srclen, char escape_ch, int *result_len, const ConnectionClass *conn) ^ info.c:1594:3: warning: pointer targets in passing argument 1 of 'simpleCatalogEscape' differ in signedness [-Wpointer-sign] escCatName = simpleCatalogEscape(szTableQualifier, cbTableQualifier, NULL, conn); ^ info.c:1363:1: note: expected 'const char *' but argument is of type 'const SQLCHAR *' simpleCatalogEscape(const char *src, int srclen, int *result_len, const ConnectionClass *conn) ^ info.c:1595:3: warning: pointer targets in passing argument 1 of 'simpleCatalogEscape' differ in signedness [-Wpointer-sign] escTableName = simpleCatalogEscape(szTableName, cbTableName, NULL, conn); ^ info.c:1363:1: note: expected 'const char *' but argument is of type 'const SQLCHAR *' simpleCatalogEscape(const char *src, int srclen, int *result_len, const ConnectionClass *conn) ^ info.c:1608:2: warning: pointer targets in passing argument 1 of 'make_string' differ in signedness [-Wpointer-sign] tableType = make_string(szTableType, cbTableType, NULL, 0); ^ In file included from info.c:37:0: misc.h:27:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *make_string(const char *s, ssize_t len, char *buf, size_t bufsize); ^ info.c:1667:4: warning: pointer targets in passing argument 6 of 'schema_strcat1' differ in signedness [-Wpointer-sign] schema_strcat1(tables_query, " and nspname %s'%.*s'", op_string, escSchemaName, SQL_NTS, szTableName, cbTableName, conn); ^ In file included from info.c:37:0: misc.h:31:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *schema_strcat1(char *buf, const char *fmt, const char *s1, ^ info.c:1740:4: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if (strnicmp(typestr, CSTR_SYS_TABLE, strlen(CSTR_SYS_TABLE)) == 0) ^ In file included from info.c:21:0: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'UCHAR *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ info.c:1742:4: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] else if (strnicmp(typestr, CSTR_TABLE, strlen(CSTR_TABLE)) == 0) ^ In file included from info.c:21:0: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'UCHAR *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ info.c:1744:4: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] else if (strnicmp(typestr, CSTR_VIEW, strlen(CSTR_VIEW)) == 0) ^ In file included from info.c:21:0: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'UCHAR *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ info.c:1793:2: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness [-Wpointer-sign] result = PGAPI_ExecDirect(htbl_stmt, tables_query, SQL_NTS, 0); ^ In file included from info.c:39:0: pgapifunc.h:90:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ExecDirect(HSTMT StatementHandle, ^ info.c: In function 'PGAPI_Columns': info.c:2068:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szSchemaName = szTableOwner; ^ info.c:2079:4: warning: pointer targets in passing argument 1 of 'adjustLikePattern' differ in signedness [-Wpointer-sign] escTableName = adjustLikePattern(szTableName, cbTableName, SEARCH_PATTERN_ESCAPE, NULL, conn); ^ info.c:1405:1: note: expected 'const char *' but argument is of type 'const SQLCHAR *' adjustLikePattern(const char *src, int srclen, char escape_ch, int *result_len, const ConnectionClass *conn) ^ info.c:2080:4: warning: pointer targets in passing argument 1 of 'adjustLikePattern' differ in signedness [-Wpointer-sign] escColumnName = adjustLikePattern(szColumnName, cbColumnName, SEARCH_PATTERN_ESCAPE, NULL, conn); ^ info.c:1405:1: note: expected 'const char *' but argument is of type 'const SQLCHAR *' adjustLikePattern(const char *src, int srclen, char escape_ch, int *result_len, const ConnectionClass *conn) ^ info.c:2085:4: warning: pointer targets in passing argument 1 of 'simpleCatalogEscape' differ in signedness [-Wpointer-sign] escTableName = simpleCatalogEscape(szTableName, cbTableName, NULL, conn); ^ info.c:1363:1: note: expected 'const char *' but argument is of type 'const SQLCHAR *' simpleCatalogEscape(const char *src, int srclen, int *result_len, const ConnectionClass *conn) ^ info.c:2086:4: warning: pointer targets in passing argument 1 of 'simpleCatalogEscape' differ in signedness [-Wpointer-sign] escColumnName = simpleCatalogEscape(szColumnName, cbColumnName, NULL, conn); ^ info.c:1363:1: note: expected 'const char *' but argument is of type 'const SQLCHAR *' simpleCatalogEscape(const char *src, int srclen, int *result_len, const ConnectionClass *conn) ^ info.c:2125:4: warning: pointer targets in passing argument 6 of 'schema_strcat1' differ in signedness [-Wpointer-sign] schema_strcat1(columns_query, " and n.nspname %s'%.*s'", op_string, escSchemaName, SQL_NTS, szTableName, cbTableName, conn); ^ In file included from info.c:37:0: misc.h:31:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *schema_strcat1(char *buf, const char *fmt, const char *s1, ^ info.c:2178:2: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness [-Wpointer-sign] result = PGAPI_ExecDirect(hcol_stmt, columns_query, SQL_NTS, 0); ^ In file included from info.c:39:0: pgapifunc.h:90:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ExecDirect(HSTMT StatementHandle, ^ info.c: In function 'PGAPI_SpecialColumns': info.c:2792:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szSchemaName = szTableOwner; ^ info.c:2795:2: warning: pointer targets in passing argument 1 of 'simpleCatalogEscape' differ in signedness [-Wpointer-sign] escTableName = simpleCatalogEscape(szTableName, cbTableName, NULL, conn); ^ info.c:1363:1: note: expected 'const char *' but argument is of type 'const SQLCHAR *' simpleCatalogEscape(const char *src, int srclen, int *result_len, const ConnectionClass *conn) ^ info.c:2829:3: warning: pointer targets in passing argument 6 of 'schema_strcat1' differ in signedness [-Wpointer-sign] schema_strcat1(columns_query, " and u.nspname %s'%.*s'", eq_string, escSchemaName, SQL_NTS, szTableName, cbTableName, conn); ^ In file included from info.c:37:0: misc.h:31:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *schema_strcat1(char *buf, const char *fmt, const char *s1, ^ info.c:2849:2: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness [-Wpointer-sign] result = PGAPI_ExecDirect(hcol_stmt, columns_query, SQL_NTS, 0); ^ In file included from info.c:39:0: pgapifunc.h:90:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ExecDirect(HSTMT StatementHandle, ^ info.c: In function 'PGAPI_Statistics': info.c:3061:2: warning: pointer targets in passing argument 1 of 'make_string' differ in signedness [-Wpointer-sign] table_name = make_string(szTableName, cbTableName, NULL, 0); ^ In file included from info.c:37:0: misc.h:27:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *make_string(const char *s, ssize_t len, char *buf, size_t bufsize); ^ info.c:3107:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szSchemaName = szTableOwner; ^ info.c:3112:3: warning: pointer targets in passing argument 5 of 'schema_strcat' differ in signedness [-Wpointer-sign] schema_strcat(table_schemaname, "%.*s", szSchemaName, cbSchemaName, szTableName, cbTableName, conn); ^ In file included from info.c:37:0: misc.h:29:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *schema_strcat(char *buf, const char *fmt, const char *s, ssize_t len, ^ info.c:3136:5: warning: pointer targets in passing argument 4 of 'PGAPI_Columns' differ in signedness [-Wpointer-sign] table_name, SQL_NTS, NULL, 0, PODBC_NOT_SEARCH_PATTERN | PODBC_SEARCH_PUBLIC_SCHEMA, 0, 0); ^ info.c:1999:1: note: expected 'const SQLCHAR *' but argument is of type 'char *' PGAPI_Columns( ^ info.c:3136:5: warning: pointer targets in passing argument 6 of 'PGAPI_Columns' differ in signedness [-Wpointer-sign] table_name, SQL_NTS, NULL, 0, PODBC_NOT_SEARCH_PATTERN | PODBC_SEARCH_PUBLIC_SCHEMA, 0, 0); ^ info.c:1999:1: note: expected 'const SQLCHAR *' but argument is of type 'char *' PGAPI_Columns( ^ info.c:3250:2: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness [-Wpointer-sign] result = PGAPI_ExecDirect(hindx_stmt, index_query, SQL_NTS, 0); ^ In file included from info.c:39:0: pgapifunc.h:90:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ExecDirect(HSTMT StatementHandle, ^ info.c: In function 'PGAPI_ColumnPrivileges': info.c:3561:2: warning: pointer targets in passing argument 1 of 'simpleCatalogEscape' differ in signedness [-Wpointer-sign] escSchemaName = simpleCatalogEscape(szTableOwner, cbTableOwner, NULL, conn); ^ info.c:1363:1: note: expected 'const char *' but argument is of type 'const SQLCHAR *' simpleCatalogEscape(const char *src, int srclen, int *result_len, const ConnectionClass *conn) ^ info.c:3562:2: warning: pointer targets in passing argument 1 of 'simpleCatalogEscape' differ in signedness [-Wpointer-sign] escTableName = simpleCatalogEscape(szTableName, cbTableName, NULL, conn); ^ info.c:1363:1: note: expected 'const char *' but argument is of type 'const SQLCHAR *' simpleCatalogEscape(const char *src, int srclen, int *result_len, const ConnectionClass *conn) ^ info.c:3567:3: warning: pointer targets in passing argument 1 of 'adjustLikePattern' differ in signedness [-Wpointer-sign] escColumnName = adjustLikePattern(szColumnName, cbColumnName, SEARCH_PATTERN_ESCAPE, NULL, conn); ^ info.c:1405:1: note: expected 'const char *' but argument is of type 'const SQLCHAR *' adjustLikePattern(const char *src, int srclen, char escape_ch, int *result_len, const ConnectionClass *conn) ^ info.c:3572:3: warning: pointer targets in passing argument 1 of 'simpleCatalogEscape' differ in signedness [-Wpointer-sign] escColumnName = simpleCatalogEscape(szColumnName, cbColumnName, NULL, conn); ^ info.c:1363:1: note: expected 'const char *' but argument is of type 'const SQLCHAR *' simpleCatalogEscape(const char *src, int srclen, int *result_len, const ConnectionClass *conn) ^ info.c: In function 'PGAPI_PrimaryKeys': info.c:3731:3: warning: pointer targets in passing argument 1 of 'make_string' differ in signedness [-Wpointer-sign] pktab = make_string(szTableName, cbTableName, NULL, 0); ^ In file included from info.c:37:0: misc.h:27:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *make_string(const char *s, ssize_t len, char *buf, size_t bufsize); ^ info.c:3738:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szSchemaName = szTableOwner; ^ info.c:3740:3: warning: pointer targets in passing argument 1 of 'simpleCatalogEscape' differ in signedness [-Wpointer-sign] escTableName = simpleCatalogEscape(szTableName, cbTableName, NULL, conn); ^ info.c:1363:1: note: expected 'const char *' but argument is of type 'const SQLCHAR *' simpleCatalogEscape(const char *src, int srclen, int *result_len, const ConnectionClass *conn) ^ info.c:3752:4: warning: pointer targets in passing argument 5 of 'schema_strcat' differ in signedness [-Wpointer-sign] schema_strcat(pkscm, "%.*s", escSchemaName, SQL_NTS, szTableName, cbTableName, conn); ^ In file included from info.c:37:0: misc.h:29:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *schema_strcat(char *buf, const char *fmt, const char *s, ssize_t len, ^ info.c:3906:3: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness [-Wpointer-sign] result = PGAPI_ExecDirect(htbl_stmt, tables_query, SQL_NTS, 0); ^ In file included from info.c:39:0: pgapifunc.h:90:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ExecDirect(HSTMT StatementHandle, ^ info.c: In function 'getClientColumnName': info.c:4024:2: warning: pointer targets in passing argument 1 of 'isMultibyte' differ in signedness [-Wpointer-sign] if (!conn->original_client_encoding || !isMultibyte(serverColumnName)) ^ info.c:4003:1: note: expected 'const UCHAR *' but argument is of type 'char *' isMultibyte(const UCHAR *str) ^ info.c: In function 'PGAPI_ForeignKeys_old': info.c:4224:2: warning: pointer targets in passing argument 1 of 'make_string' differ in signedness [-Wpointer-sign] pk_table_needed = make_string(szPkTableName, cbPkTableName, NULL, 0); ^ In file included from info.c:37:0: misc.h:27:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *make_string(const char *s, ssize_t len, char *buf, size_t bufsize); ^ info.c:4225:2: warning: pointer targets in passing argument 1 of 'make_string' differ in signedness [-Wpointer-sign] fk_table_needed = make_string(szFkTableName, cbFkTableName, NULL, 0); ^ In file included from info.c:37:0: misc.h:27:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *make_string(const char *s, ssize_t len, char *buf, size_t bufsize); ^ info.c:4246:4: warning: pointer targets in passing argument 3 of 'schema_strcat' differ in signedness [-Wpointer-sign] schema_strcat(schema_needed, "%.*s", szFkTableOwner, cbFkTableOwner, szFkTableName, cbFkTableName, conn); ^ In file included from info.c:37:0: misc.h:29:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *schema_strcat(char *buf, const char *fmt, const char *s, ssize_t len, ^ info.c:4246:4: warning: pointer targets in passing argument 5 of 'schema_strcat' differ in signedness [-Wpointer-sign] schema_strcat(schema_needed, "%.*s", szFkTableOwner, cbFkTableOwner, szFkTableName, cbFkTableName, conn); ^ In file included from info.c:37:0: misc.h:29:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *schema_strcat(char *buf, const char *fmt, const char *s, ssize_t len, ^ info.c:4328:3: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness [-Wpointer-sign] result = PGAPI_ExecDirect(htbl_stmt, tables_query, SQL_NTS, 0); ^ In file included from info.c:39:0: pgapifunc.h:90:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ExecDirect(HSTMT StatementHandle, ^ info.c:4471:4: warning: pointer targets in passing argument 4 of 'PGAPI_PrimaryKeys' differ in signedness [-Wpointer-sign] keyresult = PGAPI_PrimaryKeys(hpkey_stmt, NULL, 0, schema_fetched, SQL_NTS, pk_table_fetched, SQL_NTS, 0); ^ info.c:3642:1: note: expected 'const SQLCHAR *' but argument is of type 'char *' PGAPI_PrimaryKeys( ^ info.c:4471:4: warning: pointer targets in passing argument 6 of 'PGAPI_PrimaryKeys' differ in signedness [-Wpointer-sign] keyresult = PGAPI_PrimaryKeys(hpkey_stmt, NULL, 0, schema_fetched, SQL_NTS, pk_table_fetched, SQL_NTS, 0); ^ info.c:3642:1: note: expected 'const SQLCHAR *' but argument is of type 'char *' PGAPI_PrimaryKeys( ^ info.c:4617:4: warning: pointer targets in passing argument 3 of 'schema_strcat' differ in signedness [-Wpointer-sign] schema_strcat(schema_needed, "%.*s", szPkTableOwner, cbPkTableOwner, szPkTableName, cbPkTableName, conn); ^ In file included from info.c:37:0: misc.h:29:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *schema_strcat(char *buf, const char *fmt, const char *s, ssize_t len, ^ info.c:4617:4: warning: pointer targets in passing argument 5 of 'schema_strcat' differ in signedness [-Wpointer-sign] schema_strcat(schema_needed, "%.*s", szPkTableOwner, cbPkTableOwner, szPkTableName, cbPkTableName, conn); ^ In file included from info.c:37:0: misc.h:29:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *schema_strcat(char *buf, const char *fmt, const char *s, ssize_t len, ^ info.c:4699:3: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness [-Wpointer-sign] result = PGAPI_ExecDirect(htbl_stmt, tables_query, SQL_NTS, 0); ^ In file included from info.c:39:0: pgapifunc.h:90:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ExecDirect(HSTMT StatementHandle, ^ info.c:4823:3: warning: pointer targets in passing argument 4 of 'PGAPI_PrimaryKeys' differ in signedness [-Wpointer-sign] keyresult = PGAPI_PrimaryKeys(hpkey_stmt, NULL, 0, schema_needed, SQL_NTS, pk_table_needed, SQL_NTS, 0); ^ info.c:3642:1: note: expected 'const SQLCHAR *' but argument is of type 'char *' PGAPI_PrimaryKeys( ^ info.c:4823:3: warning: pointer targets in passing argument 6 of 'PGAPI_PrimaryKeys' differ in signedness [-Wpointer-sign] keyresult = PGAPI_PrimaryKeys(hpkey_stmt, NULL, 0, schema_needed, SQL_NTS, pk_table_needed, SQL_NTS, 0); ^ info.c:3642:1: note: expected 'const SQLCHAR *' but argument is of type 'char *' PGAPI_PrimaryKeys( ^ info.c: In function 'PGAPI_ProcedureColumns': info.c:5064:3: warning: pointer targets in passing argument 1 of 'adjustLikePattern' differ in signedness [-Wpointer-sign] escSchemaName = adjustLikePattern(szProcOwner, cbProcOwner, SEARCH_PATTERN_ESCAPE, NULL, conn); ^ info.c:1405:1: note: expected 'const char *' but argument is of type 'const SQLCHAR *' adjustLikePattern(const char *src, int srclen, char escape_ch, int *result_len, const ConnectionClass *conn) ^ info.c:5065:3: warning: pointer targets in passing argument 1 of 'adjustLikePattern' differ in signedness [-Wpointer-sign] escProcName = adjustLikePattern(szProcName, cbProcName, SEARCH_PATTERN_ESCAPE, NULL, conn); ^ info.c:1405:1: note: expected 'const char *' but argument is of type 'const SQLCHAR *' adjustLikePattern(const char *src, int srclen, char escape_ch, int *result_len, const ConnectionClass *conn) ^ info.c:5070:3: warning: pointer targets in passing argument 1 of 'simpleCatalogEscape' differ in signedness [-Wpointer-sign] escSchemaName = simpleCatalogEscape(szProcOwner, cbProcOwner, NULL, conn); ^ info.c:1363:1: note: expected 'const char *' but argument is of type 'const SQLCHAR *' simpleCatalogEscape(const char *src, int srclen, int *result_len, const ConnectionClass *conn) ^ info.c:5071:3: warning: pointer targets in passing argument 1 of 'simpleCatalogEscape' differ in signedness [-Wpointer-sign] escProcName = simpleCatalogEscape(szProcName, cbProcName, NULL, conn); ^ info.c:1363:1: note: expected 'const char *' but argument is of type 'const SQLCHAR *' simpleCatalogEscape(const char *src, int srclen, int *result_len, const ConnectionClass *conn) ^ info.c:5179:2: warning: pointer targets in passing argument 1 of 'make_string' differ in signedness [-Wpointer-sign] column_name = make_string(szColumnName, cbColumnName, NULL, 0); ^ In file included from info.c:37:0: misc.h:27:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *make_string(const char *s, ssize_t len, char *buf, size_t bufsize); ^ info.c:5253:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (p = proargmodes; *p; p++) ^ info.c:5288:7: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(params, "%u", &pgtype); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from psqlodbc.h:21, from info.c:19: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'UCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ info.c:5330:6: warning: pointer targets in passing argument 2 of 'set_tuplefield_string' differ in signedness [-Wpointer-sign] set_tuplefield_string(&tuple[PROCOLS_COLUMN_NAME], proargnames); ^ In file included from info.c:28:0: tuple.h:61:7: note: expected 'const char *' but argument is of type 'UCHAR *' void set_tuplefield_string(TupleField *tuple_field, const char *string); ^ info.c: In function 'PGAPI_Procedures': info.c:5469:3: warning: pointer targets in passing argument 1 of 'adjustLikePattern' differ in signedness [-Wpointer-sign] escSchemaName = adjustLikePattern(szProcOwner, cbProcOwner, SEARCH_PATTERN_ESCAPE, NULL, conn); ^ info.c:1405:1: note: expected 'const char *' but argument is of type 'const SQLCHAR *' adjustLikePattern(const char *src, int srclen, char escape_ch, int *result_len, const ConnectionClass *conn) ^ info.c:5470:3: warning: pointer targets in passing argument 1 of 'adjustLikePattern' differ in signedness [-Wpointer-sign] escProcName = adjustLikePattern(szProcName, cbProcName, SEARCH_PATTERN_ESCAPE, NULL, conn); ^ info.c:1405:1: note: expected 'const char *' but argument is of type 'const SQLCHAR *' adjustLikePattern(const char *src, int srclen, char escape_ch, int *result_len, const ConnectionClass *conn) ^ info.c:5475:3: warning: pointer targets in passing argument 1 of 'simpleCatalogEscape' differ in signedness [-Wpointer-sign] escSchemaName = simpleCatalogEscape(szProcOwner, cbProcOwner, NULL, conn); ^ info.c:1363:1: note: expected 'const char *' but argument is of type 'const SQLCHAR *' simpleCatalogEscape(const char *src, int srclen, int *result_len, const ConnectionClass *conn) ^ info.c:5476:3: warning: pointer targets in passing argument 1 of 'simpleCatalogEscape' differ in signedness [-Wpointer-sign] escProcName = simpleCatalogEscape(szProcName, cbProcName, NULL, conn); ^ info.c:1363:1: note: expected 'const char *' but argument is of type 'const SQLCHAR *' simpleCatalogEscape(const char *src, int srclen, int *result_len, const ConnectionClass *conn) ^ info.c:5492:3: warning: pointer targets in passing argument 6 of 'schema_strcat1' differ in signedness [-Wpointer-sign] schema_strcat1(proc_query, " and nspname %s'%.*s'", op_string, escSchemaName, SQL_NTS, szProcName, cbProcName, conn); ^ In file included from info.c:37:0: misc.h:31:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *schema_strcat1(char *buf, const char *fmt, const char *s1, ^ info.c: In function 'PGAPI_TablePrivileges': info.c:5646:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szSchemaName = szTableOwner; ^ info.c:5654:3: warning: pointer targets in passing argument 1 of 'adjustLikePattern' differ in signedness [-Wpointer-sign] escTableName = adjustLikePattern(szTableName, cbTableName, SEARCH_PATTERN_ESCAPE, NULL, conn); ^ info.c:1405:1: note: expected 'const char *' but argument is of type 'const SQLCHAR *' adjustLikePattern(const char *src, int srclen, char escape_ch, int *result_len, const ConnectionClass *conn) ^ info.c:5659:3: warning: pointer targets in passing argument 1 of 'simpleCatalogEscape' differ in signedness [-Wpointer-sign] escTableName = simpleCatalogEscape(szTableName, cbTableName, NULL, conn); ^ info.c:1363:1: note: expected 'const char *' but argument is of type 'const SQLCHAR *' simpleCatalogEscape(const char *src, int srclen, int *result_len, const ConnectionClass *conn) ^ info.c:5681:4: warning: pointer targets in passing argument 6 of 'schema_strcat1' differ in signedness [-Wpointer-sign] schema_strcat1(proc_query, " nspname %s'%.*s' and", op_string, escSchemaName, SQL_NTS, szTableName, cbTableName, conn); ^ In file included from info.c:37:0: misc.h:31:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *schema_strcat1(char *buf, const char *fmt, const char *s1, ^ info.c: In function 'PGAPI_ForeignKeys_new': info.c:5915:2: warning: pointer targets in passing argument 1 of 'make_string' differ in signedness [-Wpointer-sign] pk_table_needed = make_string(szPkTableName, cbPkTableName, NULL, 0); ^ In file included from info.c:37:0: misc.h:27:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *make_string(const char *s, ssize_t len, char *buf, size_t bufsize); ^ info.c:5916:2: warning: pointer targets in passing argument 1 of 'make_string' differ in signedness [-Wpointer-sign] fk_table_needed = make_string(szFkTableName, cbFkTableName, NULL, 0); ^ In file included from info.c:37:0: misc.h:27:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *make_string(const char *s, ssize_t len, char *buf, size_t bufsize); ^ info.c:5928:3: warning: pointer targets in passing argument 3 of 'schema_strcat' differ in signedness [-Wpointer-sign] schema_strcat(schema_needed, "%.*s", szFkTableOwner, cbFkTableOwner, szFkTableName, cbFkTableName, conn); ^ In file included from info.c:37:0: misc.h:29:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *schema_strcat(char *buf, const char *fmt, const char *s, ssize_t len, ^ info.c:5928:3: warning: pointer targets in passing argument 5 of 'schema_strcat' differ in signedness [-Wpointer-sign] schema_strcat(schema_needed, "%.*s", szFkTableOwner, cbFkTableOwner, szFkTableName, cbFkTableName, conn); ^ In file included from info.c:37:0: misc.h:29:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *schema_strcat(char *buf, const char *fmt, const char *s, ssize_t len, ^ info.c:5939:3: warning: pointer targets in passing argument 3 of 'schema_strcat' differ in signedness [-Wpointer-sign] schema_strcat(schema_needed, "%.*s", szPkTableOwner, cbPkTableOwner, szPkTableName, cbPkTableName, conn); ^ In file included from info.c:37:0: misc.h:29:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *schema_strcat(char *buf, const char *fmt, const char *s, ssize_t len, ^ info.c:5939:3: warning: pointer targets in passing argument 5 of 'schema_strcat' differ in signedness [-Wpointer-sign] schema_strcat(schema_needed, "%.*s", szPkTableOwner, cbPkTableOwner, szPkTableName, cbPkTableName, conn); ^ In file included from info.c:37:0: misc.h:29:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *schema_strcat(char *buf, const char *fmt, const char *s, ssize_t len, ^ /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o bind.lo bind.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c bind.c -fPIC -DPIC -o .libs/bind.o /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o columninfo.lo columninfo.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c columninfo.c -fPIC -DPIC -o .libs/columninfo.o /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o connection.lo connection.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c connection.c -fPIC -DPIC -o .libs/connection.o connection.c: In function 'PGAPI_Connect': connection.c:138:2: warning: pointer targets in passing argument 1 of 'make_string' differ in signedness [-Wpointer-sign] make_string(szDSN, cbDSN, ci->dsn, sizeof(ci->dsn)); ^ In file included from connection.c:26:0: misc.h:27:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *make_string(const char *s, ssize_t len, char *buf, size_t bufsize); ^ connection.c:151:2: warning: pointer targets in passing argument 1 of 'make_string' differ in signedness [-Wpointer-sign] make_string(szUID, cbUID, ci->username, sizeof(ci->username)); ^ In file included from connection.c:26:0: misc.h:27:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *make_string(const char *s, ssize_t len, char *buf, size_t bufsize); ^ connection.c:154:2: warning: pointer targets in passing argument 1 of 'make_string' differ in signedness [-Wpointer-sign] tmpstr = make_string(szAuthStr, cbAuthStr, NULL, 0); ^ In file included from connection.c:26:0: misc.h:27:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *make_string(const char *s, ssize_t len, char *buf, size_t bufsize); ^ connection.c: In function 'CC_initial_log': connection.c:1452:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] encoding = check_client_encoding(ci->conn_settings); ^ connection.c:1457:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] encoding = check_client_encoding(ci->drivers.conn_settings); ^ connection.c:1462:3: warning: pointer targets in passing argument 1 of 'pg_CS_code' differ in signedness [-Wpointer-sign] self->ccsc = pg_CS_code(self->original_client_encoding); ^ In file included from connection.c:53:0: multibyte.h:75:12: note: expected 'const UCHAR *' but argument is of type 'char *' extern int pg_CS_code(const UCHAR *stat_string); ^ connection.c: In function 'CC_connect': connection.c:2221:6: warning: pointer targets in passing argument 1 of 'pg_CS_code' differ in signedness [-Wpointer-sign] self->ccsc = pg_CS_code(self->original_client_encoding); ^ In file included from connection.c:53:0: multibyte.h:75:12: note: expected 'const UCHAR *' but argument is of type 'char *' extern int pg_CS_code(const UCHAR *stat_string); ^ connection.c: In function 'is_setting_search_path': connection.c:2656:4: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if (strnicmp(query, "search_path", 11) == 0) ^ In file included from connection.h:16:0, from connection.c:22: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'const UCHAR *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ connection.c: In function 'CC_send_query_append': connection.c:3048:9: warning: pointer targets in passing argument 1 of 'is_setting_search_path' differ in signedness [-Wpointer-sign] if (is_setting_search_path(query)) ^ connection.c:2650:1: note: expected 'const UCHAR *' but argument is of type 'const char *' is_setting_search_path(const UCHAR* query) ^ connection.c: In function 'CC_setenv': connection.c:3657:2: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness [-Wpointer-sign] result = PGAPI_ExecDirect(hstmt, "set DateStyle to 'ISO'", SQL_NTS, 0); ^ In file included from connection.c:55:0: pgapifunc.h:90:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ExecDirect(HSTMT StatementHandle, ^ connection.c:3665:3: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness [-Wpointer-sign] result = PGAPI_ExecDirect(hstmt, "set geqo to 'OFF'", SQL_NTS, 0); ^ In file included from connection.c:55:0: pgapifunc.h:90:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ExecDirect(HSTMT StatementHandle, ^ connection.c:3676:3: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness [-Wpointer-sign] result = PGAPI_ExecDirect(hstmt, "set ksqo to 'ON'", SQL_NTS, 0); ^ In file included from connection.c:55:0: pgapifunc.h:90:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ExecDirect(HSTMT StatementHandle, ^ connection.c:3687:3: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness [-Wpointer-sign] result = PGAPI_ExecDirect(hstmt, "set extra_float_digits to 2", SQL_NTS, 0); ^ In file included from connection.c:55:0: pgapifunc.h:90:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ExecDirect(HSTMT StatementHandle, ^ connection.c: In function 'CC_send_settings': connection.c:3746:5: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness [-Wpointer-sign] result = PGAPI_ExecDirect(hstmt, ptr, SQL_NTS, 0); ^ In file included from connection.c:55:0: pgapifunc.h:90:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ExecDirect(HSTMT StatementHandle, ^ connection.c:3777:5: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness [-Wpointer-sign] result = PGAPI_ExecDirect(hstmt, ptr, SQL_NTS, 0); ^ In file included from connection.c:55:0: pgapifunc.h:90:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ExecDirect(HSTMT StatementHandle, ^ connection.c: In function 'CC_lookup_pg_version': connection.c:3900:2: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness [-Wpointer-sign] result = PGAPI_ExecDirect(hstmt, "select version()", SQL_NTS, 0); ^ In file included from connection.c:55:0: pgapifunc.h:90:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ExecDirect(HSTMT StatementHandle, ^ /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o convert.lo convert.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c convert.c -fPIC -DPIC -o .libs/convert.o convert.c: In function 'copy_and_convert_field': convert.c:1260:8: warning: pointer targets in passing argument 1 of 'convert_from_pgbinary' differ in signedness [-Wpointer-sign] len = convert_from_pgbinary(neut_str, NULL, 0); ^ In file included from convert.c:20:0: convert.h:55:9: note: expected 'const UCHAR *' but argument is of type 'const char *' size_t convert_from_pgbinary(const UCHAR *value, UCHAR *rgbValue, SQLLEN cbValueMax); ^ convert.c:1329:9: warning: pointer targets in passing argument 1 of 'convert_from_pgbinary' differ in signedness [-Wpointer-sign] len = convert_from_pgbinary(neut_str, pgdc->ttlbuf, pgdc->ttlbuflen); ^ In file included from convert.c:20:0: convert.h:55:9: note: expected 'const UCHAR *' but argument is of type 'const char *' size_t convert_from_pgbinary(const UCHAR *value, UCHAR *rgbValue, SQLLEN cbValueMax); ^ convert.c:1329:9: warning: pointer targets in passing argument 2 of 'convert_from_pgbinary' differ in signedness [-Wpointer-sign] len = convert_from_pgbinary(neut_str, pgdc->ttlbuf, pgdc->ttlbuflen); ^ In file included from convert.c:20:0: convert.h:55:9: note: expected 'UCHAR *' but argument is of type 'char *' size_t convert_from_pgbinary(const UCHAR *value, UCHAR *rgbValue, SQLLEN cbValueMax); ^ convert.c:1330:9: warning: pointer targets in passing argument 1 of 'pg_bin2whex' differ in signedness [-Wpointer-sign] len = pg_bin2whex(pgdc->ttlbuf, (SQLWCHAR *) pgdc->ttlbuf, len); ^ convert.c:148:15: note: expected 'const UCHAR *' but argument is of type 'char *' static SQLLEN pg_bin2whex(const UCHAR *src, SQLWCHAR *dst, SQLLEN length); ^ convert.c:1346:9: warning: pointer targets in passing argument 1 of 'convert_from_pgbinary' differ in signedness [-Wpointer-sign] len = convert_from_pgbinary(neut_str, pgdc->ttlbuf, pgdc->ttlbuflen); ^ In file included from convert.c:20:0: convert.h:55:9: note: expected 'const UCHAR *' but argument is of type 'const char *' size_t convert_from_pgbinary(const UCHAR *value, UCHAR *rgbValue, SQLLEN cbValueMax); ^ convert.c:1346:9: warning: pointer targets in passing argument 2 of 'convert_from_pgbinary' differ in signedness [-Wpointer-sign] len = convert_from_pgbinary(neut_str, pgdc->ttlbuf, pgdc->ttlbuflen); ^ In file included from convert.c:20:0: convert.h:55:9: note: expected 'UCHAR *' but argument is of type 'char *' size_t convert_from_pgbinary(const UCHAR *value, UCHAR *rgbValue, SQLLEN cbValueMax); ^ convert.c:1347:9: warning: pointer targets in passing argument 1 of 'pg_bin2hex' differ in signedness [-Wpointer-sign] len = pg_bin2hex(pgdc->ttlbuf, pgdc->ttlbuf, len); ^ convert.c:146:15: note: expected 'const UCHAR *' but argument is of type 'char *' static SQLLEN pg_bin2hex(const UCHAR *src, UCHAR *dst, SQLLEN length); ^ convert.c:1347:9: warning: pointer targets in passing argument 2 of 'pg_bin2hex' differ in signedness [-Wpointer-sign] len = pg_bin2hex(pgdc->ttlbuf, pgdc->ttlbuf, len); ^ convert.c:146:15: note: expected 'UCHAR *' but argument is of type 'char *' static SQLLEN pg_bin2hex(const UCHAR *src, UCHAR *dst, SQLLEN length); ^ convert.c:1611:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (wv = neut_str; *wv && isspace(*wv); wv++) ^ convert.c:1808:7: warning: pointer targets in passing argument 1 of 'convert_from_pgbinary' differ in signedness [-Wpointer-sign] len = convert_from_pgbinary(neut_str, NULL, 0); ^ In file included from convert.c:20:0: convert.h:55:9: note: expected 'const UCHAR *' but argument is of type 'const char *' size_t convert_from_pgbinary(const UCHAR *value, UCHAR *rgbValue, SQLLEN cbValueMax); ^ convert.c:1817:6: warning: pointer targets in passing argument 1 of 'convert_from_pgbinary' differ in signedness [-Wpointer-sign] len = convert_from_pgbinary(neut_str, pgdc->ttlbuf, pgdc->ttlbuflen); ^ In file included from convert.c:20:0: convert.h:55:9: note: expected 'const UCHAR *' but argument is of type 'const char *' size_t convert_from_pgbinary(const UCHAR *value, UCHAR *rgbValue, SQLLEN cbValueMax); ^ convert.c:1817:6: warning: pointer targets in passing argument 2 of 'convert_from_pgbinary' differ in signedness [-Wpointer-sign] len = convert_from_pgbinary(neut_str, pgdc->ttlbuf, pgdc->ttlbuflen); ^ In file included from convert.c:20:0: convert.h:55:9: note: expected 'UCHAR *' but argument is of type 'char *' size_t convert_from_pgbinary(const UCHAR *value, UCHAR *rgbValue, SQLLEN cbValueMax); ^ convert.c: In function 'QP_initialize': convert.c:1954:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] q->statement = stmt->execute_statement ? stmt->execute_statement : stmt->statement; ^ convert.c:1959:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] q->stmt_len = (q->statement) ? strlen(q->statement) : -1; ^ In file included from convert.c:28:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const UCHAR *' extern size_t strlen (const char *__s) ^ convert.c:1970:2: warning: pointer targets in passing argument 3 of 'encoded_str_constr' differ in signedness [-Wpointer-sign] make_encoded_str(&q->encstr, SC_get_conn(stmt), q->statement); ^ In file included from convert.c:31:0: multibyte.h:97:6: note: expected 'const char *' but argument is of type 'const UCHAR *' void encoded_str_constr(encoded_str *encstr, int ccsc, const char *str); ^ convert.c: In function 'QB_append_space_to_separate_identifiers': convert.c:2393:2: warning: pointer targets in passing argument 3 of 'encoded_str_constr' differ in signedness [-Wpointer-sign] encoded_str_constr(&encstr, qb->ccsc, F_OldPtr(qp) + 1); ^ In file included from convert.c:31:0: multibyte.h:97:6: note: expected 'const char *' but argument is of type 'const UCHAR * const' void encoded_str_constr(encoded_str *encstr, int ccsc, const char *str); ^ convert.c: In function 'Prepare_and_convert': convert.c:2716:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] stmt->stmt_with_params = qb->query_statement; ^ convert.c: In function 'prep_params': convert.c:2778:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] srvquery = qb->query_statement; ^ convert.c:2784:3: warning: pointer targets in passing argument 3 of 'SendParseRequest' differ in signedness [-Wpointer-sign] ret = SendParseRequest(stmt, plan_name, qb->query_statement, SQL_NTS, -1); ^ In file included from convert.c:39:0: statement.h:513:7: note: expected 'const char *' but argument is of type 'UCHAR *' BOOL SendParseRequest(StatementClass *self, const char *name, ^ convert.c: In function 'copy_statement_with_parameters': convert.c:3014:5: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(new_statement, "BEGIN;"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from psqlodbc.h:21, from convert.h:12, from convert.c:20: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'UCHAR *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ convert.c:3034:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] new_statement, SC_cursor_name(stmt), opt_scroll, opt_hold); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from psqlodbc.h:21, from convert.h:12, from convert.c:20: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'UCHAR *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ convert.c:3035:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] qb->npos = strlen(new_statement); ^ In file included from convert.c:28:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'UCHAR *' extern size_t strlen (const char *__s) ^ convert.c:3101:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] size_t length = strlen(new_statement); ^ In file included from convert.c:28:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'UCHAR *' extern size_t strlen (const char *__s) ^ convert.c:3157:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] stmt->stmt_with_params = qb->query_statement; ^ convert.c: In function 'findIdentifier': convert.c:3207:2: warning: pointer targets in passing argument 3 of 'encoded_str_constr' differ in signedness [-Wpointer-sign] encoded_str_constr(&encstr, ccsc, str); ^ In file included from convert.c:31:0: multibyte.h:97:6: note: expected 'const char *' but argument is of type 'const UCHAR *' void encoded_str_constr(encoded_str *encstr, int ccsc, const char *str); ^ convert.c: In function 'inner_process_tokens': convert.c:3347:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(F_OldPtr(qp), qp->dollar_tag, qp->taglen) == 0) ^ In file included from convert.c:28:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const UCHAR *' extern size_t strlen (const char *__s) ^ convert.c:3347:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(F_OldPtr(qp), qp->dollar_tag, qp->taglen) == 0) ^ In file included from convert.c:28:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const UCHAR *' extern size_t strlen (const char *__s) ^ convert.c:3347:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(F_OldPtr(qp), qp->dollar_tag, qp->taglen) == 0) ^ convert.c:3347:4: note: expected 'const char *' but argument is of type 'const UCHAR *' convert.c:3347:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from convert.c:28:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const UCHAR *' extern size_t strlen (const char *__s) ^ convert.c:3347:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(F_OldPtr(qp), qp->dollar_tag, qp->taglen) == 0) ^ convert.c:3347:4: note: expected 'const char *' but argument is of type 'const UCHAR *' convert.c:3347:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] convert.c:3347:4: note: expected 'const char *' but argument is of type 'const UCHAR *' convert.c:3347:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] convert.c:3347:4: note: expected 'const char *' but argument is of type 'const UCHAR *' convert.c:3347:4: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from convert.c:28:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'const UCHAR *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ convert.c:3441:4: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] strnicmp(F_OldPtr(qp), "@@identity", 10) == 0) ^ In file included from convert.c:28:0: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'const UCHAR *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ convert.c:3497:4: warning: pointer targets in passing argument 1 of 'findTag' differ in signedness [-Wpointer-sign] qp->taglen = findTag(F_OldPtr(qp), dollar_quote, qp->encstr.ccsc); ^ convert.c:3173:6: note: expected 'const char *' but argument is of type 'const UCHAR *' Int4 findTag(const char *tag, char dollar_quote, int ccsc) ^ convert.c:3502:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] qp->dollar_tag = F_OldPtr(qp); ^ convert.c:3569:8: warning: pointer targets in passing argument 1 of 'into_table_from' differ in signedness [-Wpointer-sign] into_table_from(&qp->statement[qp->opos - qp->token_len])) ^ convert.c:2426:1: note: expected 'const char *' but argument is of type 'const UCHAR *' into_table_from(const char *stmt) ^ convert.c:3579:9: warning: pointer targets in passing argument 2 of 'check_join' differ in signedness [-Wpointer-sign] check_join(stmt, F_OldPtr(qp), F_OldPos(qp)); ^ convert.c:2513:1: note: expected 'const char *' but argument is of type 'const UCHAR *' check_join(StatementClass *stmt, const char *curptr, size_t curpos) ^ convert.c:3591:8: warning: pointer targets in passing argument 1 of 'table_for_update_or_share' differ in signedness [-Wpointer-sign] flg = table_for_update_or_share(F_OldPtr(qp), &endpos); ^ convert.c:2470:1: note: expected 'const char *' but argument is of type 'const UCHAR *' table_for_update_or_share(const char *stmt, size_t *endpos) ^ convert.c:3615:8: warning: pointer targets in passing argument 1 of 'insert_without_target' differ in signedness [-Wpointer-sign] insert_without_target(F_OldPtr(qp), &endpos)) ^ convert.c:2571:1: note: expected 'const char *' but argument is of type 'const UCHAR *' insert_without_target(const char *stmt, size_t *endpos) ^ convert.c: In function 'BuildBindRequest': convert.c:3691:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bindreq = qb.query_statement; ^ convert.c:3770:9: warning: pointer targets in passing argument 2 of 'SOCK_put_n_char' differ in signedness [-Wpointer-sign] SOCK_put_n_char(conn->sock, qb.query_statement, leng); ^ In file included from qresult.h:15:0, from multibyte.h:9, from convert.c:31: socket.h:228:7: note: expected 'const char *' but argument is of type 'UCHAR *' void SOCK_put_n_char(SocketClass *self, const char *buffer, size_t len); ^ convert.c: In function 'ResolveOneParam': convert.c:4379:4: warning: format '%d' expects argument of type 'int', but argument 4 has type 'SQLUINTEGER' [-Wformat=] sprintf(param_string, "%s%d years", ivsign, ivstruct->intval.year_month.year); ^ convert.c:4384:4: warning: format '%d' expects argument of type 'int', but argument 4 has type 'SQLUINTEGER' [-Wformat=] sprintf(param_string, "%s%d years %s%d mons", ivsign, ivstruct->intval.year_month.year, ivsign, ivstruct->intval.year_month.month); ^ convert.c:4384:4: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SQLUINTEGER' [-Wformat=] convert.c:4388:4: warning: format '%d' expects argument of type 'int', but argument 4 has type 'SQLUINTEGER' [-Wformat=] sprintf(param_string, "%s%d days", ivsign, ivstruct->intval.day_second.day); ^ convert.c:4393:4: warning: format '%d' expects argument of type 'int', but argument 4 has type 'SQLUINTEGER' [-Wformat=] sprintf(param_string, "%s%d days %s%02d:00:00", ivsign, ivstruct->intval.day_second.day, ivsign, ivstruct->intval.day_second.hour); ^ convert.c:4393:4: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SQLUINTEGER' [-Wformat=] convert.c:4399:4: warning: format '%d' expects argument of type 'int', but argument 4 has type 'SQLUINTEGER' [-Wformat=] sprintf(param_string, "%s%d days %s%02d:%02d:00", ivsign, ivstruct->intval.day_second.day, ivsign, ivstruct->intval.day_second.hour, ivstruct->intval.day_second.minute); ^ convert.c:4399:4: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SQLUINTEGER' [-Wformat=] convert.c:4399:4: warning: format '%d' expects argument of type 'int', but argument 7 has type 'SQLUINTEGER' [-Wformat=] convert.c:4411:5: warning: format '%d' expects argument of type 'int', but argument 4 has type 'SQLUINTEGER' [-Wformat=] ivstruct->intval.day_second.second); ^ convert.c:4411:5: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SQLUINTEGER' [-Wformat=] convert.c:4411:5: warning: format '%d' expects argument of type 'int', but argument 7 has type 'SQLUINTEGER' [-Wformat=] convert.c:4411:5: warning: format '%d' expects argument of type 'int', but argument 8 has type 'SQLUINTEGER' [-Wformat=] convert.c:4541:5: warning: pointer targets in passing argument 2 of 'convert_special_chars' differ in signedness [-Wpointer-sign] CVT_SPECIAL_CHARS(qb, buf, used); ^ In file included from convert.c:20:0: convert.h:52:9: note: expected 'char *' but argument is of type 'UCHAR *' size_t convert_special_chars(const char *si, char *dst, SQLLEN used, UInt4 flags,int ccsc, int escape_ch); ^ convert.c:4631:7: warning: pointer targets in passing argument 1 of 'pg_hex2bin' differ in signedness [-Wpointer-sign] pg_hex2bin(buf, allocbuf, used); ^ In file included from convert.c:20:0: convert.h:56:9: note: expected 'const UCHAR *' but argument is of type 'char *' SQLLEN pg_hex2bin(const UCHAR *in, UCHAR *out, SQLLEN len); ^ convert.c:4631:7: warning: pointer targets in passing argument 2 of 'pg_hex2bin' differ in signedness [-Wpointer-sign] pg_hex2bin(buf, allocbuf, used); ^ In file included from convert.c:20:0: convert.h:56:9: note: expected 'UCHAR *' but argument is of type 'char *' SQLLEN pg_hex2bin(const UCHAR *in, UCHAR *out, SQLLEN len); ^ convert.c:4656:6: warning: pointer targets in passing argument 1 of 'convert_to_pgbinary' differ in signedness [-Wpointer-sign] CVT_APPEND_BINARY(qb, buf, used); ^ convert.c:2200:1: note: expected 'const UCHAR *' but argument is of type 'char *' convert_to_pgbinary(const UCHAR *in, char *out, size_t len, QueryBuild *qb); ^ convert.c:4656:6: warning: pointer targets in passing argument 2 of 'convert_to_pgbinary' differ in signedness [-Wpointer-sign] CVT_APPEND_BINARY(qb, buf, used); ^ convert.c:2200:1: note: expected 'char *' but argument is of type 'UCHAR *' convert_to_pgbinary(const UCHAR *in, char *out, size_t len, QueryBuild *qb); ^ convert.c: In function 'convert_escape': convert.c:5003:2: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(F_OldPtr(qp), "%32s", key); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from psqlodbc.h:21, from convert.h:12, from convert.c:20: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'const UCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ convert.c:5230:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (prtlen = 0, mapptr = mapExpr; *mapptr; mapptr++) ^ convert.c: In function 'convert_from_pgbinary': convert.c:5604:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ilen = strlen(value); ^ In file included from convert.c:28:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const UCHAR *' extern size_t strlen (const char *__s) ^ convert.c: In function 'convert_lo': convert.c:5953:3: warning: pointer targets in passing argument 1 of 'pg_bin2hex' differ in signedness [-Wpointer-sign] pg_bin2hex((char *) rgbValue, (char *) rgbValue, retval); ^ convert.c:5789:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_bin2hex def_bin2hex(UCHAR) ^ convert.c:5953:3: warning: pointer targets in passing argument 2 of 'pg_bin2hex' differ in signedness [-Wpointer-sign] pg_bin2hex((char *) rgbValue, (char *) rgbValue, retval); ^ convert.c:5789:1: note: expected 'UCHAR *' but argument is of type 'char *' pg_bin2hex def_bin2hex(UCHAR) ^ /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o drvconn.lo drvconn.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c drvconn.c -fPIC -DPIC -o .libs/drvconn.o drvconn.c: In function 'PGAPI_DriverConnect': drvconn.c:113:2: warning: pointer targets in passing argument 1 of 'make_string' differ in signedness [-Wpointer-sign] connStrIn = make_string(szConnStrIn, cbConnStrIn, NULL, 0); ^ In file included from drvconn.c:21:0: misc.h:27:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *make_string(const char *s, ssize_t len, char *buf, size_t bufsize); ^ drvconn.c:133:2: warning: pointer targets in passing argument 1 of 'dconn_get_connect_attributes' differ in signedness [-Wpointer-sign] dconn_get_connect_attributes(connStrIn, ci); ^ drvconn.c:65:7: note: expected 'const SQLCHAR *' but argument is of type 'char *' void dconn_get_connect_attributes(const SQLCHAR FAR * connect_string, ConnInfo *ci); ^ drvconn.c:141:2: warning: pointer targets in passing argument 1 of 'dconn_get_common_attributes' differ in signedness [-Wpointer-sign] dconn_get_common_attributes(connStrIn, ci); ^ drvconn.c:66:13: note: expected 'const SQLCHAR *' but argument is of type 'char *' static void dconn_get_common_attributes(const SQLCHAR FAR * connect_string, ConnInfo *ci); ^ drvconn.c:278:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(szConnStrOut, connStrOut, cbConnStrOutMax); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from psqlodbc.h:21, from drvconn.c:15: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ drvconn.c: In function 'dconn_get_attributes': drvconn.c:442:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (our_connect_string = strdup(connect_string), NULL == our_connect_string) ^ In file included from connection.h:16:0, from drvconn.c:20: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const SQLCHAR *' extern size_t strlen (const char *__s) ^ drvconn.c:442:2: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] if (our_connect_string = strdup(connect_string), NULL == our_connect_string) ^ In file included from /usr/include/string.h:633:0, from connection.h:16, from drvconn.c:20: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'const SQLCHAR *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o environ.lo environ.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c environ.c -fPIC -DPIC -o .libs/environ.o environ.c: In function 'pg_sqlstate_set': environ.c:124:2: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szSqlState, EN_is_odbc3(env) ? ver3str : ver2str); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from psqlodbc.h:21, from environ.h:16, from environ.c:16: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'UCHAR *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ environ.c:124:2: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szSqlState, EN_is_odbc3(env) ? ver3str : ver2str); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from psqlodbc.h:21, from environ.h:16, from environ.c:16: /usr/include/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'const UCHAR *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ environ.c: In function 'ER_ReturnError': environ.c:257:3: warning: pointer targets in passing argument 1 of 'strncpy_null' differ in signedness [-Wpointer-sign] strncpy_null(szSqlState, error->sqlstate, 6); ^ In file included from environ.c:17:0: misc.h:22:10: note: expected 'char *' but argument is of type 'SQLCHAR *' char *strncpy_null(char *dst, const char *src, ssize_t len); ^ environ.c: In function 'PGAPI_ConnectError': environ.c:302:4: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szSqlState, "00000"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from psqlodbc.h:21, from environ.h:16, from environ.c:16: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ environ.c:322:3: warning: pointer targets in passing argument 1 of 'strncpy_null' differ in signedness [-Wpointer-sign] strncpy_null(szErrorMsg, msg, cbErrorMsgMax); ^ In file included from environ.c:17:0: misc.h:22:10: note: expected 'char *' but argument is of type 'SQLCHAR *' char *strncpy_null(char *dst, const char *src, ssize_t len); ^ environ.c:329:4: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szSqlState, conn->sqlstate); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from psqlodbc.h:21, from environ.h:16, from environ.c:16: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ environ.c:334:5: warning: pointer targets in passing argument 3 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "01S02", "01S02"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:334:5: warning: pointer targets in passing argument 4 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "01S02", "01S02"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:337:5: warning: pointer targets in passing argument 3 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "01004", "01004"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:337:5: warning: pointer targets in passing argument 4 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "01004", "01004"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:341:5: warning: pointer targets in passing argument 3 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "IM002", "IM002"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:341:5: warning: pointer targets in passing argument 4 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "IM002", "IM002"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:346:5: warning: pointer targets in passing argument 3 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "08001", "08001"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:346:5: warning: pointer targets in passing argument 4 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "08001", "08001"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:351:5: warning: pointer targets in passing argument 3 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "28000", "28000"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:351:5: warning: pointer targets in passing argument 4 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "28000", "28000"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:354:5: warning: pointer targets in passing argument 3 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "HY001", "S1001"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:354:5: warning: pointer targets in passing argument 4 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "HY001", "S1001"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:358:5: warning: pointer targets in passing argument 3 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "HY000", "S1000"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:358:5: warning: pointer targets in passing argument 4 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "HY000", "S1000"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:362:5: warning: pointer targets in passing argument 3 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "HYC00", "IM001"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:362:5: warning: pointer targets in passing argument 4 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "HYC00", "IM001"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:366:5: warning: pointer targets in passing argument 3 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "HY009", "S1009"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:366:5: warning: pointer targets in passing argument 4 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "HY009", "S1009"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:370:5: warning: pointer targets in passing argument 3 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "HY010", "S1010"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:370:5: warning: pointer targets in passing argument 4 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "HY010", "S1010"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:379:5: warning: pointer targets in passing argument 3 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "HY001", "S1001"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:379:5: warning: pointer targets in passing argument 4 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "HY001", "S1001"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:382:5: warning: pointer targets in passing argument 3 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "HYC00", "S1C00"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:382:5: warning: pointer targets in passing argument 4 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "HYC00", "S1C00"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:385:5: warning: pointer targets in passing argument 3 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "HY019", "22003"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:385:5: warning: pointer targets in passing argument 4 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "HY019", "22003"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:391:5: warning: pointer targets in passing argument 3 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "08S01", "08S01"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:391:5: warning: pointer targets in passing argument 4 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "08S01", "08S01"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:394:5: warning: pointer targets in passing argument 3 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "HY000", "S1000"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:394:5: warning: pointer targets in passing argument 4 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "HY000", "S1000"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c: In function 'PGAPI_EnvError': environ.c:434:4: warning: pointer targets in passing argument 3 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "00000", "00000"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:434:4: warning: pointer targets in passing argument 4 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "00000", "00000"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:447:3: warning: pointer targets in passing argument 1 of 'strncpy_null' differ in signedness [-Wpointer-sign] strncpy_null(szErrorMsg, msg, cbErrorMsgMax); ^ In file included from environ.c:17:0: misc.h:22:10: note: expected 'char *' but argument is of type 'SQLCHAR *' char *strncpy_null(char *dst, const char *src, ssize_t len); ^ environ.c:457:5: warning: pointer targets in passing argument 3 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "HY001", "S1001"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:457:5: warning: pointer targets in passing argument 4 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "HY001", "S1001"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:460:5: warning: pointer targets in passing argument 3 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "HY000", "S1000"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c:460:5: warning: pointer targets in passing argument 4 of 'pg_sqlstate_set' differ in signedness [-Wpointer-sign] pg_sqlstate_set(env, szSqlState, "HY000", "S1000"); ^ environ.c:122:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_sqlstate_set(const EnvironmentClass *env, UCHAR *szSqlState, const UCHAR *ver3str, const UCHAR *ver2str) ^ environ.c: In function 'PGAPI_Error': environ.c:501:4: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szSqlState, "00000"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from psqlodbc.h:21, from environ.h:16, from environ.c:16: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o execute.lo execute.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c execute.c -fPIC -DPIC -o .libs/execute.o execute.c: In function 'PGAPI_Prepare': execute.c:119:3: warning: pointer targets in passing argument 1 of 'make_string' differ in signedness [-Wpointer-sign] self->statement = make_string(szSqlStr, cbSqlStr, NULL, 0); ^ In file included from execute.c:17:0: misc.h:27:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *make_string(const char *s, ssize_t len, char *buf, size_t bufsize); ^ execute.c: In function 'PGAPI_ExecDirect': execute.c:169:2: warning: pointer targets in passing argument 1 of 'make_string' differ in signedness [-Wpointer-sign] stmt->statement = make_string(szSqlStr, cbSqlStr, NULL, 0); ^ In file included from execute.c:17:0: misc.h:27:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *make_string(const char *s, ssize_t len, char *buf, size_t bufsize); ^ execute.c: In function 'PGAPI_NativeSql': execute.c:1376:2: warning: pointer targets in passing argument 1 of 'make_string' differ in signedness [-Wpointer-sign] ptr = (cbSqlStrIn == 0) ? "" : make_string(szSqlStrIn, cbSqlStrIn, NULL, 0); ^ In file included from execute.c:17:0: misc.h:27:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *make_string(const char *s, ssize_t len, char *buf, size_t bufsize); ^ execute.c:1388:3: warning: pointer targets in passing argument 1 of 'strncpy_null' differ in signedness [-Wpointer-sign] strncpy_null(szSqlStr, ptr, cbSqlStrMax); ^ In file included from execute.c:17:0: misc.h:22:10: note: expected 'char *' but argument is of type 'SQLCHAR *' char *strncpy_null(char *dst, const char *src, ssize_t len); ^ execute.c: In function 'PGAPI_PutData': execute.c:1660:4: warning: pointer targets in passing argument 2 of 'pg_hex2bin' differ in signedness [-Wpointer-sign] pg_hex2bin(rgbValue, allocbuf, putlen); ^ In file included from execute.c:30:0: convert.h:56:9: note: expected 'UCHAR *' but argument is of type 'char *' SQLLEN pg_hex2bin(const UCHAR *in, UCHAR *out, SQLLEN len); ^ /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o lobj.lo lobj.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c lobj.c -fPIC -DPIC -o .libs/lobj.o /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o md5.lo md5.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c md5.c -fPIC -DPIC -o .libs/md5.o /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o misc.lo misc.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c misc.c -fPIC -DPIC -o .libs/misc.o misc.c: In function 'make_lstring_ifneeded': misc.c:166:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (i = 0, ptr = ccs; i < length; i++, ptr++) ^ /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o options.lo options.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c options.c -fPIC -DPIC -o .libs/options.o /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o pgtypes.lo pgtypes.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c pgtypes.c -fPIC -DPIC -o .libs/pgtypes.o /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o psqlodbc.lo psqlodbc.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c psqlodbc.c -fPIC -DPIC -o .libs/psqlodbc.o /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o qresult.lo qresult.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c qresult.c -fPIC -DPIC -o .libs/qresult.o /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o results.lo results.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c results.c -fPIC -DPIC -o .libs/results.o results.c: In function 'PGAPI_DescribeCol': results.c:378:4: warning: pointer targets in passing argument 1 of 'strncpy_null' differ in signedness [-Wpointer-sign] strncpy_null(szColName, col_name, cbColNameMax); ^ In file included from results.c:21:0: misc.h:22:10: note: expected 'char *' but argument is of type 'SQLCHAR *' char *strncpy_null(char *dst, const char *src, ssize_t len); ^ results.c: In function 'getNthValid': results.c:1245:21: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] SQLLEN *deleted = res->deleted; ^ results.c: In function 'SC_pos_update': results.c:3742:3: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness [-Wpointer-sign] ret = PGAPI_ExecDirect(hstmt, updstr, SQL_NTS, 0); ^ In file included from results.c:34:0: pgapifunc.h:90:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ExecDirect(HSTMT StatementHandle, ^ results.c: In function 'SC_pos_add': results.c:4162:3: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness [-Wpointer-sign] ret = PGAPI_ExecDirect(hstmt, addstr, SQL_NTS, 0); ^ In file included from results.c:34:0: pgapifunc.h:90:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ExecDirect(HSTMT StatementHandle, ^ results.c: In function 'PGAPI_SetCursorName': results.c:4531:2: warning: pointer targets in passing argument 1 of 'make_string' differ in signedness [-Wpointer-sign] SET_NAME_DIRECTLY(stmt->cursor_name, make_string(szCursor, cbCursor, NULL, 0)); ^ In file included from results.c:21:0: misc.h:27:10: note: expected 'const char *' but argument is of type 'const SQLCHAR *' char *make_string(const char *s, ssize_t len, char *buf, size_t bufsize); ^ results.c: In function 'PGAPI_GetCursorName': results.c:4561:3: warning: pointer targets in passing argument 1 of 'strncpy_null' differ in signedness [-Wpointer-sign] strncpy_null(szCursor, SC_cursor_name(stmt), cbCursorMax); ^ In file included from results.c:21:0: misc.h:22:10: note: expected 'char *' but argument is of type 'SQLCHAR *' char *strncpy_null(char *dst, const char *src, ssize_t len); ^ /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o socket.lo socket.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c socket.c -fPIC -DPIC -o .libs/socket.o /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o parse.lo parse.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c parse.c -fPIC -DPIC -o .libs/parse.o parse.c: In function 'getColumnsInfo': parse.c:821:5: warning: pointer targets in passing argument 4 of 'PGAPI_Columns' differ in signedness [-Wpointer-sign] SQL_NTS, SAFE_NAME(wti->table_name), SQL_NTS, NULL, 0, PODBC_NOT_SEARCH_PATTERN, 0, 0); ^ In file included from parse.c:35:0: pgapifunc.h:40:17: note: expected 'const SQLCHAR *' but argument is of type 'const char * const' RETCODE SQL_API PGAPI_Columns(HSTMT StatementHandle, ^ parse.c:821:5: warning: pointer targets in passing argument 6 of 'PGAPI_Columns' differ in signedness [-Wpointer-sign] SQL_NTS, SAFE_NAME(wti->table_name), SQL_NTS, NULL, 0, PODBC_NOT_SEARCH_PATTERN, 0, 0); ^ In file included from parse.c:35:0: pgapifunc.h:40:17: note: expected 'const SQLCHAR *' but argument is of type 'const char * const' RETCODE SQL_API PGAPI_Columns(HSTMT StatementHandle, ^ /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o statement.lo statement.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c statement.c -fPIC -DPIC -o .libs/statement.o /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o tuple.lo tuple.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c tuple.c -fPIC -DPIC -o .libs/tuple.o /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o dlg_specific.lo dlg_specific.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c dlg_specific.c -fPIC -DPIC -o .libs/dlg_specific.o dlg_specific.c: In function 'makeConnectString': dlg_specific.c:179:2: warning: pointer targets in passing argument 2 of 'encode' differ in signedness [-Wpointer-sign] encode(ci->password, encoded_item, sizeof(encoded_item)); ^ dlg_specific.c:31:13: note: expected 'UCHAR *' but argument is of type 'char *' static void encode(const pgNAME, UCHAR *out, int outlen); ^ dlg_specific.c:196:2: warning: pointer targets in passing argument 2 of 'encode' differ in signedness [-Wpointer-sign] encode(ci->conn_settings, encoded_item, sizeof(encoded_item)); ^ dlg_specific.c:31:13: note: expected 'UCHAR *' but argument is of type 'char *' static void encode(const pgNAME, UCHAR *out, int outlen); ^ dlg_specific.c: In function 'copyAttributes': dlg_specific.c:502:3: warning: pointer targets in passing argument 1 of 'decode_or_remove_braces' differ in signedness [-Wpointer-sign] ci->password = decode_or_remove_braces(value); ^ dlg_specific.c:33:15: note: expected 'const UCHAR *' but argument is of type 'const char *' static pgNAME decode_or_remove_braces(const UCHAR *in); ^ dlg_specific.c:554:4: warning: pointer targets in passing argument 1 of 'decode' differ in signedness [-Wpointer-sign] ci->conn_settings = decode(value); ^ dlg_specific.c:32:15: note: expected 'const UCHAR *' but argument is of type 'const char *' static pgNAME decode(const UCHAR *in); ^ dlg_specific.c: In function 'getDSNinfo': dlg_specific.c:838:3: warning: pointer targets in passing argument 1 of 'decode' differ in signedness [-Wpointer-sign] ci->password = decode(encoded_item); ^ dlg_specific.c:32:15: note: expected 'const UCHAR *' but argument is of type 'char *' static pgNAME decode(const UCHAR *in); ^ dlg_specific.c:877:3: warning: pointer targets in passing argument 1 of 'decode' differ in signedness [-Wpointer-sign] ci->conn_settings = decode(encoded_item); ^ dlg_specific.c:32:15: note: expected 'const UCHAR *' but argument is of type 'char *' static pgNAME decode(const UCHAR *in); ^ dlg_specific.c: In function 'writeDSNinfo': dlg_specific.c:1140:2: warning: pointer targets in passing argument 2 of 'encode' differ in signedness [-Wpointer-sign] encode(ci->password, encoded_item, sizeof(encoded_item)); ^ dlg_specific.c:31:13: note: expected 'UCHAR *' but argument is of type 'char *' static void encode(const pgNAME, UCHAR *out, int outlen); ^ dlg_specific.c:1180:2: warning: pointer targets in passing argument 2 of 'encode' differ in signedness [-Wpointer-sign] encode(ci->conn_settings, encoded_item, sizeof(encoded_item)); ^ dlg_specific.c:31:13: note: expected 'UCHAR *' but argument is of type 'char *' static void encode(const pgNAME, UCHAR *out, int outlen); ^ In file included from dlg_specific.h:12:0, from dlg_specific.c:21: dlg_specific.c: In function 'getCommonDefaults': psqlodbc.h:435:25: warning: the address of 'conn_settings' will always evaluate as 'true' [-Waddress] (the_name).name = (str ? strdup((str)) : NULL); \ ^ dlg_specific.c:1438:4: note: in expansion of macro 'STR_TO_NAME' STR_TO_NAME(comval->conn_settings, conn_settings); ^ dlg_specific.c: In function 'encode': dlg_specific.c:1474:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ins = GET_NAME(in); ^ dlg_specific.c:1475:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ilen = strlen(ins); ^ In file included from connection.h:16:0, from dlg_specific.h:13, from dlg_specific.c:21: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'UCHAR *' extern size_t strlen (const char *__s) ^ dlg_specific.c:1483:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(&out[o], "%%2B"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/ctype.h:26, from dlg_specific.c:20: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'UCHAR *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ dlg_specific.c:1492:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(&out[o], "%%%02x", inc); ^ In file included from /usr/include/features.h:375:0, from /usr/include/ctype.h:26, from dlg_specific.c:20: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'UCHAR *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ dlg_specific.c: In function 'decode': dlg_specific.c:1526:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] size_t i, ilen = strlen(in), o = 0; ^ In file included from connection.h:16:0, from dlg_specific.h:13, from dlg_specific.c:21: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const UCHAR *' extern size_t strlen (const char *__s) ^ dlg_specific.c:1535:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] outs = (char *) malloc(ilen + 1); ^ dlg_specific.c:1543:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(&outs[o++], "%c", conv_from_hex(&in[i])); ^ In file included from /usr/include/features.h:375:0, from /usr/include/ctype.h:26, from dlg_specific.c:20: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'UCHAR *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ dlg_specific.c:1550:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] STR_TO_NAME(out, outs); ^ In file included from connection.h:16:0, from dlg_specific.h:13, from dlg_specific.c:21: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'UCHAR *' extern size_t strlen (const char *__s) ^ dlg_specific.c:1550:2: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] STR_TO_NAME(out, outs); ^ In file included from /usr/include/string.h:633:0, from connection.h:16, from dlg_specific.h:13, from dlg_specific.c:21: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'UCHAR *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ dlg_specific.c: In function 'decode_or_remove_braces': dlg_specific.c:1564:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] size_t inlen = strlen(in); ^ In file included from connection.h:16:0, from dlg_specific.h:13, from dlg_specific.c:21: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const UCHAR *' extern size_t strlen (const char *__s) ^ dlg_specific.c: In function 'extract_attribute_setting': dlg_specific.c:1648:5: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if (0 != strnicmp(cptr, "set", 3)) ^ In file included from connection.h:16:0, from dlg_specific.h:13, from dlg_specific.c:21: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'const UCHAR *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ dlg_specific.c:1657:5: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if (0 != strnicmp(cptr, attr, attrlen)) ^ In file included from connection.h:16:0, from dlg_specific.h:13, from dlg_specific.c:21: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'const UCHAR *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ dlg_specific.c:1667:5: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if (0 != strnicmp(cptr, "=", 1)) ^ In file included from connection.h:16:0, from dlg_specific.h:13, from dlg_specific.c:21: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'const UCHAR *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ dlg_specific.c:1670:6: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if (0 != strnicmp(cptr, "to", 2)) ^ In file included from connection.h:16:0, from dlg_specific.h:13, from dlg_specific.c:21: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'const UCHAR *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ dlg_specific.c:1697:2: warning: pointer targets in return differ in signedness [-Wpointer-sign] return rptr; ^ In file included from dlg_specific.h:12:0, from dlg_specific.c:21: dlg_specific.c: In function 'extract_extra_attribute_setting': psqlodbc.h:420:28: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] #define GET_NAME(the_name) ((the_name).name) ^ dlg_specific.c:1706:42: note: in expansion of macro 'GET_NAME' const UCHAR *cptr, *sptr = NULL, *str = GET_NAME(setting); ^ dlg_specific.c:1772:5: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if (0 != strnicmp(cptr, attr, attrlen)) ^ In file included from connection.h:16:0, from dlg_specific.h:13, from dlg_specific.c:21: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'const UCHAR *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ dlg_specific.c:1804:2: warning: pointer targets in return differ in signedness [-Wpointer-sign] return rptr; ^ /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o loadlib.lo loadlib.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c loadlib.c -fPIC -DPIC -o .libs/loadlib.o /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o multibyte.lo multibyte.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c multibyte.c -fPIC -DPIC -o .libs/multibyte.o multibyte.c:25:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "SQL_ASCII", SQL_ASCII }, ^ multibyte.c:25:2: warning: (near initialization for 'CS_Table[0].name') [-Wpointer-sign] multibyte.c:26:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "EUC_JP", EUC_JP }, ^ multibyte.c:26:2: warning: (near initialization for 'CS_Table[1].name') [-Wpointer-sign] multibyte.c:27:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "EUC_CN", EUC_CN }, ^ multibyte.c:27:2: warning: (near initialization for 'CS_Table[2].name') [-Wpointer-sign] multibyte.c:28:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "EUC_KR", EUC_KR }, ^ multibyte.c:28:2: warning: (near initialization for 'CS_Table[3].name') [-Wpointer-sign] multibyte.c:29:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "EUC_TW", EUC_TW }, ^ multibyte.c:29:2: warning: (near initialization for 'CS_Table[4].name') [-Wpointer-sign] multibyte.c:30:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "JOHAB", JOHAB }, /* since 7.3 */ ^ multibyte.c:30:2: warning: (near initialization for 'CS_Table[5].name') [-Wpointer-sign] multibyte.c:31:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "UTF8", UTF8 }, /* since 7.2 */ ^ multibyte.c:31:2: warning: (near initialization for 'CS_Table[6].name') [-Wpointer-sign] multibyte.c:32:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "MULE_INTERNAL",MULE_INTERNAL }, ^ multibyte.c:32:2: warning: (near initialization for 'CS_Table[7].name') [-Wpointer-sign] multibyte.c:33:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "LATIN1", LATIN1 }, ^ multibyte.c:33:2: warning: (near initialization for 'CS_Table[8].name') [-Wpointer-sign] multibyte.c:34:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "LATIN2", LATIN2 }, ^ multibyte.c:34:2: warning: (near initialization for 'CS_Table[9].name') [-Wpointer-sign] multibyte.c:35:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "LATIN3", LATIN3 }, ^ multibyte.c:35:2: warning: (near initialization for 'CS_Table[10].name') [-Wpointer-sign] multibyte.c:36:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "LATIN4", LATIN4 }, ^ multibyte.c:36:2: warning: (near initialization for 'CS_Table[11].name') [-Wpointer-sign] multibyte.c:37:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "LATIN5", LATIN5 }, ^ multibyte.c:37:2: warning: (near initialization for 'CS_Table[12].name') [-Wpointer-sign] multibyte.c:38:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "LATIN6", LATIN6 }, ^ multibyte.c:38:2: warning: (near initialization for 'CS_Table[13].name') [-Wpointer-sign] multibyte.c:39:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "LATIN7", LATIN7 }, ^ multibyte.c:39:2: warning: (near initialization for 'CS_Table[14].name') [-Wpointer-sign] multibyte.c:40:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "LATIN8", LATIN8 }, ^ multibyte.c:40:2: warning: (near initialization for 'CS_Table[15].name') [-Wpointer-sign] multibyte.c:41:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "LATIN9", LATIN9 }, ^ multibyte.c:41:2: warning: (near initialization for 'CS_Table[16].name') [-Wpointer-sign] multibyte.c:42:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "LATIN10", LATIN10 }, ^ multibyte.c:42:2: warning: (near initialization for 'CS_Table[17].name') [-Wpointer-sign] multibyte.c:43:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "WIN1256", WIN1256 }, /* Arabic since 7.3 */ ^ multibyte.c:43:2: warning: (near initialization for 'CS_Table[18].name') [-Wpointer-sign] multibyte.c:44:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "WIN1258", WIN1258 }, /* Vietnamese since 8.1 */ ^ multibyte.c:44:2: warning: (near initialization for 'CS_Table[19].name') [-Wpointer-sign] multibyte.c:45:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "WIN866", WIN866 }, /* since 8.1 */ ^ multibyte.c:45:2: warning: (near initialization for 'CS_Table[20].name') [-Wpointer-sign] multibyte.c:46:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "WIN874", WIN874 }, /* Thai since 7.3 */ ^ multibyte.c:46:2: warning: (near initialization for 'CS_Table[21].name') [-Wpointer-sign] multibyte.c:47:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "KOI8", KOI8R }, ^ multibyte.c:47:2: warning: (near initialization for 'CS_Table[22].name') [-Wpointer-sign] multibyte.c:48:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "WIN1251", WIN1251 }, /* Cyrillic */ ^ multibyte.c:48:2: warning: (near initialization for 'CS_Table[23].name') [-Wpointer-sign] multibyte.c:49:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "WIN1252", WIN1252 }, /* Western Europe since 8.1 */ ^ multibyte.c:49:2: warning: (near initialization for 'CS_Table[24].name') [-Wpointer-sign] multibyte.c:50:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "ISO_8859_5", ISO_8859_5 }, ^ multibyte.c:50:2: warning: (near initialization for 'CS_Table[25].name') [-Wpointer-sign] multibyte.c:51:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "ISO_8859_6", ISO_8859_6 }, ^ multibyte.c:51:2: warning: (near initialization for 'CS_Table[26].name') [-Wpointer-sign] multibyte.c:52:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "ISO_8859_7", ISO_8859_7 }, ^ multibyte.c:52:2: warning: (near initialization for 'CS_Table[27].name') [-Wpointer-sign] multibyte.c:53:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "ISO_8859_8", ISO_8859_8 }, ^ multibyte.c:53:2: warning: (near initialization for 'CS_Table[28].name') [-Wpointer-sign] multibyte.c:54:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "WIN1250", WIN1250 }, /* Central Europe */ ^ multibyte.c:54:2: warning: (near initialization for 'CS_Table[29].name') [-Wpointer-sign] multibyte.c:55:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "WIN1253", WIN1253 }, /* Greek since 8.2 */ ^ multibyte.c:55:2: warning: (near initialization for 'CS_Table[30].name') [-Wpointer-sign] multibyte.c:56:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "WIN1254", WIN1254 }, /* Turkish since 8.2 */ ^ multibyte.c:56:2: warning: (near initialization for 'CS_Table[31].name') [-Wpointer-sign] multibyte.c:57:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "WIN1255", WIN1255 }, /* Hebrew since 8.2 */ ^ multibyte.c:57:2: warning: (near initialization for 'CS_Table[32].name') [-Wpointer-sign] multibyte.c:58:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "WIN1257", WIN1257 }, /* Baltic(North Europe) since 8.2 */ ^ multibyte.c:58:2: warning: (near initialization for 'CS_Table[33].name') [-Wpointer-sign] multibyte.c:60:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "EUC_JIS_2004", EUC_JIS_2004}, /* EUC for SHIFT-JIS-2004 Japanese, since 8.3 */ ^ multibyte.c:60:2: warning: (near initialization for 'CS_Table[34].name') [-Wpointer-sign] multibyte.c:61:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "SJIS", SJIS }, ^ multibyte.c:61:2: warning: (near initialization for 'CS_Table[35].name') [-Wpointer-sign] multibyte.c:62:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "BIG5", BIG5 }, ^ multibyte.c:62:2: warning: (near initialization for 'CS_Table[36].name') [-Wpointer-sign] multibyte.c:63:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "GBK", GBK }, /* since 7.3 */ ^ multibyte.c:63:2: warning: (near initialization for 'CS_Table[37].name') [-Wpointer-sign] multibyte.c:64:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "UHC", UHC }, /* since 7.3 */ ^ multibyte.c:64:2: warning: (near initialization for 'CS_Table[38].name') [-Wpointer-sign] multibyte.c:65:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "GB18030", GB18030 }, /* since 7.3 */ ^ multibyte.c:65:2: warning: (near initialization for 'CS_Table[39].name') [-Wpointer-sign] multibyte.c:66:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "SHIFT_JIS_2004", SHIFT_JIS_2004 }, /* SHIFT-JIS-2004 Japanese, standard JIS X 0213, since 8.3 */ ^ multibyte.c:66:2: warning: (near initialization for 'CS_Table[40].name') [-Wpointer-sign] multibyte.c:67:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "OTHER", OTHER } ^ multibyte.c:67:2: warning: (near initialization for 'CS_Table[41].name') [-Wpointer-sign] multibyte.c:72:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "UNICODE", UTF8 }, ^ multibyte.c:72:2: warning: (near initialization for 'CS_Alias[0].name') [-Wpointer-sign] multibyte.c:73:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "TCVN", WIN1258 }, ^ multibyte.c:73:2: warning: (near initialization for 'CS_Alias[1].name') [-Wpointer-sign] multibyte.c:74:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "ALT", WIN866 }, ^ multibyte.c:74:2: warning: (near initialization for 'CS_Alias[2].name') [-Wpointer-sign] multibyte.c:75:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "WIN", WIN1251 }, ^ multibyte.c:75:2: warning: (near initialization for 'CS_Alias[3].name') [-Wpointer-sign] multibyte.c:76:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "OTHER", OTHER } ^ multibyte.c:76:2: warning: (near initialization for 'CS_Alias[4].name') [-Wpointer-sign] multibyte.c: In function 'pg_CS_code': multibyte.c:88:3: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] if (0 == stricmp(characterset_string, CS_Table[i].name)) ^ In file included from connection.h:16:0, from qresult.h:14, from multibyte.h:9, from multibyte.c:11: /usr/include/string.h:532:12: note: expected 'const char *' but argument is of type 'const UCHAR *' extern int strcasecmp (const char *__s1, const char *__s2) ^ multibyte.c:88:3: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] if (0 == stricmp(characterset_string, CS_Table[i].name)) ^ In file included from connection.h:16:0, from qresult.h:14, from multibyte.h:9, from multibyte.c:11: /usr/include/string.h:532:12: note: expected 'const char *' but argument is of type 'UCHAR *' extern int strcasecmp (const char *__s1, const char *__s2) ^ multibyte.c:98:4: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] if (0 == stricmp(characterset_string, CS_Alias[i].name)) ^ In file included from connection.h:16:0, from qresult.h:14, from multibyte.h:9, from multibyte.c:11: /usr/include/string.h:532:12: note: expected 'const char *' but argument is of type 'const UCHAR *' extern int strcasecmp (const char *__s1, const char *__s2) ^ multibyte.c:98:4: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] if (0 == stricmp(characterset_string, CS_Alias[i].name)) ^ In file included from connection.h:16:0, from qresult.h:14, from multibyte.h:9, from multibyte.c:11: /usr/include/string.h:532:12: note: expected 'const char *' but argument is of type 'UCHAR *' extern int strcasecmp (const char *__s1, const char *__s2) ^ multibyte.c: In function 'check_client_encoding': multibyte.c:120:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (cptr = SAFE_NAME(conn_settings); *cptr; cptr++) ^ multibyte.c:141:5: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if (0 != strnicmp(cptr, "set", 3)) ^ In file included from connection.h:16:0, from qresult.h:14, from multibyte.h:9, from multibyte.c:11: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'const UCHAR *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ multibyte.c:150:5: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if (0 != strnicmp(cptr, "client_encoding", 15)) ^ In file included from connection.h:16:0, from qresult.h:14, from multibyte.h:9, from multibyte.c:11: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'const UCHAR *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ multibyte.c:159:5: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if (0 != strnicmp(cptr, "to", 2)) ^ In file included from connection.h:16:0, from qresult.h:14, from multibyte.h:9, from multibyte.c:11: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'const UCHAR *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ multibyte.c: In function 'pg_CS_name': multibyte.c:200:2: warning: pointer targets in return differ in signedness [-Wpointer-sign] return (OTHER_STRING); ^ multibyte.c: In function 'CC_lookup_cs_old': multibyte.c:495:2: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness [-Wpointer-sign] result = PGAPI_ExecDirect(hstmt, "Show Client_Encoding", SQL_NTS, 0); ^ In file included from multibyte.c:14:0: pgapifunc.h:90:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ExecDirect(HSTMT StatementHandle, ^ multibyte.c:501:4: warning: pointer targets in passing argument 4 of 'PGAPI_Error' differ in signedness [-Wpointer-sign] sizeof(errormsg), NULL) == SQL_SUCCESS && ^ In file included from multibyte.c:14:0: pgapifunc.h:71:17: note: expected 'SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_Error(HENV EnvironmentHandle, ^ multibyte.c:501:4: warning: pointer targets in passing argument 6 of 'PGAPI_Error' differ in signedness [-Wpointer-sign] sizeof(errormsg), NULL) == SQL_SUCCESS && ^ In file included from multibyte.c:14:0: pgapifunc.h:71:17: note: expected 'SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_Error(HENV EnvironmentHandle, ^ multibyte.c: In function 'CC_lookup_characterset': multibyte.c:656:3: warning: pointer targets in passing argument 1 of 'pg_CS_code' differ in signedness [-Wpointer-sign] self->ccsc = pg_CS_code(tencstr); ^ multibyte.c:82:1: note: expected 'const UCHAR *' but argument is of type 'char *' pg_CS_code(const UCHAR *characterset_string) ^ multibyte.c: In function 'encoded_str_constr': multibyte.c:677:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] encstr->encstr = str; ^ /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o odbcapi.lo odbcapi.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c odbcapi.c -fPIC -DPIC -o .libs/odbcapi.o /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o descriptor.lo descriptor.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c descriptor.c -fPIC -DPIC -o .libs/descriptor.o /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o odbcapi30.lo odbcapi30.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c odbcapi30.c -fPIC -DPIC -o .libs/odbcapi30.o /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o pgapi30.lo pgapi30.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c pgapi30.c -fPIC -DPIC -o .libs/pgapi30.o pgapi30.c: In function 'PGAPI_GetDiagField': pgapi30.c:171:7: warning: pointer targets in passing argument 1 of 'strncpy_null' differ in signedness [-Wpointer-sign] strncpy_null((SQLCHAR *) DiagInfoPtr, CC_get_DSN(conn), BufferLength); ^ In file included from pgapi30.c:18:0: misc.h:22:10: note: expected 'char *' but argument is of type 'SQLCHAR *' char *strncpy_null(char *dst, const char *src, ssize_t len); ^ pgapi30.c:236:7: warning: pointer targets in passing argument 1 of 'strncpy_null' differ in signedness [-Wpointer-sign] strncpy_null((SQLCHAR *) DiagInfoPtr, CC_get_DSN(conn), BufferLength); ^ In file included from pgapi30.c:18:0: misc.h:22:10: note: expected 'char *' but argument is of type 'SQLCHAR *' char *strncpy_null(char *dst, const char *src, ssize_t len); ^ pgapi30.c:340:7: warning: pointer targets in passing argument 1 of 'strncpy_null' differ in signedness [-Wpointer-sign] strncpy_null((SQLCHAR *) DiagInfoPtr, CC_get_DSN(conn), BufferLength); ^ In file included from pgapi30.c:18:0: misc.h:22:10: note: expected 'char *' but argument is of type 'SQLCHAR *' char *strncpy_null(char *dst, const char *src, ssize_t len); ^ /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o info30.lo info30.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c info30.c -fPIC -DPIC -o .libs/info30.o /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o mylog.lo mylog.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c mylog.c -fPIC -DPIC -o .libs/mylog.o /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o odbcapi30w.lo odbcapi30w.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c odbcapi30w.c -fPIC -DPIC -o .libs/odbcapi30w.o odbcapi30w.c: In function 'SQLGetDiagRecW': odbcapi30w.c:232:17: warning: pointer targets in passing argument 4 of 'PGAPI_GetDiagRec' differ in signedness [-Wpointer-sign] pfNativeError, mtxt, buflen, &tlen); ^ In file included from odbcapi30w.c:21:0: pgapifunc.h:288:17: note: expected 'SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_GetDiagRec(SQLSMALLINT HandleType, SQLHANDLE Handle, ^ odbcapi30w.c:232:17: warning: pointer targets in passing argument 6 of 'PGAPI_GetDiagRec' differ in signedness [-Wpointer-sign] pfNativeError, mtxt, buflen, &tlen); ^ In file included from odbcapi30w.c:21:0: pgapifunc.h:288:17: note: expected 'SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_GetDiagRec(SQLSMALLINT HandleType, SQLHANDLE Handle, ^ /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o odbcapiw.lo odbcapiw.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c odbcapiw.c -fPIC -DPIC -o .libs/odbcapiw.o odbcapiw.c: In function 'SQLColumnsW': odbcapiw.c:62:14: warning: pointer targets in passing argument 2 of 'PGAPI_Columns' differ in signedness [-Wpointer-sign] clName, (SQLSMALLINT) nmlen4, flag, 0, 0); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:40:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_Columns(HSTMT StatementHandle, ^ odbcapiw.c:62:14: warning: pointer targets in passing argument 4 of 'PGAPI_Columns' differ in signedness [-Wpointer-sign] clName, (SQLSMALLINT) nmlen4, flag, 0, 0); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:40:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_Columns(HSTMT StatementHandle, ^ odbcapiw.c:62:14: warning: pointer targets in passing argument 6 of 'PGAPI_Columns' differ in signedness [-Wpointer-sign] clName, (SQLSMALLINT) nmlen4, flag, 0, 0); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:40:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_Columns(HSTMT StatementHandle, ^ odbcapiw.c:62:14: warning: pointer targets in passing argument 8 of 'PGAPI_Columns' differ in signedness [-Wpointer-sign] clName, (SQLSMALLINT) nmlen4, flag, 0, 0); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:40:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_Columns(HSTMT StatementHandle, ^ odbcapiw.c: In function 'SQLConnectW': odbcapiw.c:97:13: warning: pointer targets in passing argument 2 of 'PGAPI_Connect' differ in signedness [-Wpointer-sign] usName, (SQLSMALLINT) nmlen2, auth, (SQLSMALLINT) nmlen3); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:48:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_Connect(HDBC ConnectionHandle, ^ odbcapiw.c:97:13: warning: pointer targets in passing argument 4 of 'PGAPI_Connect' differ in signedness [-Wpointer-sign] usName, (SQLSMALLINT) nmlen2, auth, (SQLSMALLINT) nmlen3); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:48:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_Connect(HDBC ConnectionHandle, ^ odbcapiw.c:97:13: warning: pointer targets in passing argument 6 of 'PGAPI_Connect' differ in signedness [-Wpointer-sign] usName, (SQLSMALLINT) nmlen2, auth, (SQLSMALLINT) nmlen3); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:48:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_Connect(HDBC ConnectionHandle, ^ odbcapiw.c: In function 'SQLDriverConnectW': odbcapiw.c:143:3: warning: pointer targets in passing argument 3 of 'PGAPI_DriverConnect' differ in signedness [-Wpointer-sign] szOut, maxlen, pCSO, fDriverCompletion); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:52:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_DriverConnect(HDBC hdbc, HWND hwnd, ^ odbcapiw.c:143:3: warning: pointer targets in passing argument 5 of 'PGAPI_DriverConnect' differ in signedness [-Wpointer-sign] szOut, maxlen, pCSO, fDriverCompletion); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:52:17: note: expected 'SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_DriverConnect(HDBC hdbc, HWND hwnd, ^ odbcapiw.c: In function 'SQLBrowseConnectW': odbcapiw.c:196:3: warning: pointer targets in passing argument 2 of 'PGAPI_BrowseConnect' differ in signedness [-Wpointer-sign] szOut, cbConnStrOutMax, &olen); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:56:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_BrowseConnect(HDBC hdbc, ^ odbcapiw.c:196:3: warning: pointer targets in passing argument 4 of 'PGAPI_BrowseConnect' differ in signedness [-Wpointer-sign] szOut, cbConnStrOutMax, &olen); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:56:17: note: expected 'SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_BrowseConnect(HDBC hdbc, ^ odbcapiw.c: In function 'SQLDescribeColW': odbcapiw.c:253:4: warning: pointer targets in passing argument 3 of 'PGAPI_DescribeCol' differ in signedness [-Wpointer-sign] DecimalDigits, Nullable); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:65:17: note: expected 'SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_DescribeCol(HSTMT StatementHandle, ^ odbcapiw.c: In function 'SQLExecDirectW': odbcapiw.c:298:3: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness [-Wpointer-sign] ret = PGAPI_ExecDirect(StatementHandle, stxt, (SQLINTEGER) slen, flag); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:90:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ExecDirect(HSTMT StatementHandle, ^ odbcapiw.c: In function 'SQLGetCursorNameW': odbcapiw.c:327:3: warning: pointer targets in passing argument 2 of 'PGAPI_GetCursorName' differ in signedness [-Wpointer-sign] ret = PGAPI_GetCursorName(StatementHandle, crName, buflen, &clen); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:101:17: note: expected 'SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_GetCursorName(HSTMT StatementHandle, ^ odbcapiw.c: In function 'SQLPrepareW': odbcapiw.c:405:3: warning: pointer targets in passing argument 2 of 'PGAPI_Prepare' differ in signedness [-Wpointer-sign] ret = PGAPI_Prepare(StatementHandle, stxt, (SQLINTEGER) slen); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:127:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_Prepare(HSTMT StatementHandle, ^ odbcapiw.c: In function 'SQLSetCursorNameW': odbcapiw.c:427:2: warning: pointer targets in passing argument 2 of 'PGAPI_SetCursorName' differ in signedness [-Wpointer-sign] ret = PGAPI_SetCursorName(StatementHandle, crName, (SQLSMALLINT) nlen); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:135:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_SetCursorName(HSTMT StatementHandle, ^ odbcapiw.c: In function 'SQLSpecialColumnsW': odbcapiw.c:464:3: warning: pointer targets in passing argument 3 of 'PGAPI_SpecialColumns' differ in signedness [-Wpointer-sign] Scope, Nullable); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:144:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_SpecialColumns(HSTMT StatementHandle, ^ odbcapiw.c:464:3: warning: pointer targets in passing argument 5 of 'PGAPI_SpecialColumns' differ in signedness [-Wpointer-sign] Scope, Nullable); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:144:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_SpecialColumns(HSTMT StatementHandle, ^ odbcapiw.c:464:3: warning: pointer targets in passing argument 7 of 'PGAPI_SpecialColumns' differ in signedness [-Wpointer-sign] Scope, Nullable); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:144:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_SpecialColumns(HSTMT StatementHandle, ^ odbcapiw.c: In function 'SQLStatisticsW': odbcapiw.c:504:3: warning: pointer targets in passing argument 2 of 'PGAPI_Statistics' differ in signedness [-Wpointer-sign] Reserved); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:150:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_Statistics(HSTMT StatementHandle, ^ odbcapiw.c:504:3: warning: pointer targets in passing argument 4 of 'PGAPI_Statistics' differ in signedness [-Wpointer-sign] Reserved); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:150:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_Statistics(HSTMT StatementHandle, ^ odbcapiw.c:504:3: warning: pointer targets in passing argument 6 of 'PGAPI_Statistics' differ in signedness [-Wpointer-sign] Reserved); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:150:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_Statistics(HSTMT StatementHandle, ^ odbcapiw.c: In function 'SQLTablesW': odbcapiw.c:550:14: warning: pointer targets in passing argument 2 of 'PGAPI_Tables' differ in signedness [-Wpointer-sign] tbType, (SQLSMALLINT) nmlen4, flag); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:155:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_Tables(HSTMT StatementHandle, ^ odbcapiw.c:550:14: warning: pointer targets in passing argument 4 of 'PGAPI_Tables' differ in signedness [-Wpointer-sign] tbType, (SQLSMALLINT) nmlen4, flag); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:155:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_Tables(HSTMT StatementHandle, ^ odbcapiw.c:550:14: warning: pointer targets in passing argument 6 of 'PGAPI_Tables' differ in signedness [-Wpointer-sign] tbType, (SQLSMALLINT) nmlen4, flag); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:155:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_Tables(HSTMT StatementHandle, ^ odbcapiw.c:550:14: warning: pointer targets in passing argument 8 of 'PGAPI_Tables' differ in signedness [-Wpointer-sign] tbType, (SQLSMALLINT) nmlen4, flag); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:155:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_Tables(HSTMT StatementHandle, ^ odbcapiw.c: In function 'SQLColumnPrivilegesW': odbcapiw.c:603:4: warning: pointer targets in passing argument 2 of 'PGAPI_ColumnPrivileges' differ in signedness [-Wpointer-sign] clName, (SQLSMALLINT) nmlen4, flag); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:171:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ColumnPrivileges( ^ odbcapiw.c:603:4: warning: pointer targets in passing argument 4 of 'PGAPI_ColumnPrivileges' differ in signedness [-Wpointer-sign] clName, (SQLSMALLINT) nmlen4, flag); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:171:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ColumnPrivileges( ^ odbcapiw.c:603:4: warning: pointer targets in passing argument 6 of 'PGAPI_ColumnPrivileges' differ in signedness [-Wpointer-sign] clName, (SQLSMALLINT) nmlen4, flag); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:171:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ColumnPrivileges( ^ odbcapiw.c:603:4: warning: pointer targets in passing argument 8 of 'PGAPI_ColumnPrivileges' differ in signedness [-Wpointer-sign] clName, (SQLSMALLINT) nmlen4, flag); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:171:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ColumnPrivileges( ^ odbcapiw.c: In function 'SQLForeignKeysW': odbcapiw.c:658:4: warning: pointer targets in passing argument 2 of 'PGAPI_ForeignKeys' differ in signedness [-Wpointer-sign] fktbName, (SQLSMALLINT) nmlen6); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:197:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ForeignKeys( ^ odbcapiw.c:658:4: warning: pointer targets in passing argument 4 of 'PGAPI_ForeignKeys' differ in signedness [-Wpointer-sign] fktbName, (SQLSMALLINT) nmlen6); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:197:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ForeignKeys( ^ odbcapiw.c:658:4: warning: pointer targets in passing argument 6 of 'PGAPI_ForeignKeys' differ in signedness [-Wpointer-sign] fktbName, (SQLSMALLINT) nmlen6); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:197:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ForeignKeys( ^ odbcapiw.c:658:4: warning: pointer targets in passing argument 8 of 'PGAPI_ForeignKeys' differ in signedness [-Wpointer-sign] fktbName, (SQLSMALLINT) nmlen6); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:197:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ForeignKeys( ^ odbcapiw.c:658:4: warning: pointer targets in passing argument 10 of 'PGAPI_ForeignKeys' differ in signedness [-Wpointer-sign] fktbName, (SQLSMALLINT) nmlen6); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:197:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ForeignKeys( ^ odbcapiw.c:658:4: warning: pointer targets in passing argument 12 of 'PGAPI_ForeignKeys' differ in signedness [-Wpointer-sign] fktbName, (SQLSMALLINT) nmlen6); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:197:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ForeignKeys( ^ odbcapiw.c: In function 'SQLNativeSqlW': odbcapiw.c:703:4: warning: pointer targets in passing argument 2 of 'PGAPI_NativeSql' differ in signedness [-Wpointer-sign] szOut, buflen, &olen); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:213:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_NativeSql( ^ odbcapiw.c:703:4: warning: pointer targets in passing argument 4 of 'PGAPI_NativeSql' differ in signedness [-Wpointer-sign] szOut, buflen, &olen); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:213:17: note: expected 'SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_NativeSql( ^ odbcapiw.c: In function 'SQLPrimaryKeysW': odbcapiw.c:760:4: warning: pointer targets in passing argument 2 of 'PGAPI_PrimaryKeys' differ in signedness [-Wpointer-sign] scName, (SQLSMALLINT) nmlen2, tbName, (SQLSMALLINT) nmlen3, 0); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:227:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_PrimaryKeys( ^ odbcapiw.c:760:4: warning: pointer targets in passing argument 4 of 'PGAPI_PrimaryKeys' differ in signedness [-Wpointer-sign] scName, (SQLSMALLINT) nmlen2, tbName, (SQLSMALLINT) nmlen3, 0); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:227:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_PrimaryKeys( ^ odbcapiw.c:760:4: warning: pointer targets in passing argument 6 of 'PGAPI_PrimaryKeys' differ in signedness [-Wpointer-sign] scName, (SQLSMALLINT) nmlen2, tbName, (SQLSMALLINT) nmlen3, 0); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:227:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_PrimaryKeys( ^ odbcapiw.c: In function 'SQLProcedureColumnsW': odbcapiw.c:811:4: warning: pointer targets in passing argument 2 of 'PGAPI_ProcedureColumns' differ in signedness [-Wpointer-sign] clName, (SQLSMALLINT) nmlen4, flag); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:236:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ProcedureColumns( ^ odbcapiw.c:811:4: warning: pointer targets in passing argument 4 of 'PGAPI_ProcedureColumns' differ in signedness [-Wpointer-sign] clName, (SQLSMALLINT) nmlen4, flag); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:236:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ProcedureColumns( ^ odbcapiw.c:811:4: warning: pointer targets in passing argument 6 of 'PGAPI_ProcedureColumns' differ in signedness [-Wpointer-sign] clName, (SQLSMALLINT) nmlen4, flag); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:236:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ProcedureColumns( ^ odbcapiw.c:811:4: warning: pointer targets in passing argument 8 of 'PGAPI_ProcedureColumns' differ in signedness [-Wpointer-sign] clName, (SQLSMALLINT) nmlen4, flag); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:236:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_ProcedureColumns( ^ odbcapiw.c: In function 'SQLProceduresW': odbcapiw.c:861:7: warning: pointer targets in passing argument 2 of 'PGAPI_Procedures' differ in signedness [-Wpointer-sign] (SQLSMALLINT) nmlen3, flag); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:247:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_Procedures( ^ odbcapiw.c:861:7: warning: pointer targets in passing argument 4 of 'PGAPI_Procedures' differ in signedness [-Wpointer-sign] (SQLSMALLINT) nmlen3, flag); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:247:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_Procedures( ^ odbcapiw.c:861:7: warning: pointer targets in passing argument 6 of 'PGAPI_Procedures' differ in signedness [-Wpointer-sign] (SQLSMALLINT) nmlen3, flag); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:247:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_Procedures( ^ odbcapiw.c: In function 'SQLTablePrivilegesW': odbcapiw.c:908:4: warning: pointer targets in passing argument 2 of 'PGAPI_TablePrivileges' differ in signedness [-Wpointer-sign] scName, (SQLSMALLINT) nmlen2, tbName, (SQLSMALLINT) nmlen3, flag); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:261:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_TablePrivileges( ^ odbcapiw.c:908:4: warning: pointer targets in passing argument 4 of 'PGAPI_TablePrivileges' differ in signedness [-Wpointer-sign] scName, (SQLSMALLINT) nmlen2, tbName, (SQLSMALLINT) nmlen3, flag); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:261:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_TablePrivileges( ^ odbcapiw.c:908:4: warning: pointer targets in passing argument 6 of 'PGAPI_TablePrivileges' differ in signedness [-Wpointer-sign] scName, (SQLSMALLINT) nmlen2, tbName, (SQLSMALLINT) nmlen3, flag); ^ In file included from odbcapiw.c:24:0: pgapifunc.h:261:17: note: expected 'const SQLCHAR *' but argument is of type 'char *' RETCODE SQL_API PGAPI_TablePrivileges( ^ /bin/sh ./libtool --tag=CC --mode=compile armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o win_unicode.lo win_unicode.c libtool: compile: armv7hl-redhat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c win_unicode.c -fPIC -DPIC -o .libs/win_unicode.o win_unicode.c: In function 'utf8_to_ucs2_lf0': win_unicode.c:189:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (i = 0, ocount = 0, str = utf8str; i < ilen && *str;) \ ^ win_unicode.c:313:1: note: in expansion of macro 'def_utf2ucs' def_utf2ucs(0) ^ win_unicode.c: In function 'utf8_to_ucs2_lf1': win_unicode.c:189:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (i = 0, ocount = 0, str = utf8str; i < ilen && *str;) \ ^ win_unicode.c:314:1: note: in expansion of macro 'def_utf2ucs' def_utf2ucs(1) ^ /bin/sh ./libtool --tag=CC --mode=link armv7hl-redhat-linux-gnueabi-gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -module -no-undefined -avoid-version -Wl,-z,relro -L/usr/lib -L/usr/lib -o psqlodbcw.la -rpath /usr/lib info.lo bind.lo columninfo.lo connection.lo convert.lo drvconn.lo environ.lo execute.lo lobj.lo md5.lo misc.lo options.lo pgtypes.lo psqlodbc.lo qresult.lo results.lo socket.lo parse.lo statement.lo tuple.lo dlg_specific.lo loadlib.lo multibyte.lo odbcapi.lo descriptor.lo odbcapi30.lo pgapi30.lo info30.lo mylog.lo odbcapi30w.lo odbcapiw.lo win_unicode.lo -lssl -lpq -lpthread -lodbcinst libtool: link: armv7hl-redhat-linux-gnueabi-gcc -shared -fPIC -DPIC .libs/info.o .libs/bind.o .libs/columninfo.o .libs/connection.o .libs/convert.o .libs/drvconn.o .libs/environ.o .libs/execute.o .libs/lobj.o .libs/md5.o .libs/misc.o .libs/options.o .libs/pgtypes.o .libs/psqlodbc.o .libs/qresult.o .libs/results.o .libs/socket.o .libs/parse.o .libs/statement.o .libs/tuple.o .libs/dlg_specific.o .libs/loadlib.o .libs/multibyte.o .libs/odbcapi.o .libs/descriptor.o .libs/odbcapi30.o .libs/pgapi30.o .libs/info30.o .libs/mylog.o .libs/odbcapi30w.o .libs/odbcapiw.o .libs/win_unicode.o -L/usr/lib -lssl -lpq -lpthread -lodbcinst -O2 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -Wl,-soname -Wl,psqlodbcw.so -o .libs/psqlodbcw.so libtool: link: ( cd ".libs" && rm -f "psqlodbcw.la" && ln -s "../psqlodbcw.la" "psqlodbcw.la" ) make[1]: Leaving directory `/builddir/build/BUILD/psqlodbc-09.03.0100' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4p8dBE + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/postgresql-odbc-09.03.0100-2.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/postgresql-odbc-09.03.0100-2.el7.arm ++ dirname /builddir/build/BUILDROOT/postgresql-odbc-09.03.0100-2.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/postgresql-odbc-09.03.0100-2.el7.arm + cd psqlodbc-09.03.0100 + make DESTDIR=/builddir/build/BUILDROOT/postgresql-odbc-09.03.0100-2.el7.arm install make[1]: Entering directory `/builddir/build/BUILD/psqlodbc-09.03.0100' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/postgresql-odbc-09.03.0100-2.el7.arm/usr/lib' /bin/sh ./libtool --mode=install /usr/bin/install -c psqlodbcw.la '/builddir/build/BUILDROOT/postgresql-odbc-09.03.0100-2.el7.arm/usr/lib' libtool: install: /usr/bin/install -c .libs/psqlodbcw.so /builddir/build/BUILDROOT/postgresql-odbc-09.03.0100-2.el7.arm/usr/lib/psqlodbcw.so libtool: install: /usr/bin/install -c .libs/psqlodbcw.lai /builddir/build/BUILDROOT/postgresql-odbc-09.03.0100-2.el7.arm/usr/lib/psqlodbcw.la libtool: install: warning: remember to run `libtool --finish /usr/lib' make[1]: Nothing to be done for `install-data-am'. make[1]: Leaving directory `/builddir/build/BUILD/psqlodbc-09.03.0100' ~/build/BUILDROOT/postgresql-odbc-09.03.0100-2.el7.arm/usr/lib ~/build/BUILD/psqlodbc-09.03.0100 + pushd /builddir/build/BUILDROOT/postgresql-odbc-09.03.0100-2.el7.arm/usr/lib + ln -s psqlodbcw.so psqlodbc.so + rm psqlodbcw.la ~/build/BUILD/psqlodbc-09.03.0100 + popd + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/psqlodbc-09.03.0100 extracting debug info from /builddir/build/BUILDROOT/postgresql-odbc-09.03.0100-2.el7.arm/usr/lib/psqlodbcw.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib/psqlodbcw.so.debug to /usr/lib/debug/usr/lib/psqlodbc.so.debug 2755 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: postgresql-odbc-09.03.0100-2.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0RfhzR + umask 022 + cd /builddir/build/BUILD + cd psqlodbc-09.03.0100 + DOCDIR=/builddir/build/BUILDROOT/postgresql-odbc-09.03.0100-2.el7.arm/usr/share/doc/postgresql-odbc-09.03.0100 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/postgresql-odbc-09.03.0100-2.el7.arm/usr/share/doc/postgresql-odbc-09.03.0100 + cp -pr license.txt /builddir/build/BUILDROOT/postgresql-odbc-09.03.0100-2.el7.arm/usr/share/doc/postgresql-odbc-09.03.0100 + cp -pr readme.txt /builddir/build/BUILDROOT/postgresql-odbc-09.03.0100-2.el7.arm/usr/share/doc/postgresql-odbc-09.03.0100 + cp -pr docs/README.txt docs/config-opt.html docs/config.html docs/release-7.3.html docs/release.html docs/unix-compilation.html docs/win32-compilation.html /builddir/build/BUILDROOT/postgresql-odbc-09.03.0100-2.el7.arm/usr/share/doc/postgresql-odbc-09.03.0100 + exit 0 Provides: postgresql-odbc = 09.03.0100-2.el7 postgresql-odbc(armv7hl-32) = 09.03.0100-2.el7 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libodbcinst.so.2 libpq.so.5 libpthread.so.0 libpthread.so.0(GLIBC_2.4) libssl.so.10 libssl.so.10(libssl.so.10) rtld(GNU_HASH) Processing files: postgresql-odbc-debuginfo-09.03.0100-2.el7.armv7hl Provides: postgresql-odbc-debuginfo = 09.03.0100-2.el7 postgresql-odbc-debuginfo(armv7hl-32) = 09.03.0100-2.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/postgresql-odbc-09.03.0100-2.el7.arm Wrote: /builddir/build/RPMS/postgresql-odbc-09.03.0100-2.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/postgresql-odbc-debuginfo-09.03.0100-2.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.38olxa + umask 022 + cd /builddir/build/BUILD + cd psqlodbc-09.03.0100 + /usr/bin/rm -rf /builddir/build/BUILDROOT/postgresql-odbc-09.03.0100-2.el7.arm + exit 0 Child return code was: 0 LEAVE do -->