Build start: 2014. júl. 9., szerda, 15.25.25 UTC **** mysql-odbc_5.3.2-1.5 **** Fetching ccache... done. Utolsó belépés: 2014. júl. 9., szerda, 15.25.09 UTC, pts/2 FYI: Compile snapshot nem fog készülni! ($UHUBUILD_COMPILESNAPSHOTDIR nincs beállítva) FYI: Install snapshot nem fog készülni! ($UHUBUILD_INSTALLSNAPSHOTDIR nincs beállítva) Források letöltése... Chroot rendszer felépítése... Chroot könyvtár: /var/build/chroot2 Fájlrendszerek csatolása: dev , proc 0% [Working] Get:1 ftp://172.16.1.1 ./ InRelease 0% [1 InRelease 0 B] Ign ftp://172.16.1.1 ./ InRelease 25% [Working] Get:2 ftp://172.16.1.1 ./ Release.gpg 25% [2 Release.gpg 0 B] Ign ftp://172.16.1.1 ./ Release.gpg 33% [Working] Hit ftp://172.16.1.1 ./ Release 50% [Working] Get:3 ftp://172.16.1.1 ./ Packages/DiffIndex 50% [3 Packages 0 B] Ign ftp://172.16.1.1 ./ Packages/DiffIndex 57% [Working] Get:4 ftp://172.16.1.1 ./ Translation-en 57% [4 Translation-en 0 B] Get:5 ftp://172.16.1.1 ./ Packages 57% [5 Packages 0 B] Get:6 ftp://172.16.1.1 ./ Translation-en 57% [6 Translation-en 0 B] Get:7 ftp://172.16.1.1 ./ Packages 57% [7 Packages 0 B] Get:8 ftp://172.16.1.1 ./ Translation-en 57% [8 Translation-en 0 B] Get:9 ftp://172.16.1.1 ./ Packages 57% [9 Packages 0 B] Get:10 ftp://172.16.1.1 ./ Translation-en 57% [10 Translation-en 0 B] Get:11 ftp://172.16.1.1 ./ Packages [516 KB] 0% [11 Packages 0 B/516 KB 0%] 100% [Working] Get:12 ftp://172.16.1.1 ./ Translation-en 100% [11 Packages gzip 0 B] [12 Translation-en 0 B] Ign ftp://172.16.1.1 ./ Translation-en 100% [11 Packages gzip 0 B] 100% [Working] Fetched 516 KB in 0s (1510 KB/s) Reading package lists... 0% Reading package lists... 0% Reading package lists... 2% Reading package lists... 100% Reading package lists... 100% Reading package lists... Done Reading package lists... 0% Reading package lists... 0% Reading package lists... 75% Reading package lists... Done Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree Reading state information... 0% Reading state information... 0% Reading state information... Done uhubuild-config is already the newest version. Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 0% [Working] Get:1 ftp://172.16.1.1 ./ InRelease 0% [1 InRelease 0 B] Ign ftp://172.16.1.1 ./ InRelease 25% [Working] Get:2 ftp://172.16.1.1 ./ Release.gpg 25% [2 Release.gpg 0 B] Ign ftp://172.16.1.1 ./ Release.gpg 33% [Working] Hit ftp://172.16.1.1 ./ Release 50% [Working] Get:3 ftp://172.16.1.1 ./ Packages/DiffIndex 50% [3 Packages 0 B] Ign ftp://172.16.1.1 ./ Packages/DiffIndex 57% [Working] Get:4 ftp://172.16.1.1 ./ Translation-en 57% [4 Translation-en 0 B] Get:5 ftp://172.16.1.1 ./ Packages 57% [5 Packages 0 B] Get:6 ftp://172.16.1.1 ./ Translation-en 57% [6 Translation-en 0 B] Get:7 ftp://172.16.1.1 ./ Packages 57% [7 Packages 0 B] Get:8 ftp://172.16.1.1 ./ Translation-en 57% [8 Translation-en 0 B] Get:9 ftp://172.16.1.1 ./ Packages 57% [9 Packages 0 B] Get:10 ftp://172.16.1.1 ./ Translation-en 57% [10 Translation-en 0 B] Hit ftp://172.16.1.1 ./ Packages 71% [Working] Get:11 ftp://172.16.1.1 ./ Translation-en 71% [11 Translation-en 0 B] Ign ftp://172.16.1.1 ./ Translation-en 86% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 2% Reading package lists... 100% Reading package lists... 100% Reading package lists... Done dpkg: warning: package not in database at line 66: libxml2 dpkg: warning: package not in database at line 102: mysql-common dpkg: warning: package not in database at line 114: libarchive dpkg: warning: package not in database at line 114: cmake dpkg: warning: package not in database at line 120: mysql-dev dpkg: warning: package not in database at line 121: openssl-dev dpkg: warning: package not in database at line 129: unixodbc dpkg: warning: package not in database at line 129: unixodbc-dev dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method Reading package lists... 0% Reading package lists... 0% Reading package lists... 75% Reading package lists... Done Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree Reading state information... 0% Reading state information... 0% Reading state information... Done acl is already the newest version. attr is already the newest version. audit is already the newest version. autoconf is already the newest version. automake is already the newest version. bash is already the newest version. bc is already the newest version. binutils is already the newest version. bison is already the newest version. bzip2 is already the newest version. bzip2-dev is already the newest version. ccache is already the newest version. coreutils is already the newest version. cpio is already the newest version. cpp is already the newest version. cracklib is already the newest version. cryptsetup is already the newest version. curl is already the newest version. cyrus-sasl2 is already the newest version. db4 is already the newest version. desktop-file-utils is already the newest version. diffutils is already the newest version. dl is already the newest version. dosfstools is already the newest version. dpkg is already the newest version. expat is already the newest version. fbgetty is already the newest version. file is already the newest version. findutils is already the newest version. flex is already the newest version. flex-dev is already the newest version. gamin is already the newest version. gawk is already the newest version. gcc is already the newest version. gcc-lib is already the newest version. gdbm is already the newest version. gettext is already the newest version. gettext-tools is already the newest version. glib is already the newest version. glibc is already the newest version. glibc-dev is already the newest version. glibc-locales is already the newest version. gmp is already the newest version. grep is already the newest version. grub is already the newest version. gzip is already the newest version. kernel-headers is already the newest version. krb5 is already the newest version. libcap is already the newest version. libelf is already the newest version. libffi is already the newest version. libgcrypt is already the newest version. libgpg-error is already the newest version. libidn is already the newest version. libpng is already the newest version. libqrencode is already the newest version. libsigsegv is already the newest version. libstdc++ is already the newest version. libstdc++-dev is already the newest version. libtool is already the newest version. licenses is already the newest version. lvm is already the newest version. lynx is already the newest version. m4 is already the newest version. make is already the newest version. module-init-tools is already the newest version. mpc is already the newest version. mpfr is already the newest version. ncurses is already the newest version. ncurses-dev is already the newest version. nspr is already the newest version. nss is already the newest version. openldap is already the newest version. openssl is already the newest version. optipng is already the newest version. pam is already the newest version. pam-dev is already the newest version. patch is already the newest version. pbzip2 is already the newest version. pcre is already the newest version. perl is already the newest version. perl-encode-locale is already the newest version. perl-file-listing is already the newest version. perl-html-parser is already the newest version. perl-html-tagset is already the newest version. perl-http-cookies is already the newest version. perl-http-daemon is already the newest version. perl-http-date is already the newest version. perl-http-message is already the newest version. perl-http-negotiate is already the newest version. perl-io-html is already the newest version. perl-libwww is already the newest version. perl-lwp-mediatypes is already the newest version. perl-net-http is already the newest version. perl-timedate is already the newest version. perl-uri is already the newest version. perl-www-robotrules is already the newest version. pigz is already the newest version. pkgconfig is already the newest version. popt is already the newest version. pretendroot is already the newest version. python is already the newest version. readline is already the newest version. readline-dev is already the newest version. rmt is already the newest version. rpm is already the newest version. sed is already the newest version. shadow is already the newest version. sortdir is already the newest version. sqlite is already the newest version. systemd is already the newest version. tar is already the newest version. texinfo is already the newest version. timeslide is already the newest version. uhu-base is already the newest version. uhubuild-common is already the newest version. uhubuild-config is already the newest version. uhubuild-helpers is already the newest version. uhubuild-here is already the newest version. uhu-pkg is already the newest version. uhu-utils is already the newest version. unarj is already the newest version. unrar is already the newest version. unzip is already the newest version. util-linux is already the newest version. which is already the newest version. xz is already the newest version. xz-dev is already the newest version. zlib is already the newest version. zlib-dev is already the newest version. Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done The following NEW packages will be installed: cmake libarchive libxml2 mysql-common mysql-dev openssl-dev unixodbc unixodbc-dev 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded. Need to get 8869 KB/49.5 MB of archives. After this operation, 168 MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libxml2 mysql-common libarchive cmake mysql-dev openssl-dev unixodbc unixodbc-dev Authentication warning overridden. 0% [Working] Get:1 ftp://172.16.1.1/uhu/dev/packages/ ./ mysql-dev 10.0.11-1.7 [8343 KB] 0% [1 mysql-dev 0 B/8343 KB 0%] 92% [1 mysql-dev 8192 KB/8343 KB 98%] 94% [Working] Get:2 ftp://172.16.1.1/uhu/dev/packages/ ./ unixodbc 2.3.2-1.6 [482 KB] 94% [2 unixodbc 0 B/482 KB 0%] 100% [Working] Get:3 ftp://172.16.1.1/uhu/dev/packages/ ./ unixodbc-dev 2.3.2-1.6 [44.3 KB] 100% [3 unixodbc-dev 0 B/44.3 KB 0%] 100% [Working] Fetched 8869 KB in 0s (11.9 MB/s) Selecting previously unselected package libxml2. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 17992 files and directories currently installed.) Preparing to unpack .../libxml2_2.9.1-2.2_i386.uhu ... Unpacking libxml2 (2.9.1-2.2) ... Selecting previously unselected package mysql-common. Preparing to unpack .../mysql-common_10.0.11-1.7_i386.uhu ... Unpacking mysql-common (10.0.11-1.7) ... Selecting previously unselected package libarchive. Preparing to unpack .../libarchive_3.1.2-1.17_i386.uhu ... Unpacking libarchive (3.1.2-1.17) ... Selecting previously unselected package cmake. Preparing to unpack .../cmake_2.8.12.2-1.13_i386.uhu ... Unpacking cmake (2.8.12.2-1.13) ... Selecting previously unselected package mysql-dev. Preparing to unpack .../mysql-dev_10.0.11-1.7_i386.uhu ... Unpacking mysql-dev (10.0.11-1.7) ... Selecting previously unselected package openssl-dev. Preparing to unpack .../openssl-dev_1.0.1h-2.6_i386.uhu ... Unpacking openssl-dev (1.0.1h-2.6) ... Selecting previously unselected package unixodbc. Preparing to unpack .../unixodbc_2.3.2-1.6_i386.uhu ... Unpacking unixodbc (2.3.2-1.6) ... Selecting previously unselected package unixodbc-dev. Preparing to unpack .../unixodbc-dev_2.3.2-1.6_i386.uhu ... Unpacking unixodbc-dev (2.3.2-1.6) ... Setting up libxml2 (2.9.1-2.2) ... Setting up mysql-common (10.0.11-1.7) ... Setting up libarchive (3.1.2-1.17) ... Setting up cmake (2.8.12.2-1.13) ... Setting up mysql-dev (10.0.11-1.7) ... Setting up openssl-dev (1.0.1h-2.6) ... Setting up unixodbc (2.3.2-1.6) ... Setting up unixodbc-dev (2.3.2-1.6) ... Running `/sbin/uhu-pkg postinst +' ... Generating MIME cache for desktop files ... Querying GIO modules ... Compiling Glib schemas ...No schema files found: doing nothing. Running ldconfig ... Reload systemd unit files ...Running in chroot, ignoring request. Restart systemd-modules-load service ...Running in chroot, ignoring request. dpkg: warning: obsolete '--forget-old-unavail' option; unavailable packages are automatically cleaned up Takarítás... Chroot rendszer OK  , ccache , forrás OK  Megyünk a chroot alá, uhubuild-build indul. Building mysql-odbc-5.3.2-1 for distribution UHU Linux dev. Target binary packages: mysql-odbc. acquire... mysql-connector-odbc-5.3.2-src/README.debug mysql-connector-odbc-5.3.2-src/driver/catalog.c mysql-connector-odbc-5.3.2-src/driver/catalog.h mysql-connector-odbc-5.3.2-src/driver/dll.c mysql-connector-odbc-5.3.2-src/driver/driver.rc.cmake mysql-connector-odbc-5.3.2-src/driver/execute.c mysql-connector-odbc-5.3.2-src/driver/handle.c mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c mysql-connector-odbc-5.3.2-src/driver/transact.c mysql-connector-odbc-5.3.2-src/driver/prepare.c mysql-connector-odbc-5.3.2-src/driver/desc.c mysql-connector-odbc-5.3.2-src/driver/stamp-h.in mysql-connector-odbc-5.3.2-src/driver/error.c mysql-connector-odbc-5.3.2-src/driver/ansi.c mysql-connector-odbc-5.3.2-src/driver/driver.h mysql-connector-odbc-5.3.2-src/driver/CMakeLists.txt mysql-connector-odbc-5.3.2-src/driver/results.c mysql-connector-odbc-5.3.2-src/driver/my_stmt.c mysql-connector-odbc-5.3.2-src/driver/parse.h mysql-connector-odbc-5.3.2-src/driver/driver.def.cmake mysql-connector-odbc-5.3.2-src/driver/myutil.h mysql-connector-odbc-5.3.2-src/driver/my_prepared_stmt.c mysql-connector-odbc-5.3.2-src/driver/info.c mysql-connector-odbc-5.3.2-src/driver/unicode.c mysql-connector-odbc-5.3.2-src/driver/utility.c mysql-connector-odbc-5.3.2-src/driver/driver.c mysql-connector-odbc-5.3.2-src/driver/cursor.c mysql-connector-odbc-5.3.2-src/driver/parse.c mysql-connector-odbc-5.3.2-src/driver/error.h mysql-connector-odbc-5.3.2-src/driver/options.c mysql-connector-odbc-5.3.2-src/driver/connect.c mysql-connector-odbc-5.3.2-src/mysql.bmp mysql-connector-odbc-5.3.2-src/setupgui/setupgui.h mysql-connector-odbc-5.3.2-src/setupgui/windows/connector_odbc_header.bmp mysql-connector-odbc-5.3.2-src/setupgui/windows/main.cpp mysql-connector-odbc-5.3.2-src/setupgui/windows/odbcdialogparams.rc mysql-connector-odbc-5.3.2-src/setupgui/windows/odbcdialogparams.cpp mysql-connector-odbc-5.3.2-src/setupgui/windows/odbcdialogparams.h mysql-connector-odbc-5.3.2-src/setupgui/windows/tooltip.cpp mysql-connector-odbc-5.3.2-src/setupgui/windows/TabCtrl.h mysql-connector-odbc-5.3.2-src/setupgui/windows/TabCtrl.cpp mysql-connector-odbc-5.3.2-src/setupgui/windows/resource.h mysql-connector-odbc-5.3.2-src/setupgui/ConfigDSN.c mysql-connector-odbc-5.3.2-src/setupgui/gtk/ui_xml.h mysql-connector-odbc-5.3.2-src/setupgui/gtk/ODBCINSTGetProperties.c mysql-connector-odbc-5.3.2-src/setupgui/gtk/odbc.glade mysql-connector-odbc-5.3.2-src/setupgui/gtk/odbcdialogparams.c mysql-connector-odbc-5.3.2-src/setupgui/gtk/pixmaps/connector_odbc_header.xpm mysql-connector-odbc-5.3.2-src/setupgui/gtk/pixmaps/connector_odbc_header.png mysql-connector-odbc-5.3.2-src/setupgui/callbacks.c mysql-connector-odbc-5.3.2-src/setupgui/CMakeLists.txt mysql-connector-odbc-5.3.2-src/setupgui/utils.c mysql-connector-odbc-5.3.2-src/setupgui/myodbc5S.def mysql-connector-odbc-5.3.2-src/dltest/dltest.c mysql-connector-odbc-5.3.2-src/dltest/CMakeLists.txt mysql-connector-odbc-5.3.2-src/test/my_keys.c mysql-connector-odbc-5.3.2-src/test/my_nodmw.c mysql-connector-odbc-5.3.2-src/test/my_unixodbc.c mysql-connector-odbc-5.3.2-src/test/my_desc.c mysql-connector-odbc-5.3.2-src/test/my_param.c mysql-connector-odbc-5.3.2-src/test/my_tran.c mysql-connector-odbc-5.3.2-src/test/my_info.c mysql-connector-odbc-5.3.2-src/test/my_bug13766.c mysql-connector-odbc-5.3.2-src/test/my_relative.c mysql-connector-odbc-5.3.2-src/test/my_blob.c mysql-connector-odbc-5.3.2-src/test/unit.pl mysql-connector-odbc-5.3.2-src/test/odbcinst.ini.in mysql-connector-odbc-5.3.2-src/test/my_types.c mysql-connector-odbc-5.3.2-src/test/cmake/generateinifiles.cmake mysql-connector-odbc-5.3.2-src/test/my_curext.c mysql-connector-odbc-5.3.2-src/test/my_datetime.c mysql-connector-odbc-5.3.2-src/test/my_catalog1.c mysql-connector-odbc-5.3.2-src/test/my_unicode.c mysql-connector-odbc-5.3.2-src/test/my_prepare.c mysql-connector-odbc-5.3.2-src/test/my_result1.c mysql-connector-odbc-5.3.2-src/test/my_nodma.c mysql-connector-odbc-5.3.2-src/test/odbctap.h mysql-connector-odbc-5.3.2-src/test/my_cursor.c mysql-connector-odbc-5.3.2-src/test/my_result2.c mysql-connector-odbc-5.3.2-src/test/my_dyn_cursor.c mysql-connector-odbc-5.3.2-src/test/CMakeLists.txt mysql-connector-odbc-5.3.2-src/test/my_use_result.c mysql-connector-odbc-5.3.2-src/test/my_pooling.c mysql-connector-odbc-5.3.2-src/test/my_basics.c mysql-connector-odbc-5.3.2-src/test/my_bulk.c mysql-connector-odbc-5.3.2-src/test/my_catalog2.c mysql-connector-odbc-5.3.2-src/test/my_scroll.c mysql-connector-odbc-5.3.2-src/test/my_setup.c mysql-connector-odbc-5.3.2-src/test/odbc.ini.in mysql-connector-odbc-5.3.2-src/test/my_error.c mysql-connector-odbc-5.3.2-src/test/my_crash.c mysql-connector-odbc-5.3.2-src/VersionInfo.h.cmake mysql-connector-odbc-5.3.2-src/INSTALL.win mysql-connector-odbc-5.3.2-src/README mysql-connector-odbc-5.3.2-src/ChangeLog mysql-connector-odbc-5.3.2-src/cmake/sqlcolattrib2.c.cmake mysql-connector-odbc-5.3.2-src/cmake/FindLtdl.cmake mysql-connector-odbc-5.3.2-src/cmake/havelpcwstr.c mysql-connector-odbc-5.3.2-src/cmake/sqlcolattrib1.c.cmake mysql-connector-odbc-5.3.2-src/cmake/getmysqlversion.c mysql-connector-odbc-5.3.2-src/cmake/FindMySQL.cmake mysql-connector-odbc-5.3.2-src/cmake/sqlparamopt2.c.cmake mysql-connector-odbc-5.3.2-src/cmake/needdl.c mysql-connector-odbc-5.3.2-src/cmake/FindODBC.cmake mysql-connector-odbc-5.3.2-src/cmake/sqlparamopt1.c.cmake mysql-connector-odbc-5.3.2-src/CreateSourceZip.bat mysql-connector-odbc-5.3.2-src/installer/CMakeLists.txt mysql-connector-odbc-5.3.2-src/installer/myodbc-installer.c mysql-connector-odbc-5.3.2-src/COPYING mysql-connector-odbc-5.3.2-src/util/stringutil.h mysql-connector-odbc-5.3.2-src/util/CMakeLists.txt mysql-connector-odbc-5.3.2-src/util/stringutil.c mysql-connector-odbc-5.3.2-src/util/installer.c mysql-connector-odbc-5.3.2-src/util/installer.h mysql-connector-odbc-5.3.2-src/util/odbcinstw.c mysql-connector-odbc-5.3.2-src/util/unicode_transcode.c mysql-connector-odbc-5.3.2-src/Licenses_for_Third-Party_Components.txt mysql-connector-odbc-5.3.2-src/BUILD.unix mysql-connector-odbc-5.3.2-src/CreateBinaryZip.bat mysql-connector-odbc-5.3.2-src/wix/mysql-connector-odbc-msi-arpprops.xml mysql-connector-odbc-5.3.2-src/wix/cmake/getodbcversion.c mysql-connector-odbc-5.3.2-src/wix/cmake/FindWix.cmake mysql-connector-odbc-5.3.2-src/wix/CMakeLists.txt mysql-connector-odbc-5.3.2-src/wix/mysql_common_ui.xml mysql-connector-odbc-5.3.2-src/wix/mysql_odbc_fragment.xml mysql-connector-odbc-5.3.2-src/wix/README.TXT mysql-connector-odbc-5.3.2-src/wix/mysql_odbc.xml.in mysql-connector-odbc-5.3.2-src/wix/resources/help.ico mysql-connector-odbc-5.3.2-src/wix/resources/binary/binary7 mysql-connector-odbc-5.3.2-src/wix/resources/binary/binary13 mysql-connector-odbc-5.3.2-src/wix/resources/binary/binary4 mysql-connector-odbc-5.3.2-src/wix/resources/binary/binary9 mysql-connector-odbc-5.3.2-src/wix/resources/binary/binary8 mysql-connector-odbc-5.3.2-src/wix/resources/binary/binary14 mysql-connector-odbc-5.3.2-src/wix/resources/binary/binary6 mysql-connector-odbc-5.3.2-src/wix/resources/binary/binary16 mysql-connector-odbc-5.3.2-src/wix/resources/binary/binary18 mysql-connector-odbc-5.3.2-src/wix/resources/binary/binary2 mysql-connector-odbc-5.3.2-src/wix/resources/binary/binary17 mysql-connector-odbc-5.3.2-src/wix/resources/binary/binary3 mysql-connector-odbc-5.3.2-src/wix/resources/MySQLConnector.ico mysql-connector-odbc-5.3.2-src/wix/resources/setup_type_typical.ico mysql-connector-odbc-5.3.2-src/wix/resources/commercial_license.rtf mysql-connector-odbc-5.3.2-src/wix/resources/ConnBackground.jpg mysql-connector-odbc-5.3.2-src/wix/resources/ConnHeader.jpg mysql-connector-odbc-5.3.2-src/wix/resources/dest_dir_folder.ico mysql-connector-odbc-5.3.2-src/wix/resources/webpage.ico mysql-connector-odbc-5.3.2-src/wix/resources/setup_type_complete.ico mysql-connector-odbc-5.3.2-src/wix/resources/setup_type_custom.ico mysql-connector-odbc-5.3.2-src/wix/resources/Setup.exe mysql-connector-odbc-5.3.2-src/myodbc3.spec mysql-connector-odbc-5.3.2-src/scripts/myodbc3.spec.sh mysql-connector-odbc-5.3.2-src/scripts/macosx/myodbc.png mysql-connector-odbc-5.3.2-src/scripts/macosx/postflight.in mysql-connector-odbc-5.3.2-src/scripts/macosx/Welcome.html.in mysql-connector-odbc-5.3.2-src/scripts/macosx/License.html.in mysql-connector-odbc-5.3.2-src/scripts/macosx/ReadMe.html.in mysql-connector-odbc-5.3.2-src/CMakeLists.txt mysql-connector-odbc-5.3.2-src/MYODBC_CONF.h mysql-connector-odbc-5.3.2-src/MYODBC_ODBC.h mysql-connector-odbc-5.3.2-src/CreateBinaryMsi.bat mysql-connector-odbc-5.3.2-src/Uninstall.bat.cmake mysql-connector-odbc-5.3.2-src/README.dist mysql-connector-odbc-5.3.2-src/BUILD.win mysql-connector-odbc-5.3.2-src/MYODBC_MYSQL.h mysql-connector-odbc-5.3.2-src/Upgrade.bat mysql-connector-odbc-5.3.2-src/INSTALL mysql-connector-odbc-5.3.2-src/Install.bat.cmake +++ Applying patch: /var/uhubuild/work/.src/patches/dont_install_docs.patch patching file CMakeLists.txt Hunk #1 succeeded at 382 (offset 101 lines). +++ Applying patch: /var/uhubuild/work/.src/patches/fix-str-fmt.patch patching file dltest/dltest.c patching file installer/myodbc-installer.c +++ Applying patch: /var/uhubuild/work/.src/patches/flags.patch patching file cmake/FindMySQL.cmake +++ Applying patch: /var/uhubuild/work/.src/patches/mariadb10.patch patching file driver/catalog_no_i_s.c patching file driver/desc.c patching file driver/handle.c patching file driver/parse.c +++ Applying patch: /var/uhubuild/work/.src/patches/no-inplicit-declaration.patch patching file test/odbctap.h removed '/var/uhubuild/work/compile/CMakeLists.txt.orig' ccache-extract... compile... + ub_compile -DWITH_UNIXODBC=1 -DDISABLE_GUI=1 -DMYSQL_LINK_FLAGS=-L/usr/lib -- The C compiler identification is GNU 4.8.3 -- The CXX compiler identification is GNU 4.8.3 -- Check for working C compiler: /usr/lib/ccache/cc -- Check for working C compiler: /usr/lib/ccache/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/lib/ccache/c++ -- Check for working CXX compiler: /usr/lib/ccache/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Configuring to build Unicode driver -- Configuring to build ANSI driver -- mysql_config was found /usr/bin/mysql_config -- MySQL Include dir: /usr/include/mysql -- MySQL Library : /usr/lib/libmysqlclient.a;pthread;z;m;ssl;crypto;dl;rt -- MySQL Library dir: /usr/lib -- MySQL CXXFLAGS: -I/usr/include/mysql -Wall -g -DNDEBUG -- MySQL Link flags: -L/usr/lib -- MySQL Version: 10.0.11 -- MySQL Include dir: /usr/include/mysql -- MySQL Library dir: /usr/lib -- MySQL CXXFLAGS: -I/usr/include/mysql -Wall -g -DNDEBUG -- MySQL Link flags: -L/usr/lib -- unixODBC: Found odbc_config in /usr/bin/odbc_config -- Checking if LPCWSTR type is present - TRUE -- Looking for dlopen -- Looking for dlopen - not found -- Checking if SQLColAttribute last arg is compatible with SQLLEN* - TRUE -- Checking if SQLParamOptions() 2nd and 3rd arg is compatible with SQLULEN - TRUE -- Enabling threads support -- Installation library subdir: lib -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: DATA_INSTALL_DIR KDE_DEFAULT_HOME SYSCONF_INSTALL_DIR -- Build files have been written to: /var/uhubuild/work/compile/build make -j16 MAN1EXT=1 MAN2EXT=2 MAN3EXT=3 MAN4EXT=4 MAN5EXT=5 MAN6EXT=6 MAN7EXT=7 MAN8EXT=8 Scanning dependencies of target dltest Scanning dependencies of target my_bug13766 Scanning dependencies of target my_bulk Scanning dependencies of target my_blob Scanning dependencies of target my_crash Scanning dependencies of target my_catalog1 Scanning dependencies of target myodbc-util Scanning dependencies of target my_basics Scanning dependencies of target my_curext Scanning dependencies of target my_datetime [ 1%] Scanning dependencies of target my_catalog2 [ 2%] [ 4%] Scanning dependencies of target my_desc [ 5%] Building C object dltest/CMakeFiles/dltest.dir/dltest.c.o Scanning dependencies of target my_error [ 6%] [ 8%] Scanning dependencies of target my_info [ 9%] Scanning dependencies of target my_cursor Building C object test/CMakeFiles/my_bug13766.dir/my_bug13766.c.o Scanning dependencies of target my_dyn_cursor [ 10%] [ 12%] Building C object test/CMakeFiles/my_blob.dir/my_blob.c.o Building C object test/CMakeFiles/my_basics.dir/my_basics.c.o [ 13%] [ 14%] [ 16%] Building C object util/CMakeFiles/myodbc-util.dir/stringutil.c.o [ 17%] Building C object test/CMakeFiles/my_catalog2.dir/my_catalog2.c.o Building C object test/CMakeFiles/my_bulk.dir/my_bulk.c.o [ 18%] [ 20%] Building C object test/CMakeFiles/my_curext.dir/my_curext.c.o Building C object test/CMakeFiles/my_catalog1.dir/my_catalog1.c.o Building C object test/CMakeFiles/my_crash.dir/my_crash.c.o Building C object test/CMakeFiles/my_datetime.dir/my_datetime.c.o Building C object test/CMakeFiles/my_desc.dir/my_desc.c.o [ 21%] Building C object test/CMakeFiles/my_error.dir/my_error.c.o Building C object test/CMakeFiles/my_cursor.dir/my_cursor.c.o Building C object test/CMakeFiles/my_info.dir/my_info.c.o Building C object test/CMakeFiles/my_dyn_cursor.dir/my_dyn_cursor.c.o Linking C executable ../bin/dltest [ 21%] Built target dltest Scanning dependencies of target my_keys [ 22%] Building C object test/CMakeFiles/my_keys.dir/my_keys.c.o /var/uhubuild/work/compile/util/stringutil.c: In function 'copy_and_convert': /var/uhubuild/work/compile/util/stringutil.c:526:32: warning: initialization from incompatible pointer type [enabled by default] const uchar *)= from_cs->cset->mb_wc; ^ /var/uhubuild/work/compile/util/stringutil.c:528:5: warning: initialization from incompatible pointer type [enabled by default] to_cs->cset->wc_mb; ^ /var/uhubuild/work/compile/util/stringutil.c:535:5: warning: passing argument 1 of 'mb_wc' discards 'const' qualifier from pointer target type [enabled by default] if ((from_cnvres= (*mb_wc)(from_cs, &wc, (uchar*) from, from_end)) > 0) ^ /var/uhubuild/work/compile/util/stringutil.c:535:5: note: expected 'struct charset_info_st *' but argument is of type 'const struct CHARSET_INFO *' /var/uhubuild/work/compile/util/stringutil.c:557:5: warning: passing argument 1 of 'wc_mb' discards 'const' qualifier from pointer target type [enabled by default] if ((to_cnvres= (*wc_mb)(to_cs, wc, (uchar*) to, to_end)) > 0) ^ /var/uhubuild/work/compile/util/stringutil.c:557:5: note: expected 'struct charset_info_st *' but argument is of type 'const struct CHARSET_INFO *' [ 24%] Building C object util/CMakeFiles/myodbc-util.dir/unicode_transcode.c.o In file included from /var/uhubuild/work/compile/test/my_curext.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_curext.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_curext.c:25: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_curext.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_curext.c:25: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_curext.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_curext.c:25: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_curext.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_curext.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_curext.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_curext.c:25: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_curext.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_curext.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_curext.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_curext.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_curext.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_curext.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_curext.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_curext.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_curext.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_curext.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_curext.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_curext.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_curext.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_curext.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_curext.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_curext.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_curext.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_curext.c:25:0: /var/uhubuild/work/compile/test/my_curext.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ Linking CXX executable my_curext In file included from /var/uhubuild/work/compile/test/my_bug13766.c:29:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_bug13766.c:29:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_bug13766.c:29: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_bug13766.c:29:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_bug13766.c:29: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_bug13766.c:29:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_bug13766.c:29: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_bug13766.c:29:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_bug13766.c:29: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_bug13766.c:29:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_bug13766.c:29: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_bug13766.c:29:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_bug13766.c:29:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_bug13766.c:29: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_bug13766.c:29:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_bug13766.c:29: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_bug13766.c:29:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_bug13766.c:29: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_bug13766.c:29:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_bug13766.c:29: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_bug13766.c:29:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_bug13766.c:29: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_bug13766.c:29:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_bug13766.c:29: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_bug13766.c:29:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_bug13766.c:29: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_bug13766.c:29:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_bug13766.c:29: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_bug13766.c:29:0: /var/uhubuild/work/compile/test/my_bug13766.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ In file included from /var/uhubuild/work/compile/test/my_desc.c:28:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_desc.c:28:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_desc.c:28: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_desc.c:28:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_desc.c:28: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_desc.c:28:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_desc.c:28: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_desc.c:28:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_desc.c:28: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_desc.c:28:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_desc.c:28: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_desc.c:28:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_desc.c:28:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_desc.c:28: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_desc.c:28:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_desc.c:28: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_desc.c:28:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_desc.c:28: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_desc.c:28:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_desc.c:28: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_desc.c:28:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_desc.c:28: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_desc.c:28:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_desc.c:28: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_desc.c:28:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_desc.c:28: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_desc.c:28:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_desc.c:28: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ /var/uhubuild/work/compile/test/my_desc.c: In function 't_explicit_error': /var/uhubuild/work/compile/test/my_desc.c:345:3: warning: pointer targets in passing argument 2 of 'using_unixodbc_version' differ in signedness [-Wpointer-sign] if (using_unixodbc_version(henv, "2.2.11")) ^ In file included from /var/uhubuild/work/compile/test/my_desc.c:28:0: /var/uhubuild/work/compile/test/odbctap.h:1473:5: note: expected 'SQLCHAR *' but argument is of type 'char *' int using_unixodbc_version(SQLHANDLE henv, SQLCHAR *ver) ^ /var/uhubuild/work/compile/test/my_desc.c: In function 't_set_null_use_implicit': /var/uhubuild/work/compile/test/my_desc.c:477:3: warning: pointer targets in passing argument 2 of 'using_unixodbc_version' differ in signedness [-Wpointer-sign] if(using_unixodbc_version(henv, "2.2.11")) ^ In file included from /var/uhubuild/work/compile/test/my_desc.c:28:0: /var/uhubuild/work/compile/test/odbctap.h:1473:5: note: expected 'SQLCHAR *' but argument is of type 'char *' int using_unixodbc_version(SQLHANDLE henv, SQLCHAR *ver) ^ /var/uhubuild/work/compile/test/my_desc.c: In function 't_free_stmt_with_exp_desc': /var/uhubuild/work/compile/test/my_desc.c:526:29: warning: unused variable 'exp_result' [-Wunused-variable] SQLINTEGER imp_result= 0, exp_result= 0; ^ /var/uhubuild/work/compile/test/my_desc.c:526:14: warning: unused variable 'imp_result' [-Wunused-variable] SQLINTEGER imp_result= 0, exp_result= 0; ^ /var/uhubuild/work/compile/test/my_desc.c: In function 't_desc_curcatalog': /var/uhubuild/work/compile/test/my_desc.c:600:3: warning: pointer targets in passing argument 4 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, USE_DRIVER, ^ In file included from /var/uhubuild/work/compile/test/my_desc.c:28:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_desc.c:600:3: warning: pointer targets in passing argument 7 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, USE_DRIVER, ^ In file included from /var/uhubuild/work/compile/test/my_desc.c:28:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ In file included from /var/uhubuild/work/compile/test/my_desc.c:28:0: /var/uhubuild/work/compile/test/my_desc.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ In file included from /var/uhubuild/work/compile/test/my_info.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_info.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_info.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_info.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_info.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_info.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_info.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_info.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_info.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_info.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_info.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_info.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_info.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_info.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_info.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ /var/uhubuild/work/compile/test/my_info.c: In function 't_bug14639': /var/uhubuild/work/compile/test/my_info.c:167:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] sprintf(buf, "KILL %d", connection_id); ^ /var/uhubuild/work/compile/test/my_info.c: In function 't_bug3780': /var/uhubuild/work/compile/test/my_info.c:217:3: warning: pointer targets in passing argument 4 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, USE_DRIVER, ^ In file included from /var/uhubuild/work/compile/test/my_info.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_info.c:217:3: warning: pointer targets in passing argument 7 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, USE_DRIVER, ^ In file included from /var/uhubuild/work/compile/test/my_info.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_info.c: In function 't_bug30626': /var/uhubuild/work/compile/test/my_info.c:307:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ok_con(hdbc1, SQLDriverConnect(hdbc1, NULL, conn, (SQLSMALLINT)strlen(conn), NULL, 0, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern size_t strlen (const char *__s) ^ /var/uhubuild/work/compile/test/my_info.c: In function 't_bug46910': /var/uhubuild/work/compile/test/my_info.c:366:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] SQLCHAR * initStmt[]= {"DROP PROCEDURE IF EXISTS `spbug46910_1`", ^ /var/uhubuild/work/compile/test/my_info.c:366:2: warning: (near initialization for 'initStmt[0]') [-Wpointer-sign] /var/uhubuild/work/compile/test/my_info.c:367:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "CREATE PROCEDURE `spbug46910_1`()\ ^ /var/uhubuild/work/compile/test/my_info.c:367:3: warning: (near initialization for 'initStmt[1]') [-Wpointer-sign] /var/uhubuild/work/compile/test/my_info.c:372:25: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] SQLCHAR * cleanupStmt= "DROP PROCEDURE IF EXISTS `spbug46910_1`;"; ^ /var/uhubuild/work/compile/test/my_info.c:377:2: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] SQLExecDirect(hstmt, "CALL spbug46910_1()", SQL_NTS); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_info.c: In function 't_bug11749093': /var/uhubuild/work/compile/test/my_info.c:408:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_info.c:420:3: warning: pointer targets in passing argument 3 of 'SQLDescribeCol' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLDescribeCol(hstmt, 1, colName, sizeof(colName), &colNameLen, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/sql.h:644:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLDescribeCol(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_info.c: In function 't_getkeywordinfo': /var/uhubuild/work/compile/test/my_info.c:448:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] is(strstr(keywords, "GET")); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/string.h:342:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *strstr (const char *__haystack, const char *__needle) ^ /var/uhubuild/work/compile/test/my_info.c:449:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] is(strstr(keywords, "IO_AFTER_GTIDS")); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/string.h:342:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *strstr (const char *__haystack, const char *__needle) ^ /var/uhubuild/work/compile/test/my_info.c:450:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] is(strstr(keywords, "IO_BEFORE_GTIDS")); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/string.h:342:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *strstr (const char *__haystack, const char *__needle) ^ /var/uhubuild/work/compile/test/my_info.c:451:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] is(strstr(keywords, "MASTER_BIND")); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/string.h:342:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *strstr (const char *__haystack, const char *__needle) ^ /var/uhubuild/work/compile/test/my_info.c:452:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] is(strstr(keywords, "ONE_SHOT")); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/string.h:342:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *strstr (const char *__haystack, const char *__needle) ^ /var/uhubuild/work/compile/test/my_info.c:453:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] is(strstr(keywords, "PARTITION")); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/string.h:342:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *strstr (const char *__haystack, const char *__needle) ^ /var/uhubuild/work/compile/test/my_info.c:454:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] is(strstr(keywords, "SQL_AFTER_GTIDS")); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/string.h:342:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *strstr (const char *__haystack, const char *__needle) ^ /var/uhubuild/work/compile/test/my_info.c:455:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] is(strstr(keywords, "SQL_BEFORE_GTIDS")); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/string.h:342:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *strstr (const char *__haystack, const char *__needle) ^ /var/uhubuild/work/compile/test/my_info.c:459:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] is(strstr(keywords, "GENERAL")); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/string.h:342:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *strstr (const char *__haystack, const char *__needle) ^ /var/uhubuild/work/compile/test/my_info.c:460:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] is(strstr(keywords, "IGNORE_SERVER_IDS")); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/string.h:342:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *strstr (const char *__haystack, const char *__needle) ^ /var/uhubuild/work/compile/test/my_info.c:461:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] is(strstr(keywords, "MASTER_HEARTBEAT_PERIOD")); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/string.h:342:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *strstr (const char *__haystack, const char *__needle) ^ /var/uhubuild/work/compile/test/my_info.c:462:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] is(strstr(keywords, "MAXVALUE")); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/string.h:342:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *strstr (const char *__haystack, const char *__needle) ^ /var/uhubuild/work/compile/test/my_info.c:463:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] is(strstr(keywords, "RESIGNAL")); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/string.h:342:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *strstr (const char *__haystack, const char *__needle) ^ /var/uhubuild/work/compile/test/my_info.c:464:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] is(strstr(keywords, "SIGNAL")); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/string.h:342:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *strstr (const char *__haystack, const char *__needle) ^ /var/uhubuild/work/compile/test/my_info.c:465:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] is(strstr(keywords, "SLOW")); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_info.c:25: /usr/include/string.h:342:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *strstr (const char *__haystack, const char *__needle) ^ In file included from /var/uhubuild/work/compile/test/my_info.c:25:0: /var/uhubuild/work/compile/test/my_info.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ Linking CXX executable my_bug13766 Linking CXX executable my_info Linking CXX executable my_desc In file included from /var/uhubuild/work/compile/test/my_bulk.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_bulk.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_bulk.c:25: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_bulk.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_bulk.c:25: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_bulk.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_bulk.c:25: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_bulk.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_bulk.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_bulk.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_bulk.c:25: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_bulk.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_bulk.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_bulk.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_bulk.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_bulk.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_bulk.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_bulk.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_bulk.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_bulk.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_bulk.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_bulk.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_bulk.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_bulk.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_bulk.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_bulk.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_bulk.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_bulk.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ /var/uhubuild/work/compile/test/my_bulk.c: In function 't_bulk_insert': /var/uhubuild/work/compile/test/my_bulk.c:68:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] sprintf((char *)name[i], "Varchar%d", i); ^ /var/uhubuild/work/compile/test/my_bulk.c:69:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] sprintf((char *)txt[i], "Text%d", i); ^ /var/uhubuild/work/compile/test/my_bulk.c:70:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] sprintf((char *)ltxt[i], "LongText, id row:%d", i); ^ /var/uhubuild/work/compile/test/my_bulk.c: In function 't_bulk_insert_bookmark': /var/uhubuild/work/compile/test/my_bulk.c:342:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] sprintf((char *)name[i], "Varchar%d", i + 5); ^ /var/uhubuild/work/compile/test/my_bulk.c:355:5: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] is_num(atol(bData[i]), i + 1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:51:0, from /var/uhubuild/work/compile/test/my_bulk.c:25: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/test/my_bulk.c:365:5: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] is_num(atol(bData[i]), i + 1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:51:0, from /var/uhubuild/work/compile/test/my_bulk.c:25: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/test/my_bulk.c:369:7: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] length= sprintf((char *)buff, "test%d", i + 1); ^ /var/uhubuild/work/compile/test/my_bulk.c:374:7: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] length= sprintf((char *)buff, "Varchar%d", i + 1); ^ /var/uhubuild/work/compile/test/my_bulk.c: In function 't_bookmark_update': /var/uhubuild/work/compile/test/my_bulk.c:443:5: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData[i], "xxxxxxxx"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_bulk.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ /var/uhubuild/work/compile/test/my_bulk.c:392:14: warning: unused variable 'len' [-Wunused-variable] SQLLEN len= 0; ^ /var/uhubuild/work/compile/test/my_bulk.c: In function 't_bookmark_delete': /var/uhubuild/work/compile/test/my_bulk.c:478:14: warning: unused variable 'len' [-Wunused-variable] SQLLEN len= 0; ^ In file included from /var/uhubuild/work/compile/test/my_bulk.c:25:0: /var/uhubuild/work/compile/test/my_bulk.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ In file included from /var/uhubuild/work/compile/test/my_crash.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_crash.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_crash.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_crash.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_crash.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_crash.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_crash.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_crash.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_crash.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_crash.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_crash.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_crash.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_crash.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_crash.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_crash.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ /var/uhubuild/work/compile/test/my_crash.c: In function 't_bug69950': /var/uhubuild/work/compile/test/my_crash.c:38:3: warning: pointer targets in passing argument 6 of 'SQLTables' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLTables(hstmt, mydb, SQL_NTS, NULL, 0, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_crash.c:38:3: warning: pointer targets in passing argument 8 of 'SQLTables' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLTables(hstmt, mydb, SQL_NTS, NULL, 0, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_crash.c: In function 't_bug17587913': /var/uhubuild/work/compile/test/my_crash.c:136:27: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] SQLCHAR *DatabaseName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"\ ^ /var/uhubuild/work/compile/test/my_crash.c:155:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ok_con(hdbc1, SQLSetConnectAttr(hdbc1, SQL_ATTR_CURRENT_CATALOG, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern size_t strlen (const char *__s) ^ /var/uhubuild/work/compile/test/my_crash.c: In function 't_bug17854697': /var/uhubuild/work/compile/test/my_crash.c:235:23: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] SQLCHAR *any_name = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"\ ^ /var/uhubuild/work/compile/test/my_crash.c:247:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] int len= strlen(any_name); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern size_t strlen (const char *__s) ^ /var/uhubuild/work/compile/test/my_crash.c:247:7: warning: unused variable 'len' [-Wunused-variable] int len= strlen(any_name); ^ /var/uhubuild/work/compile/test/my_crash.c:245:11: warning: unused variable 'buf' [-Wunused-variable] SQLCHAR buf[1024]= {0}; ^ /var/uhubuild/work/compile/test/my_crash.c: In function 't_bug17999659': /var/uhubuild/work/compile/test/my_crash.c:309:3: warning: pointer targets in passing argument 6 of 'get_connection' differ in signedness [-Wpointer-sign] expect_dbc(hdbc1, get_connection(&hdbc1, NULL, NULL, NULL, NULL, ^ In file included from /var/uhubuild/work/compile/test/my_crash.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1176:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int get_connection(SQLHDBC *hdbc, const SQLCHAR *dsn, const SQLCHAR *uid, ^ /var/uhubuild/work/compile/test/my_crash.c: In function 't_bug17966018': /var/uhubuild/work/compile/test/my_crash.c:331:48: warning: pointer targets in passing argument 8 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] NULL, NULL, NULL, opt_buff); ^ In file included from /var/uhubuild/work/compile/test/my_crash.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_crash.c: In function 't_bug17841121': /var/uhubuild/work/compile/test/my_crash.c:346:14: warning: unused variable 'imp_result' [-Wunused-variable] SQLINTEGER imp_result= 0, exp_result= 0; ^ /var/uhubuild/work/compile/test/my_crash.c: In function 't_bookmark_update_zero_rec': /var/uhubuild/work/compile/test/my_crash.c:403:24: warning: unused variable 'i' [-Wunused-variable] SQLINTEGER nData[4], i; ^ /var/uhubuild/work/compile/test/my_crash.c:400:14: warning: unused variable 'len' [-Wunused-variable] SQLLEN len= 0; ^ /var/uhubuild/work/compile/test/my_crash.c: In function 't_bug17085344': /var/uhubuild/work/compile/test/my_crash.c:456:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] expect_stmt(hstmt, SQLExecDirect(hstmt, "", SQL_NTS), SQL_ERROR); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_crash.c:457:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] expect_stmt(hstmt, SQLExecDirect(hstmt, " ", SQL_NTS), SQL_ERROR); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_crash.c: In function 't_bug18325878': /var/uhubuild/work/compile/test/my_crash.c:491:15: warning: unused variable 'lval' [-Wunused-variable] SQLULEN lval[RCNT] = {0}; ^ /var/uhubuild/work/compile/test/my_crash.c:486:8: warning: unused variable 'TmpBuff' [-Wunused-variable] char TmpBuff[1024] = {0}; ^ /var/uhubuild/work/compile/test/my_crash.c:485:13: warning: unused variable 'rc' [-Wunused-variable] SQLRETURN rc; ^ /var/uhubuild/work/compile/test/my_crash.c: In function 't_bug18286366': /var/uhubuild/work/compile/test/my_crash.c:538:3: warning: pointer targets in passing argument 8 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, NULL, NULL, ^ In file included from /var/uhubuild/work/compile/test/my_crash.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_crash.c:542:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] len= sprintf(buff, "CREATE TABLE t_bug18286366a ( "); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_crash.c:545:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] len+= sprintf(buff + len, "`id%d` INT, UNIQUE(`id%d`),", i, i); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_crash.c:547:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] len= sprintf(buff + len - 1, ")"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_crash.c:550:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] len= sprintf(buff, "CREATE TABLE t_bug18286366b ( "); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_crash.c:556:31: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] i, i, i, i); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_crash.c:558:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] len= sprintf(buff + len - 1, ")"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_crash.c:568:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] len= sprintf(tmp_buff, "id%d", i); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_crash.c:574:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] len= sprintf(tmp_buff, "cons%d", i); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_crash.c: In function 't_bug18286366_2': /var/uhubuild/work/compile/test/my_crash.c:595:3: warning: pointer targets in passing argument 8 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, NULL, NULL, ^ In file included from /var/uhubuild/work/compile/test/my_crash.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_crash.c:599:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] len= sprintf(buff, "CREATE TABLE t_bug182863662a ( "); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_crash.c:602:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] len+= sprintf(buff + len, "`id%d` INT, UNIQUE(`id%d`),", i, i); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_crash.c:604:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] len= sprintf(buff + len - 1, ")"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_crash.c:607:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] len= sprintf(buff, "CREATE TABLE t_bug182863662b ( "); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_crash.c:613:31: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] i, i, i, i); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_crash.c:615:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] len= sprintf(buff + len - 1, ")"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_crash.c:618:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] len= sprintf(buff, "CREATE TABLE t_bug182863662c ( "); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_crash.c:624:31: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] i, i, i, i); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_crash.c:626:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] len= sprintf(buff + len - 1, ")"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_crash.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_crash.c:592:23: warning: unused variable 'tmp_buff' [-Wunused-variable] SQLCHAR buff[8192], tmp_buff[100]; ^ In file included from /var/uhubuild/work/compile/test/my_crash.c:25:0: /var/uhubuild/work/compile/test/my_crash.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ [ 24%] Built target my_curext Linking CXX executable my_bulk Linking CXX executable my_crash [ 25%] Building C object util/CMakeFiles/myodbc-util.dir/installer.c.o In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ /var/uhubuild/work/compile/test/my_error.c: In function 't_bug3456': /var/uhubuild/work/compile/test/my_error.c:255:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] sprintf(buf, "KILL %d", connection_id); ^ /var/uhubuild/work/compile/test/my_error.c: In function 't_bug14285620': /var/uhubuild/work/compile/test/my_error.c:518:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] is_num(cblen, strlen(szData)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern size_t strlen (const char *__s) ^ /var/uhubuild/work/compile/test/my_error.c:524:3: warning: pointer targets in passing argument 2 of 'SQLNativeSql' differ in signedness [-Wpointer-sign] expect_dbc(hdbc, SQLNativeSql(hdbc, "SELECT 10", SQL_NTS, szData, sizeof(szData), NULL), SQL_SUCCESS); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/sqlext.h:1951:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLNativeSql( ^ /var/uhubuild/work/compile/test/my_error.c:525:3: warning: pointer targets in passing argument 2 of 'SQLNativeSql' differ in signedness [-Wpointer-sign] expect_dbc(hdbc, SQLNativeSql(hdbc, "SELECT 10", SQL_NTS, NULL, 0, &cbilen), SQL_SUCCESS); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/sqlext.h:1951:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLNativeSql( ^ /var/uhubuild/work/compile/test/my_error.c:528:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] is_num(cbilen, strlen(szData)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern size_t strlen (const char *__s) ^ /var/uhubuild/work/compile/test/my_error.c:530:3: warning: pointer targets in passing argument 2 of 'SQLNativeSql' differ in signedness [-Wpointer-sign] expect_dbc(hdbc, SQLNativeSql(hdbc, "SELECT 10", SQL_NTS, szData, 0, NULL), SQL_SUCCESS_WITH_INFO); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/sqlext.h:1951:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLNativeSql( ^ /var/uhubuild/work/compile/test/my_error.c:537:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] is_num(cblen, strlen(szData)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern size_t strlen (const char *__s) ^ /var/uhubuild/work/compile/test/my_error.c:541:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] expect_stmt(hstmt, SQLExecDirect(hstmt, "ERROR SQL QUERY", SQL_NTS), SQL_ERROR); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_error.c:548:17: warning: unused variable 'text_len' [-Wunused-variable] SQLSMALLINT text_len= 0; ^ /var/uhubuild/work/compile/test/my_error.c:557:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] SQLExecDirect(hstmt, "drop table bug14285620", SQL_NTS); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_error.c:559:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "CREATE TABLE bug14285620 (id INT)", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_error.c:560:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "INSERT INTO bug14285620 (id) VALUES (1)", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_error.c:561:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "SELECT * FROM bug14285620", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_error.c: In function 't_bug49466': /var/uhubuild/work/compile/test/my_error.c:589:3: warning: pointer targets in passing argument 8 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, NULL, ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_error.c:593:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt1, SQLExecDirect(hstmt1, "SELECT 100; CALL t_bug49466proc()", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_error.c: In function 't_passwordexpire': /var/uhubuild/work/compile/test/my_error.c:630:3: warning: pointer targets in passing argument 3 of 'get_connection' differ in signedness [-Wpointer-sign] expect_dbc(hdbc1, get_connection(&hdbc1, NULL, "t_pwd_expire", "foo", ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1176:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int get_connection(SQLHDBC *hdbc, const SQLCHAR *dsn, const SQLCHAR *uid, ^ /var/uhubuild/work/compile/test/my_error.c:630:3: warning: pointer targets in passing argument 4 of 'get_connection' differ in signedness [-Wpointer-sign] expect_dbc(hdbc1, get_connection(&hdbc1, NULL, "t_pwd_expire", "foo", ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1176:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int get_connection(SQLHDBC *hdbc, const SQLCHAR *dsn, const SQLCHAR *uid, ^ /var/uhubuild/work/compile/test/my_error.c:643:5: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(sql_state, "08004", 5) != 0 || !(err_code == 1820 || err_code == 1862)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ /var/uhubuild/work/compile/test/my_error.c:651:3: warning: pointer targets in passing argument 3 of 'get_connection' differ in signedness [-Wpointer-sign] ok_con(hdbc1, get_connection(&hdbc1, NULL, "t_pwd_expire", "foo", ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1176:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int get_connection(SQLHDBC *hdbc, const SQLCHAR *dsn, const SQLCHAR *uid, ^ /var/uhubuild/work/compile/test/my_error.c:651:3: warning: pointer targets in passing argument 4 of 'get_connection' differ in signedness [-Wpointer-sign] ok_con(hdbc1, get_connection(&hdbc1, NULL, "t_pwd_expire", "foo", ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1176:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int get_connection(SQLHDBC *hdbc, const SQLCHAR *dsn, const SQLCHAR *uid, ^ /var/uhubuild/work/compile/test/my_error.c:651:3: warning: pointer targets in passing argument 6 of 'get_connection' differ in signedness [-Wpointer-sign] ok_con(hdbc1, get_connection(&hdbc1, NULL, "t_pwd_expire", "foo", ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1176:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int get_connection(SQLHDBC *hdbc, const SQLCHAR *dsn, const SQLCHAR *uid, ^ /var/uhubuild/work/compile/test/my_error.c:667:3: warning: pointer targets in passing argument 3 of 'get_connection' differ in signedness [-Wpointer-sign] ok_con(hdbc1, get_connection(&hdbc1, mydsn, "t_pwd_expire", "bar", NULL, ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1176:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int get_connection(SQLHDBC *hdbc, const SQLCHAR *dsn, const SQLCHAR *uid, ^ /var/uhubuild/work/compile/test/my_error.c:667:3: warning: pointer targets in passing argument 4 of 'get_connection' differ in signedness [-Wpointer-sign] ok_con(hdbc1, get_connection(&hdbc1, mydsn, "t_pwd_expire", "bar", NULL, ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1176:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int get_connection(SQLHDBC *hdbc, const SQLCHAR *dsn, const SQLCHAR *uid, ^ /var/uhubuild/work/compile/test/my_error.c: In function 't_cleartext_password': /var/uhubuild/work/compile/test/my_error.c:703:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] if (!SQL_SUCCEEDED(SQLExecDirect(hstmt, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_error.c:717:3: warning: pointer targets in passing argument 3 of 'get_connection' differ in signedness [-Wpointer-sign] if(!SQL_SUCCEEDED(get_connection(&hdbc1, mydsn, "t_ct_user", "t_ct_pass", ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1176:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int get_connection(SQLHDBC *hdbc, const SQLCHAR *dsn, const SQLCHAR *uid, ^ /var/uhubuild/work/compile/test/my_error.c:717:3: warning: pointer targets in passing argument 4 of 'get_connection' differ in signedness [-Wpointer-sign] if(!SQL_SUCCEEDED(get_connection(&hdbc1, mydsn, "t_ct_user", "t_ct_pass", ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1176:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int get_connection(SQLHDBC *hdbc, const SQLCHAR *dsn, const SQLCHAR *uid, ^ /var/uhubuild/work/compile/test/my_error.c:724:5: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if ((strncmp(sql_state, "08004", 5) != 0 || err_code != 2059)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ /var/uhubuild/work/compile/test/my_error.c:734:3: warning: pointer targets in passing argument 3 of 'get_connection' differ in signedness [-Wpointer-sign] if(!SQL_SUCCEEDED(get_connection(&hdbc1, mydsn, "t_ct_user", "t_ct_pass", ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1176:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int get_connection(SQLHDBC *hdbc, const SQLCHAR *dsn, const SQLCHAR *uid, ^ /var/uhubuild/work/compile/test/my_error.c:734:3: warning: pointer targets in passing argument 4 of 'get_connection' differ in signedness [-Wpointer-sign] if(!SQL_SUCCEEDED(get_connection(&hdbc1, mydsn, "t_ct_user", "t_ct_pass", ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1176:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int get_connection(SQLHDBC *hdbc, const SQLCHAR *dsn, const SQLCHAR *uid, ^ /var/uhubuild/work/compile/test/my_error.c:734:3: warning: pointer targets in passing argument 6 of 'get_connection' differ in signedness [-Wpointer-sign] if(!SQL_SUCCEEDED(get_connection(&hdbc1, mydsn, "t_ct_user", "t_ct_pass", ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1176:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int get_connection(SQLHDBC *hdbc, const SQLCHAR *dsn, const SQLCHAR *uid, ^ /var/uhubuild/work/compile/test/my_error.c:741:5: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if ((strncmp(sql_state, "08004", 5) == 0 && err_code == 2059)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_error.c:25: /usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ /var/uhubuild/work/compile/test/my_error.c:694:38: warning: unused variable 'build1' [-Wunused-variable] unsigned int major1= 0, minor1= 0, build1= 0; ^ /var/uhubuild/work/compile/test/my_error.c:694:27: warning: unused variable 'minor1' [-Wunused-variable] unsigned int major1= 0, minor1= 0, build1= 0; ^ /var/uhubuild/work/compile/test/my_error.c:694:16: warning: unused variable 'major1' [-Wunused-variable] unsigned int major1= 0, minor1= 0, build1= 0; ^ In file included from /var/uhubuild/work/compile/test/my_error.c:25:0: /var/uhubuild/work/compile/test/my_error.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ Linking CXX executable my_error In file included from /var/uhubuild/work/compile/test/my_blob.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_blob.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_blob.c:25: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_blob.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_blob.c:25: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_blob.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_blob.c:25: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_blob.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_blob.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_blob.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_blob.c:25: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_blob.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_blob.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_blob.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_blob.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_blob.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_blob.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_blob.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_blob.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_blob.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_blob.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_blob.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_blob.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_blob.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_blob.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_blob.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_blob.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_blob.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_blob.c:25:0: /var/uhubuild/work/compile/test/my_blob.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ In file included from /var/uhubuild/work/compile/test/my_basics.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_basics.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_basics.c:25: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_basics.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_basics.c:25: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_basics.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_basics.c:25: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_basics.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_basics.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_basics.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_basics.c:25: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_basics.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_basics.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_basics.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_basics.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_basics.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_basics.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_basics.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_basics.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_basics.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_basics.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_basics.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_basics.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_basics.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_basics.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_basics.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_basics.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_basics.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ /var/uhubuild/work/compile/test/my_basics.c: In function 'charset_utf8': /var/uhubuild/work/compile/test/my_basics.c:284:3: warning: pointer targets in passing argument 8 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, NULL, ^ In file included from /var/uhubuild/work/compile/test/my_basics.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_basics.c: In function 'charset_gbk': /var/uhubuild/work/compile/test/my_basics.c:370:3: warning: pointer targets in passing argument 8 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, NULL, NULL, ^ In file included from /var/uhubuild/work/compile/test/my_basics.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_basics.c: In function 't_bug7445': /var/uhubuild/work/compile/test/my_basics.c:400:3: warning: pointer targets in passing argument 8 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, NULL, ^ In file included from /var/uhubuild/work/compile/test/my_basics.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_basics.c: In function 't_bug30840': /var/uhubuild/work/compile/test/my_basics.c:476:3: warning: pointer targets in passing argument 8 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, NULL, NULL, ^ In file included from /var/uhubuild/work/compile/test/my_basics.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_basics.c: In function 'setnames_conn': /var/uhubuild/work/compile/test/my_basics.c:605:3: warning: pointer targets in passing argument 6 of 'get_connection' differ in signedness [-Wpointer-sign] expect_dbc(hdbc1, get_connection(&hdbc1, NULL, NULL, NULL, ^ In file included from /var/uhubuild/work/compile/test/my_basics.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1176:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int get_connection(SQLHDBC *hdbc, const SQLCHAR *dsn, const SQLCHAR *uid, ^ /var/uhubuild/work/compile/test/my_basics.c: In function 'sqlcancel': /var/uhubuild/work/compile/test/my_basics.c:688:13: warning: unused variable 'thread' [-Wunused-variable] pthread_t thread; ^ /var/uhubuild/work/compile/test/my_basics.c: In function 't_bug48603': /var/uhubuild/work/compile/test/my_basics.c:958:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] sprintf((char *)query, "set GLOBAL interactive_timeout=%d", timeout + diff); ^ /var/uhubuild/work/compile/test/my_basics.c:978:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] "INTERACTIVE=1", timeout+diff); ^ /var/uhubuild/work/compile/test/my_basics.c:994:7: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] sprintf((char *)query, "set GLOBAL interactive_timeout=%d", timeout); ^ /var/uhubuild/work/compile/test/my_basics.c: In function 't_bug63844': /var/uhubuild/work/compile/test/my_basics.c:1038:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ok_con(hdbc1, SQLSetConnectAttr(hdbc1, SQL_ATTR_CURRENT_CATALOG, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_basics.c:25: /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern size_t strlen (const char *__s) ^ In file included from /var/uhubuild/work/compile/test/my_basics.c:25:0: /var/uhubuild/work/compile/test/my_basics.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ Scanning dependencies of target my_param In file included from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ /var/uhubuild/work/compile/test/my_dyn_cursor.c: In function 'my_dynamic_pos_cursor1': /var/uhubuild/work/compile/test/my_dyn_cursor.c:158:5: warning: missing braces around initializer [-Wmissing-braces] char data[30],szData[15][10]={0}; ^ /var/uhubuild/work/compile/test/my_dyn_cursor.c:158:5: warning: (near initialization for 'szData[0]') [-Wmissing-braces] /var/uhubuild/work/compile/test/my_dyn_cursor.c: In function 'my_position1': /var/uhubuild/work/compile/test/my_dyn_cursor.c:395:3: warning: missing braces around initializer [-Wmissing-braces] SQLCHAR szData[15][15]= {0}; ^ /var/uhubuild/work/compile/test/my_dyn_cursor.c:395:3: warning: (near initialization for 'szData[0]') [-Wmissing-braces] /var/uhubuild/work/compile/test/my_dyn_cursor.c: In function 'my_zero_irow_update': /var/uhubuild/work/compile/test/my_dyn_cursor.c:471:5: warning: missing braces around initializer [-Wmissing-braces] char szData[15][15]={0}; ^ /var/uhubuild/work/compile/test/my_dyn_cursor.c:471:5: warning: (near initialization for 'szData[0]') [-Wmissing-braces] /var/uhubuild/work/compile/test/my_dyn_cursor.c: In function 'my_zero_irow_delete': /var/uhubuild/work/compile/test/my_dyn_cursor.c:555:5: warning: missing braces around initializer [-Wmissing-braces] char szData[15][15]={0}; ^ /var/uhubuild/work/compile/test/my_dyn_cursor.c:555:5: warning: (near initialization for 'szData[0]') [-Wmissing-braces] In file included from /var/uhubuild/work/compile/test/my_dyn_cursor.c:25:0: /var/uhubuild/work/compile/test/my_dyn_cursor.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ Linking CXX executable my_basics Linking CXX executable my_blob [ 26%] Linking CXX executable my_dyn_cursor Building C object test/CMakeFiles/my_param.dir/my_param.c.o [ 26%] Built target my_bug13766 [ 28%] [ 28%] [ 28%] Built target my_desc Built target my_bulk Building C object util/CMakeFiles/myodbc-util.dir/odbcinstw.c.o [ 28%] Built target my_info [ 28%] Built target my_crash Scanning dependencies of target my_prepare Scanning dependencies of target my_pooling Scanning dependencies of target my_relative Scanning dependencies of target my_result1 [ 29%] In file included from /var/uhubuild/work/compile/test/my_keys.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_keys.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_keys.c:25: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_keys.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_keys.c:25: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_keys.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_keys.c:25: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_keys.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_keys.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_keys.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_keys.c:25: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_keys.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_keys.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_keys.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_keys.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_keys.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_keys.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_keys.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_keys.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_keys.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_keys.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_keys.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_keys.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_keys.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_keys.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_keys.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_keys.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_keys.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ /var/uhubuild/work/compile/test/my_keys.c: In function 't_bug16920750': /var/uhubuild/work/compile/test/my_keys.c:439:14: warning: unused variable 'len' [-Wunused-variable] SQLLEN len; ^ /var/uhubuild/work/compile/test/my_keys.c: In function 'main': /var/uhubuild/work/compile/test/my_keys.c:500:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] testname_suffix= "_no_i_s"; ^ In file included from /var/uhubuild/work/compile/test/my_keys.c:25:0: /var/uhubuild/work/compile/test/my_keys.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ [ 32%] [ 32%] Building C object test/CMakeFiles/my_prepare.dir/my_prepare.c.o In file included from /var/uhubuild/work/compile/test/my_catalog2.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_catalog2.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_catalog2.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_catalog2.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_catalog2.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_catalog2.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_catalog2.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_catalog2.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_catalog2.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_catalog2.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_catalog2.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_catalog2.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_catalog2.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_catalog2.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_catalog2.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ /var/uhubuild/work/compile/test/my_catalog2.c: In function 't_bug34272': /var/uhubuild/work/compile/test/my_catalog2.c:85:3: warning: pointer targets in passing argument 6 of 'SQLGetData' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLGetData(hstmt, 6, SQL_C_CHAR, dummy, col6+1, &length)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sql.h:699:15: note: expected 'SQLINTEGER *' but argument is of type 'SQLUINTEGER *' SQLRETURN SQL_API SQLGetData(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog2.c:89:3: warning: pointer targets in passing argument 6 of 'SQLGetData' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLGetData(hstmt, 18, SQL_C_CHAR, dummy, col18+1, &length)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sql.h:699:15: note: expected 'SQLINTEGER *' but argument is of type 'SQLUINTEGER *' SQLRETURN SQL_API SQLGetData(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog2.c: In function 't_bug36441': /var/uhubuild/work/compile/test/my_catalog2.c:191:3: warning: pointer targets in passing argument 6 of 'SQLPrimaryKeys' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLPrimaryKeys(hstmt, NULL, SQL_NTS, NULL, SQL_NTS, "t_bug36441_0123456789", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sqlext.h:1968:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLPrimaryKeys( ^ /var/uhubuild/work/compile/test/my_catalog2.c: In function 't_bug50195': /var/uhubuild/work/compile/test/my_catalog2.c:285:3: warning: pointer targets in passing argument 5 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, NULL, ^ In file included from /var/uhubuild/work/compile/test/my_catalog2.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_catalog2.c:285:3: warning: pointer targets in passing argument 6 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, NULL, ^ In file included from /var/uhubuild/work/compile/test/my_catalog2.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_catalog2.c:288:3: warning: pointer targets in passing argument 2 of 'SQLTablePrivileges' differ in signedness [-Wpointer-sign] ok_stmt(hstmt1, SQLTablePrivileges(hstmt1, "mysql", SQL_NTS, 0, 0, "tables_priv", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sqlext.h:2003:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTablePrivileges( ^ /var/uhubuild/work/compile/test/my_catalog2.c:288:3: warning: pointer targets in passing argument 6 of 'SQLTablePrivileges' differ in signedness [-Wpointer-sign] ok_stmt(hstmt1, SQLTablePrivileges(hstmt1, "mysql", SQL_NTS, 0, 0, "tables_priv", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sqlext.h:2003:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTablePrivileges( ^ /var/uhubuild/work/compile/test/my_catalog2.c: In function 't_sqlprocedurecolumns': /var/uhubuild/work/compile/test/my_catalog2.c:404:6: warning: this decimal constant is unsigned only in ISO C90 [enabled by default] 4294967295L, 2147483647L, 0, 0, SQL_NULLABLE, "", 0, SQL_LONGVARBINARY, 0, 2147483647L, 2, "YES"}, ^ /var/uhubuild/work/compile/test/my_catalog2.c:449:6: warning: this decimal constant is unsigned only in ISO C90 [enabled by default] 4294967295L, 2147483647L, 0, 0, SQL_NULLABLE, "", 0, SQL_LONGVARCHAR, 0, 2147483647L, 11, "YES"}, ^ /var/uhubuild/work/compile/test/my_catalog2.c:555:3: warning: pointer targets in passing argument 6 of 'SQLProcedureColumns' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLProcedureColumns(hstmt, NULL, 0, NULL, 0, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sqlext.h:1977:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLProcedureColumns( ^ /var/uhubuild/work/compile/test/my_catalog2.c:555:3: warning: pointer targets in passing argument 8 of 'SQLProcedureColumns' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLProcedureColumns(hstmt, NULL, 0, NULL, 0, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sqlext.h:1977:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLProcedureColumns( ^ /var/uhubuild/work/compile/test/my_catalog2.c:338:7: warning: unused variable 'total_params' [-Wunused-variable] int total_params= 0, iter= 0; ^ /var/uhubuild/work/compile/test/my_catalog2.c:313:11: warning: unused variable 'szName' [-Wunused-variable] SQLCHAR szName[255]= {0}; ^ /var/uhubuild/work/compile/test/my_catalog2.c:312:13: warning: unused variable 'rc' [-Wunused-variable] SQLRETURN rc= 0; ^ /var/uhubuild/work/compile/test/my_catalog2.c: In function 't_bug57182': /var/uhubuild/work/compile/test/my_catalog2.c:636:3: warning: pointer targets in passing argument 2 of 'SQLProcedureColumns' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLProcedureColumns(hstmt, "test", SQL_NTS, NULL, 0, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sqlext.h:1977:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLProcedureColumns( ^ /var/uhubuild/work/compile/test/my_catalog2.c:636:3: warning: pointer targets in passing argument 6 of 'SQLProcedureColumns' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLProcedureColumns(hstmt, "test", SQL_NTS, NULL, 0, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sqlext.h:1977:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLProcedureColumns( ^ /var/uhubuild/work/compile/test/my_catalog2.c:661:3: warning: pointer targets in passing argument 2 of 'SQLProcedureColumns' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLProcedureColumns(hstmt, "test", SQL_NTS, NULL, 0, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sqlext.h:1977:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLProcedureColumns( ^ /var/uhubuild/work/compile/test/my_catalog2.c:661:3: warning: pointer targets in passing argument 6 of 'SQLProcedureColumns' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLProcedureColumns(hstmt, "test", SQL_NTS, NULL, 0, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sqlext.h:1977:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLProcedureColumns( ^ /var/uhubuild/work/compile/test/my_catalog2.c:661:3: warning: pointer targets in passing argument 8 of 'SQLProcedureColumns' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLProcedureColumns(hstmt, "test", SQL_NTS, NULL, 0, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sqlext.h:1977:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLProcedureColumns( ^ /var/uhubuild/work/compile/test/my_catalog2.c:679:3: warning: pointer targets in passing argument 2 of 'SQLProcedureColumns' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLProcedureColumns(hstmt, "test", SQL_NTS, NULL, 0, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sqlext.h:1977:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLProcedureColumns( ^ /var/uhubuild/work/compile/test/my_catalog2.c:679:3: warning: pointer targets in passing argument 6 of 'SQLProcedureColumns' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLProcedureColumns(hstmt, "test", SQL_NTS, NULL, 0, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sqlext.h:1977:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLProcedureColumns( ^ /var/uhubuild/work/compile/test/my_catalog2.c:679:3: warning: pointer targets in passing argument 8 of 'SQLProcedureColumns' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLProcedureColumns(hstmt, "test", SQL_NTS, NULL, 0, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sqlext.h:1977:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLProcedureColumns( ^ /var/uhubuild/work/compile/test/my_catalog2.c: In function 't_bug55870': /var/uhubuild/work/compile/test/my_catalog2.c:715:3: warning: pointer targets in passing argument 7 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, NULL, NULL, ^ In file included from /var/uhubuild/work/compile/test/my_catalog2.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_catalog2.c:715:3: warning: pointer targets in passing argument 8 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, NULL, NULL, ^ In file included from /var/uhubuild/work/compile/test/my_catalog2.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_catalog2.c:719:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(query, "grant Insert, Select on bug55870 to %s", myuid); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_catalog2.c:721:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(query, "grant Insert (c), Select (c), Update (c) on bug55870 to %s", myuid); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_catalog2.c:724:3: warning: pointer targets in passing argument 6 of 'SQLStatistics' differ in signedness [-Wpointer-sign] ok_stmt(hstmt1, SQLStatistics(hstmt1, NULL, 0, NULL, 0, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sql.h:817:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLStatistics(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog2.c:732:3: warning: pointer targets in passing argument 2 of 'SQLTablePrivileges' differ in signedness [-Wpointer-sign] ok_stmt(hstmt1, SQLTablePrivileges(hstmt1, "test", SQL_NTS, 0, 0, "bug55870", ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sqlext.h:2003:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTablePrivileges( ^ /var/uhubuild/work/compile/test/my_catalog2.c:732:3: warning: pointer targets in passing argument 6 of 'SQLTablePrivileges' differ in signedness [-Wpointer-sign] ok_stmt(hstmt1, SQLTablePrivileges(hstmt1, "test", SQL_NTS, 0, 0, "bug55870", ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sqlext.h:2003:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTablePrivileges( ^ /var/uhubuild/work/compile/test/my_catalog2.c:740:3: warning: pointer targets in passing argument 2 of 'SQLColumnPrivileges' differ in signedness [-Wpointer-sign] ok_stmt(hstmt1, SQLColumnPrivileges(hstmt1, "test", SQL_NTS, 0, 0, "bug55870", ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sqlext.h:1907:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLColumnPrivileges( ^ /var/uhubuild/work/compile/test/my_catalog2.c:740:3: warning: pointer targets in passing argument 6 of 'SQLColumnPrivileges' differ in signedness [-Wpointer-sign] ok_stmt(hstmt1, SQLColumnPrivileges(hstmt1, "test", SQL_NTS, 0, 0, "bug55870", ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sqlext.h:1907:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLColumnPrivileges( ^ /var/uhubuild/work/compile/test/my_catalog2.c:740:3: warning: pointer targets in passing argument 8 of 'SQLColumnPrivileges' differ in signedness [-Wpointer-sign] ok_stmt(hstmt1, SQLColumnPrivileges(hstmt1, "test", SQL_NTS, 0, 0, "bug55870", ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sqlext.h:1907:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLColumnPrivileges( ^ /var/uhubuild/work/compile/test/my_catalog2.c:767:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(query, "revoke select,insert on bug55870 from %s", myuid); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_catalog2.c:770:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(query, "revoke select (c),insert (c),update (c) on bug55870 from %s", myuid); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_catalog2.c: In function 'bug12824839': /var/uhubuild/work/compile/test/my_catalog2.c:830:3: warning: pointer targets in passing argument 2 of 'SQLPrepare' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLPrepare(hstmt, "SELECT * from any_non_existing_table", ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sql.h:757:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLPrepare(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog2.c:836:3: warning: pointer targets in passing argument 2 of 'SQLColumns' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLColumns(hstmt, "test", SQL_NTS, NULL, 0, "b12824839", ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sql.h:621:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLColumns(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog2.c:836:3: warning: pointer targets in passing argument 6 of 'SQLColumns' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLColumns(hstmt, "test", SQL_NTS, NULL, 0, "b12824839", ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sql.h:621:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLColumns(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog2.c:844:3: warning: pointer targets in passing argument 6 of 'SQLPrimaryKeys' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLPrimaryKeys(hstmt, NULL, SQL_NTS, NULL, SQL_NTS, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sqlext.h:1968:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLPrimaryKeys( ^ /var/uhubuild/work/compile/test/my_catalog2.c:853:3: warning: pointer targets in passing argument 2 of 'SQLColumns' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLColumns(hstmt, "test", SQL_NTS, NULL, 0, NULL, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sql.h:621:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLColumns(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog2.c: In function 'sqlcolumns_nodbselected': /var/uhubuild/work/compile/test/my_catalog2.c:875:3: warning: pointer targets in passing argument 4 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, USE_DRIVER, ^ In file included from /var/uhubuild/work/compile/test/my_catalog2.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_catalog2.c:875:3: warning: pointer targets in passing argument 7 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, USE_DRIVER, ^ In file included from /var/uhubuild/work/compile/test/my_catalog2.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_catalog2.c: In function 't_bug14085211_part1': /var/uhubuild/work/compile/test/my_catalog2.c:923:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(buff, "DROP DATABASE IF EXISTS %s", db_64_name); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_catalog2.c:926:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(buff, "CREATE DATABASE %s", db_64_name); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_catalog2.c:929:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(buff, "CREATE TABLE %s.%s(%s varchar(10))", db_64_name, tab_64_name, col_64_name); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_catalog2.c:933:3: warning: pointer targets in passing argument 8 of 'SQLTables' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLTables(hstmt, (SQLCHAR *)db_64_name, SQL_NTS, NULL, SQL_NTS, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog2.c:950:3: warning: pointer targets in passing argument 8 of 'SQLTables' differ in signedness [-Wpointer-sign] expect_stmt(hstmt, SQLTables(hstmt, (SQLCHAR *)tab_1024_name, SQL_NTS, NULL, SQL_NTS, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog2.c:957:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(buff, "DROP DATABASE IF EXISTS %s", db_64_name); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_catalog2.c: In function 't_bug14555713': /var/uhubuild/work/compile/test/my_catalog2.c:1020:3: warning: pointer targets in passing argument 6 of 'SQLProcedureColumns' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLProcedureColumns(hstmt, NULL, 0, NULL, 0, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sqlext.h:1977:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLProcedureColumns( ^ /var/uhubuild/work/compile/test/my_catalog2.c:1020:3: warning: pointer targets in passing argument 8 of 'SQLProcedureColumns' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLProcedureColumns(hstmt, NULL, 0, NULL, 0, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sqlext.h:1977:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLProcedureColumns( ^ /var/uhubuild/work/compile/test/my_catalog2.c: In function 't_bug69448': /var/uhubuild/work/compile/test/my_catalog2.c:1052:3: warning: pointer targets in passing argument 6 of 'SQLPrimaryKeys' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLPrimaryKeys(hstmt, NULL, SQL_NTS, NULL, SQL_NTS, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_catalog2.c:25: /usr/include/sqlext.h:1968:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLPrimaryKeys( ^ /var/uhubuild/work/compile/test/my_catalog2.c: In function 'main': /var/uhubuild/work/compile/test/my_catalog2.c:1093:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] testname_suffix= "_no_i_s"; ^ In file included from /var/uhubuild/work/compile/test/my_catalog2.c:25:0: /var/uhubuild/work/compile/test/my_catalog2.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ [ 32%] Building C object test/CMakeFiles/my_relative.dir/my_relative.c.o [ 33%] Linking CXX executable my_keys Built target my_basics Building C object test/CMakeFiles/my_pooling.dir/my_pooling.c.o Linking CXX executable my_catalog2 Building C object test/CMakeFiles/my_result1.dir/my_result1.c.o [ 33%] [ 33%] Built target my_error Built target my_blob Scanning dependencies of target my_result2 [ 33%] Built target my_dyn_cursor Scanning dependencies of target my_scroll [ 34%] Scanning dependencies of target my_setup [ 36%] /var/uhubuild/work/compile/test/my_datetime.c:1046:3: warning: "/*" within comment [-Wcomment] /* 1) just to be sure that everything is fine with string */ ^ In file included from /var/uhubuild/work/compile/test/my_datetime.c:27:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_datetime.c:27:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_datetime.c:27: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_datetime.c:27:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_datetime.c:27: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_datetime.c:27:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_datetime.c:27: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_datetime.c:27:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_datetime.c:27: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_datetime.c:27:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_datetime.c:27: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_datetime.c:27:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_datetime.c:27:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_datetime.c:27: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_datetime.c:27:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_datetime.c:27: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_datetime.c:27:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_datetime.c:27: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_datetime.c:27:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_datetime.c:27: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_datetime.c:27:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_datetime.c:27: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_datetime.c:27:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_datetime.c:27: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_datetime.c:27:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_datetime.c:27: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_datetime.c:27:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_datetime.c:27: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ /var/uhubuild/work/compile/test/my_datetime.c: In function 'my_ts': /var/uhubuild/work/compile/test/my_datetime.c:105:10: warning: format '%d' expects argument of type 'int', but argument 8 has type 'SQLUINTEGER' [-Wformat=] len); ^ /var/uhubuild/work/compile/test/my_datetime.c:127:10: warning: format '%d' expects argument of type 'int', but argument 8 has type 'SQLUINTEGER' [-Wformat=] len); ^ /var/uhubuild/work/compile/test/my_datetime.c: In function 't_b13975271': /var/uhubuild/work/compile/test/my_datetime.c:1191:5: warning: pointer targets in passing argument 2 of 'SQLPrepare' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLPrepare(hstmt, "INSERT INTO t_b13975271(ts,dt,t) \ ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_datetime.c:27: /usr/include/sql.h:757:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLPrepare(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_datetime.c: In function 't_17613161_bookmark': /var/uhubuild/work/compile/test/my_datetime.c:1290:3: warning: missing braces around initializer [-Wmissing-braces] SQL_TIME_STRUCT tm[2]= {0}; ^ /var/uhubuild/work/compile/test/my_datetime.c:1290:3: warning: (near initialization for 'tm[0]') [-Wmissing-braces] /var/uhubuild/work/compile/test/my_datetime.c:1344:3: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] is_num(atol(bData[0]), 1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:51:0, from /var/uhubuild/work/compile/test/my_datetime.c:27: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/test/my_datetime.c:1349:3: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] is_num(atol(bData[1]), 2); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:51:0, from /var/uhubuild/work/compile/test/my_datetime.c:27: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ In file included from /var/uhubuild/work/compile/test/my_datetime.c:27:0: /var/uhubuild/work/compile/test/my_datetime.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ Scanning dependencies of target my_tran Building C object test/CMakeFiles/my_result2.dir/my_result2.c.o Linking CXX executable my_datetime Building C object test/CMakeFiles/my_scroll.dir/my_scroll.c.o [ 36%] [ 37%] [ 38%] Building C object test/CMakeFiles/my_setup.dir/my_setup.c.o [ 38%] Built target my_catalog2 Building C object test/CMakeFiles/my_tran.dir/my_tran.c.o Built target my_keys In file included from /var/uhubuild/work/compile/test/my_catalog1.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_catalog1.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_catalog1.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_catalog1.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_catalog1.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_catalog1.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_catalog1.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_catalog1.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_catalog1.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_catalog1.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_catalog1.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_catalog1.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_catalog1.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_catalog1.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_catalog1.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ /var/uhubuild/work/compile/test/my_catalog1.c: In function 'my_table_dbs': /var/uhubuild/work/compile/test/my_catalog1.c:106:5: warning: pointer targets in passing argument 4 of 'SQLTables' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLTables(hstmt,(SQLCHAR *)SQL_ALL_CATALOGS,1,"",0,"",0,NULL,0)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c:106:5: warning: pointer targets in passing argument 6 of 'SQLTables' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLTables(hstmt,(SQLCHAR *)SQL_ALL_CATALOGS,1,"",0,"",0,NULL,0)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c:117:20: warning: pointer targets in passing argument 4 of 'SQLTables' differ in signedness [-Wpointer-sign] NULL,0); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c:117:20: warning: pointer targets in passing argument 6 of 'SQLTables' differ in signedness [-Wpointer-sign] NULL,0); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c:141:5: warning: pointer targets in passing argument 4 of 'SQLTables' differ in signedness [-Wpointer-sign] rc = SQLTables(hstmt,(SQLCHAR *)"%",1,"",0,"",0,NULL,0); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c:141:5: warning: pointer targets in passing argument 6 of 'SQLTables' differ in signedness [-Wpointer-sign] rc = SQLTables(hstmt,(SQLCHAR *)"%",1,"",0,"",0,NULL,0); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c:184:5: warning: pointer targets in passing argument 4 of 'SQLTables' differ in signedness [-Wpointer-sign] rc = SQLTables(hstmt, (SQLCHAR *)"%", 1, "", 0, "", 0, "", 0); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c:184:5: warning: pointer targets in passing argument 6 of 'SQLTables' differ in signedness [-Wpointer-sign] rc = SQLTables(hstmt, (SQLCHAR *)"%", 1, "", 0, "", 0, "", 0); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c:184:5: warning: pointer targets in passing argument 8 of 'SQLTables' differ in signedness [-Wpointer-sign] rc = SQLTables(hstmt, (SQLCHAR *)"%", 1, "", 0, "", 0, "", 0); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c:193:20: warning: pointer targets in passing argument 4 of 'SQLTables' differ in signedness [-Wpointer-sign] "", 0, "", 0, "", 0); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c:193:20: warning: pointer targets in passing argument 6 of 'SQLTables' differ in signedness [-Wpointer-sign] "", 0, "", 0, "", 0); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c:193:20: warning: pointer targets in passing argument 8 of 'SQLTables' differ in signedness [-Wpointer-sign] "", 0, "", 0, "", 0); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c:201:20: warning: pointer targets in passing argument 4 of 'SQLTables' differ in signedness [-Wpointer-sign] "", 0, "", 0, "", 0); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c:201:20: warning: pointer targets in passing argument 6 of 'SQLTables' differ in signedness [-Wpointer-sign] "", 0, "", 0, "", 0); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c:201:20: warning: pointer targets in passing argument 8 of 'SQLTables' differ in signedness [-Wpointer-sign] "", 0, "", 0, "", 0); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c:212:20: warning: pointer targets in passing argument 4 of 'SQLTables' differ in signedness [-Wpointer-sign] "", 0, "", 0, NULL, 0); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c:212:20: warning: pointer targets in passing argument 6 of 'SQLTables' differ in signedness [-Wpointer-sign] "", 0, "", 0, NULL, 0); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c: In function 't_sqltables': /var/uhubuild/work/compile/test/my_catalog1.c:858:3: warning: pointer targets in passing argument 2 of 'SQLTables' differ in signedness [-Wpointer-sign] r = SQLTables(hstmt, "", 0, "", 0, "", 0, (SQLCHAR *)"%", SQL_NTS); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c:858:3: warning: pointer targets in passing argument 4 of 'SQLTables' differ in signedness [-Wpointer-sign] r = SQLTables(hstmt, "", 0, "", 0, "", 0, (SQLCHAR *)"%", SQL_NTS); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c:858:3: warning: pointer targets in passing argument 6 of 'SQLTables' differ in signedness [-Wpointer-sign] r = SQLTables(hstmt, "", 0, "", 0, "", 0, (SQLCHAR *)"%", SQL_NTS); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c: In function 'my_information_schema': /var/uhubuild/work/compile/test/my_catalog1.c:888:3: warning: pointer targets in passing argument 7 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, NULL, ^ In file included from /var/uhubuild/work/compile/test/my_catalog1.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_catalog1.c:891:3: warning: pointer targets in passing argument 2 of 'SQLTables' differ in signedness [-Wpointer-sign] ok_stmt(hstmt1, SQLTables(hstmt1, "istest__", SQL_NTS, "", 0, "istab%", ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c:891:3: warning: pointer targets in passing argument 4 of 'SQLTables' differ in signedness [-Wpointer-sign] ok_stmt(hstmt1, SQLTables(hstmt1, "istest__", SQL_NTS, "", 0, "istab%", ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c:891:3: warning: pointer targets in passing argument 6 of 'SQLTables' differ in signedness [-Wpointer-sign] ok_stmt(hstmt1, SQLTables(hstmt1, "istest__", SQL_NTS, "", 0, "istab%", ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c:898:3: warning: pointer targets in passing argument 6 of 'SQLTables' differ in signedness [-Wpointer-sign] ok_stmt(hstmt1, SQLTables(hstmt1, NULL, 0, NULL, 0, "istab%", SQL_NTS, NULL, 0)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c: In function 'empty_set': /var/uhubuild/work/compile/test/my_catalog1.c:1023:3: warning: pointer targets in passing argument 2 of 'SQLTables' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLTables(hstmt, "", SQL_NTS, NULL, 0, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_catalog1.c:25: /usr/include/sql.h:823:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLTables(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_catalog1.c: In function 'bug15713': /var/uhubuild/work/compile/test/my_catalog1.c:1111:3: warning: pointer targets in passing argument 7 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, NULL, ^ In file included from /var/uhubuild/work/compile/test/my_catalog1.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_catalog1.c: In function 't_bug12805': /var/uhubuild/work/compile/test/my_catalog1.c:1423:3: warning: pointer targets in passing argument 8 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, NULL, ^ In file included from /var/uhubuild/work/compile/test/my_catalog1.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_catalog1.c: In function 't_bug30770': /var/uhubuild/work/compile/test/my_catalog1.c:1488:3: warning: pointer targets in passing argument 4 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, USE_DRIVER, ^ In file included from /var/uhubuild/work/compile/test/my_catalog1.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_catalog1.c:1488:3: warning: pointer targets in passing argument 7 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, USE_DRIVER, ^ In file included from /var/uhubuild/work/compile/test/my_catalog1.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_catalog1.c: In function 'main': /var/uhubuild/work/compile/test/my_catalog1.c:1592:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] testname_suffix= "_no_i_s"; ^ In file included from /var/uhubuild/work/compile/test/my_catalog1.c:25:0: /var/uhubuild/work/compile/test/my_catalog1.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ Linking C static library ../lib/libmyodbc-util.a Linking CXX executable my_catalog1 Scanning dependencies of target my_unixodbc [ 38%] Scanning dependencies of target my_unicode Scanning dependencies of target my_types Built target my_datetime [ 40%] [ 41%] [ 41%] Building C object test/CMakeFiles/my_unicode.dir/my_unicode.c.o Built target myodbc-util [ 42%] Building C object test/CMakeFiles/my_types.dir/my_types.c.o Building C object test/CMakeFiles/my_unixodbc.dir/my_unixodbc.c.o [ 42%] Built target my_catalog1 In file included from /var/uhubuild/work/compile/test/my_pooling.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_pooling.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_pooling.c:25: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_pooling.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_pooling.c:25: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_pooling.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_pooling.c:25: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_pooling.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_pooling.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_pooling.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_pooling.c:25: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_pooling.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_pooling.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_pooling.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_pooling.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_pooling.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_pooling.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_pooling.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_pooling.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_pooling.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_pooling.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_pooling.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_pooling.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_pooling.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_pooling.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_pooling.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_pooling.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_pooling.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ /var/uhubuild/work/compile/test/my_pooling.c: In function 't_reset_connection': /var/uhubuild/work/compile/test/my_pooling.c:51:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ok_con(hdbc1, SQLConnect(hdbc1, mydsn, strlen(mydsn), myuid, strlen(myuid), mypwd, strlen(mypwd))); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_pooling.c:25: /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern size_t strlen (const char *__s) ^ /var/uhubuild/work/compile/test/my_pooling.c:51:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ok_con(hdbc1, SQLConnect(hdbc1, mydsn, strlen(mydsn), myuid, strlen(myuid), mypwd, strlen(mypwd))); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_pooling.c:25: /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern size_t strlen (const char *__s) ^ /var/uhubuild/work/compile/test/my_pooling.c:51:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ok_con(hdbc1, SQLConnect(hdbc1, mydsn, strlen(mydsn), myuid, strlen(myuid), mypwd, strlen(mypwd))); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_pooling.c:25: /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern size_t strlen (const char *__s) ^ /var/uhubuild/work/compile/test/my_pooling.c:79:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ok_con(hdbc1, SQLConnect(hdbc1, mydsn, strlen(mydsn), myuid, strlen(myuid), mypwd, strlen(mypwd))); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_pooling.c:25: /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern size_t strlen (const char *__s) ^ /var/uhubuild/work/compile/test/my_pooling.c:79:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ok_con(hdbc1, SQLConnect(hdbc1, mydsn, strlen(mydsn), myuid, strlen(myuid), mypwd, strlen(mypwd))); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_pooling.c:25: /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern size_t strlen (const char *__s) ^ /var/uhubuild/work/compile/test/my_pooling.c:79:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ok_con(hdbc1, SQLConnect(hdbc1, mydsn, strlen(mydsn), myuid, strlen(myuid), mypwd, strlen(mypwd))); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_pooling.c:25: /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern size_t strlen (const char *__s) ^ In file included from /var/uhubuild/work/compile/test/my_pooling.c:25:0: /var/uhubuild/work/compile/test/my_pooling.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ Scanning dependencies of target my_use_result Linking CXX executable my_pooling [ 44%] Building C object test/CMakeFiles/my_use_result.dir/my_use_result.c.o In file included from /var/uhubuild/work/compile/test/my_prepare.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_prepare.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_prepare.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_prepare.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_prepare.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_prepare.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_prepare.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_prepare.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_prepare.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_prepare.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_prepare.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_prepare.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_prepare.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_prepare.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_prepare.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ /var/uhubuild/work/compile/test/my_prepare.c: In function 't_prepare': /var/uhubuild/work/compile/test/my_prepare.c:745:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] fprintf(stdout," outdata: %d, %s(%ld)\n", nodata,szodata,nlen); ^ /var/uhubuild/work/compile/test/my_prepare.c: In function 't_bug67340': /var/uhubuild/work/compile/test/my_prepare.c:1100:5: warning: pointer targets in passing argument 2 of 'SQLPrepare' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLPrepare(hstmt, "INSERT INTO t_bug67340(id, vc) "\ ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/sql.h:757:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLPrepare(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_prepare.c:1083:12: warning: unused variable 'param' [-Wunused-variable] SQLCHAR *param= (SQLCHAR *)"1"; ^ /var/uhubuild/work/compile/test/my_prepare.c: In function 't_bug67702': /var/uhubuild/work/compile/test/my_prepare.c:1136:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "drop table if exists bug67702", ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_prepare.c:1139:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "create table bug67702"\ ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_prepare.c:1144:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "INSERT INTO bug67702(id, vc, yesno)"\ ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_prepare.c:1166:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "UPDATE `bug67702` SET `yesno`=? "\ ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_prepare.c:1172:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "SELECT `yesno` FROM `bug67702`", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_prepare.c:1177:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "drop table if exists bug67702", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_prepare.c: In function 't_bug68243': /var/uhubuild/work/compile/test/my_prepare.c:1193:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "drop table if exists bug68243", ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_prepare.c:1196:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "create table bug68243"\ ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_prepare.c:1201:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "INSERT INTO bug68243(id, yesno)"\ ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_prepare.c:1205:3: warning: pointer targets in passing argument 8 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, NULL, ^ In file included from /var/uhubuild/work/compile/test/my_prepare.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_prepare.c:1222:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt1, SQLExecDirect(hstmt1, "UPDATE `bug68243` SET `yesno`=? "\ ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_prepare.c:1228:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "SELECT `yesno` FROM `bug68243`", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_prepare.c:1233:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "drop table if exists bug68243", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_prepare.c:1191:14: warning: unused variable 'paramlen' [-Wunused-variable] SQLLEN paramlen= 0; ^ /var/uhubuild/work/compile/test/my_prepare.c: In function 't_bug67920': /var/uhubuild/work/compile/test/my_prepare.c:1246:3: warning: pointer targets in passing argument 2 of 'SQLPrepare' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLPrepare(hstmt, "SELECT 1", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_prepare.c:25: /usr/include/sql.h:757:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLPrepare(SQLHSTMT StatementHandle, ^ In file included from /var/uhubuild/work/compile/test/my_prepare.c:25:0: /var/uhubuild/work/compile/test/my_prepare.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ Linking CXX executable my_prepare Scanning dependencies of target myodbc5a In file included from /var/uhubuild/work/compile/test/my_setup.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_setup.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_setup.c:25: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_setup.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_setup.c:25: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_setup.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_setup.c:25: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_setup.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_setup.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_setup.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_setup.c:25: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_setup.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_setup.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_setup.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_setup.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_setup.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_setup.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_setup.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_setup.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_setup.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_setup.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_setup.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_setup.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_setup.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_setup.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_setup.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_setup.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_setup.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ /var/uhubuild/work/compile/test/my_setup.c: In function 't_bug24581': /var/uhubuild/work/compile/test/my_setup.c:116:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] " identified by 'pass24851'", mydb, myserver); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_setup.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_setup.c:125:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(fdsn_path, "%s/filedsn24851.dsn", getenv("TMPDIR") ? getenv("TMPDIR") : "/tmp"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_setup.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_setup.c:128:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(socket_path, "SOCKET=%s", mysock); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_setup.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_setup.c:135:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] mydriver, myserver, mydb, fdsn_path, socket_path); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_setup.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_setup.c:143:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(conn_fdsn, "FileDSN=%s;PASSWORD=pass24851", fdsn_path); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_setup.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_setup.c:161:3: warning: pointer targets in passing argument 1 of 'remove' differ in signedness [-Wpointer-sign] is(remove(fdsn_path)==0); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_setup.c:25: /usr/include/stdio.h:178:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int remove (const char *__filename) __THROW; ^ In file included from /var/uhubuild/work/compile/test/my_setup.c:25:0: /var/uhubuild/work/compile/test/my_setup.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ In file included from /var/uhubuild/work/compile/test/my_relative.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_relative.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_relative.c:25: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_relative.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_relative.c:25: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_relative.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_relative.c:25: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_relative.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_relative.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_relative.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_relative.c:25: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_relative.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_relative.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_relative.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_relative.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_relative.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_relative.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_relative.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_relative.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_relative.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_relative.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_relative.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_relative.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_relative.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_relative.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_relative.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_relative.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_relative.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ /var/uhubuild/work/compile/test/my_relative.c: In function 't_relative': /var/uhubuild/work/compile/test/my_relative.c:51:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLUINTEGER' [-Wformat=] sprintf((char *)name, "my%d", i); ^ In file included from /var/uhubuild/work/compile/test/my_relative.c:25:0: /var/uhubuild/work/compile/test/my_relative.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ In file included from /var/uhubuild/work/compile/test/my_param.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_param.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_param.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_param.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_param.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_param.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_param.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_param.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_param.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_param.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_param.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_param.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_param.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_param.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_param.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ /var/uhubuild/work/compile/test/my_param.c: In function 'my_param_insert': /var/uhubuild/work/compile/test/my_param.c:75:7: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] sprintf(name,"MySQL%d",id); ^ /var/uhubuild/work/compile/test/my_param.c: In function 'paramarray_by_row': /var/uhubuild/work/compile/test/my_param.c:394:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *str[]= {"nothing for 1st", "longest string for row 2", "shortest" }; ^ /var/uhubuild/work/compile/test/my_param.c:394:4: warning: (near initialization for 'str[0]') [-Wpointer-sign] /var/uhubuild/work/compile/test/my_param.c:394:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] /var/uhubuild/work/compile/test/my_param.c:394:4: warning: (near initialization for 'str[1]') [-Wpointer-sign] /var/uhubuild/work/compile/test/my_param.c:394:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] /var/uhubuild/work/compile/test/my_param.c:394:4: warning: (near initialization for 'str[2]') [-Wpointer-sign] /var/uhubuild/work/compile/test/my_param.c:402:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "DROP TABLE IF EXISTS t_bug48310", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:403:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "CREATE TABLE t_bug48310 (id int primary key auto_increment,"\ ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:429:5: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(dataBinding[i].strField, str[i]); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ /var/uhubuild/work/compile/test/my_param.c:429:5: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(dataBinding[i].strField, str[i]); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/string.h:129:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ /var/uhubuild/work/compile/test/my_param.c:436:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] expect_stmt(hstmt, SQLExecDirect(hstmt, "INSERT INTO t_bug48310 (bData, intField, strField) " \ ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:455:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "SELECT bData, intField, strField\ ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:467:5: warning: pointer targets in passing argument 6 of 'SQLGetData' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLGetData(hstmt, 1, SQL_BINARY, (SQLPOINTER)buff, 50, &nLen)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:699:15: note: expected 'SQLINTEGER *' but argument is of type 'SQLUINTEGER *' SQLRETURN SQL_API SQLGetData(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:470:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] is_str(my_fetch_str(hstmt, buff, 3), dataBinding[i].strField, strlen(str[i])); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'const SQLCHAR *' extern size_t strlen (const char *__s) ^ /var/uhubuild/work/compile/test/my_param.c:484:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "DROP TABLE IF EXISTS bug48310", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c: In function 'paramarray_by_column': /var/uhubuild/work/compile/test/my_param.c:517:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "DROP TABLE IF EXISTS t_bug48310", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:518:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "CREATE TABLE t_bug48310 (id int primary key auto_increment,"\ ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:534:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] expect_stmt(hstmt, SQLExecDirect(hstmt, "INSERT INTO t_bug48310 (bData, intField, strField) " \ ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:550:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "SELECT bData, intField, strField\ ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:558:5: warning: pointer targets in passing argument 6 of 'SQLGetData' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLGetData(hstmt, 1, SQL_BINARY, (SQLPOINTER)buff, 50, &nLen)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:699:15: note: expected 'SQLINTEGER *' but argument is of type 'SQLUINTEGER *' SQLRETURN SQL_API SQLGetData(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:567:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] is_str(my_fetch_str(hstmt, buff, 3), strField[i], strlen(strField[i])); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'const SQLCHAR *' extern size_t strlen (const char *__s) ^ /var/uhubuild/work/compile/test/my_param.c:572:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "DROP TABLE IF EXISTS bug48310", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c: In function 'paramarray_ignore_paramset': /var/uhubuild/work/compile/test/my_param.c:606:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "DROP TABLE IF EXISTS t_bug48310", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:607:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "CREATE TABLE t_bug48310 (id int primary key auto_increment,"\ ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:624:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] expect_stmt(hstmt, SQLExecDirect(hstmt, "INSERT INTO t_bug48310 (bData, intField, strField) " \ ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:647:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "SELECT bData, intField, strField\ ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:662:5: warning: pointer targets in passing argument 6 of 'SQLGetData' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLGetData(hstmt, 1, SQL_BINARY, (SQLPOINTER)buff, 50, &nLen)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:699:15: note: expected 'SQLINTEGER *' but argument is of type 'SQLUINTEGER *' SQLRETURN SQL_API SQLGetData(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:672:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] is_str(my_fetch_str(hstmt, buff, 3), strField[i], strlen(strField[i])); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'const SQLCHAR *' extern size_t strlen (const char *__s) ^ /var/uhubuild/work/compile/test/my_param.c:686:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "DROP TABLE IF EXISTS bug48310", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c: In function 'paramarray_select': /var/uhubuild/work/compile/test/my_param.c:719:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] expect_stmt(hstmt, SQLExecDirect(hstmt, "SELect ?,'So what'", SQL_NTS), SQL_SUCCESS); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c: In function 't_bug49029': /var/uhubuild/work/compile/test/my_param.c:755:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "set @@session.sql_mode='NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION,NO_BACKSLASH_ESCAPES'", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:757:3: warning: pointer targets in passing argument 10 of 'SQLBindParameter' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLBindParameter(hstmt, 1, SQL_PARAM_INPUT, SQL_C_BINARY, SQL_BINARY, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:63:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sqlext.h:2022:11: note: expected 'SQLINTEGER *' but argument is of type 'SQLUINTEGER *' SQLRETURN SQL_API SQLBindParameter( ^ /var/uhubuild/work/compile/test/my_param.c:760:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "select ?", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:763:3: warning: pointer targets in passing argument 6 of 'SQLGetData' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLGetData(hstmt, 1, SQL_BINARY, (SQLPOINTER)buff, 6, &len)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:699:15: note: expected 'SQLINTEGER *' but argument is of type 'SQLUINTEGER *' SQLRETURN SQL_API SQLGetData(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c: In function 't_bug56804': /var/uhubuild/work/compile/test/my_param.c:797:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ok_stmt(hstmt, SQLSetStmtAttr( hstmt, SQL_ATTR_PARAMSET_SIZE, ^ /var/uhubuild/work/compile/test/my_param.c:849:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] is(strstr(message, "Duplicate entry '9'")); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/string.h:342:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *strstr (const char *__haystack, const char *__needle) ^ /var/uhubuild/work/compile/test/my_param.c:779:14: warning: unused variable 'len' [-Wunused-variable] SQLINTEGER len = 1; ^ /var/uhubuild/work/compile/test/my_param.c: In function 't_bug59772': /var/uhubuild/work/compile/test/my_param.c:893:5: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "DROP TABLE IF EXISTS t_bug59772", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:894:5: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "CREATE TABLE t_bug59772 (id int primary key auto_increment,"\ ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:902:5: warning: pointer targets in passing argument 2 of 'SQLPrepare' differ in signedness [-Wpointer-sign] ok_stmt(hstmt2, SQLPrepare(hstmt2, "INSERT INTO t_bug59772 (intField) VALUES (?)", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:757:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLPrepare(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:908:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(buf_kill, "KILL %d", connection_id); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_param.c:908:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] sprintf(buf_kill, "KILL %d", connection_id); ^ /var/uhubuild/work/compile/test/my_param.c:928:5: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "DROP TABLE IF EXISTS t_bug59772", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c: In function 't_bug53891': /var/uhubuild/work/compile/test/my_param.c:1332:32: warning: pointer targets in passing argument 8 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] NULL, "NO_SSPS=0"); ^ In file included from /var/uhubuild/work/compile/test/my_param.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_param.c:1334:3: warning: pointer targets in passing argument 2 of 'SQLPrepare' differ in signedness [-Wpointer-sign] ok_stmt(hstmt1, SQLPrepare(hstmt1, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:757:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLPrepare(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:1345:3: warning: pointer targets in passing argument 2 of 'SQLPrepare' differ in signedness [-Wpointer-sign] ok_stmt(hstmt1, SQLPrepare(hstmt1, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:757:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLPrepare(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:1359:32: warning: pointer targets in passing argument 8 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] NULL, "NO_SSPS=1"); ^ In file included from /var/uhubuild/work/compile/test/my_param.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_param.c:1361:3: warning: pointer targets in passing argument 2 of 'SQLPrepare' differ in signedness [-Wpointer-sign] ok_stmt(hstmt1, SQLPrepare(hstmt1, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:757:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLPrepare(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:1372:3: warning: pointer targets in passing argument 2 of 'SQLPrepare' differ in signedness [-Wpointer-sign] ok_stmt(hstmt1, SQLPrepare(hstmt1, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:757:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLPrepare(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c: In function 't_odbc_outstream_params': /var/uhubuild/work/compile/test/my_param.c:1428:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] expect_stmt(hstmt, SQLExecDirect(hstmt, "CALL t_odbcoutstreamparams(?, ?)", SQL_NTS), SQL_PARAM_DATA_AVAILABLE); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c: In function 't_odbc_inoutstream_params': /var/uhubuild/work/compile/test/my_param.c:1520:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] expect_stmt(hstmt, SQLExecDirect(hstmt, "CALL t_odbcInOutstreamparams(?, ?, ?, ?)", SQL_NTS), SQL_NEED_DATA); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:1535:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for (c=0; c < strlen(inout); ++c) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern size_t strlen (const char *__s) ^ /var/uhubuild/work/compile/test/my_param.c: In function 't_inoutstream17842966': /var/uhubuild/work/compile/test/my_param.c:1627:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] expect_stmt(hstmt, SQLExecDirect(hstmt, "CALL t_inoutstream17842966(?)", SQL_NTS), SQL_NEED_DATA); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_param.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_param.c:1605:14: warning: unused variable 'intParam' [-Wunused-variable] SQLINTEGER intParam= 4; ^ /var/uhubuild/work/compile/test/my_param.c:1604:56: warning: unused variable 'inout' [-Wunused-variable] SQLCHAR blobValue[50], chunk[8], *ptr= blobValue, c, inout[32]= "input"; ^ /var/uhubuild/work/compile/test/my_param.c:1603:22: warning: unused variable 'len2' [-Wunused-variable] SQLLEN len= 0, len2= SQL_LEN_DATA_AT_EXEC(16), bytes, chunk_size; ^ In file included from /var/uhubuild/work/compile/test/my_param.c:25:0: /var/uhubuild/work/compile/test/my_param.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ Linking CXX executable my_setup Linking CXX executable my_relative [ 45%] Scanning dependencies of target myodbc5w In file included from /var/uhubuild/work/compile/test/my_tran.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_tran.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_tran.c:25: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_tran.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_tran.c:25: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_tran.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_tran.c:25: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_tran.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_tran.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_tran.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_tran.c:25: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_tran.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_tran.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_tran.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_tran.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_tran.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_tran.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_tran.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_tran.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_tran.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_tran.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_tran.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_tran.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_tran.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_tran.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_tran.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_tran.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_tran.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_tran.c:25:0: /var/uhubuild/work/compile/test/my_tran.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ Linking CXX executable my_param Building C object driver/CMakeFiles/myodbc5a.dir/catalog.c.o [ 45%] [ 46%] Linking CXX executable my_tran Built target my_pooling Building C object driver/CMakeFiles/myodbc5w.dir/catalog.c.o Scanning dependencies of target myodbc-installer [ 48%] In file included from /var/uhubuild/work/compile/test/my_result2.c:26:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_result2.c:26:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_result2.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_result2.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_result2.c:26:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_result2.c:26:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_result2.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_result2.c:26:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_result2.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_result2.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_result2.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_result2.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_result2.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_result2.c:26:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_result2.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ /var/uhubuild/work/compile/test/my_result2.c: In function 't_bug32821': /var/uhubuild/work/compile/test/my_result2.c:274:22: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] SQLCHAR * insStmt= "insert into t_bug32821 values (0,0,0),(1,1,1)\ ^ /var/uhubuild/work/compile/test/my_result2.c:282:3: warning: pointer targets in passing argument 2 of 'SQLPrepare' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLPrepare(hstmt, "CREATE TABLE t_bug32821 (a BIT(1), b BIT(16)\ ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/sql.h:757:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLPrepare(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_result2.c: In function 't_bug55024': /var/uhubuild/work/compile/test/my_result2.c:416:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "DROP TABLE IF EXISTS t_test55024", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_result2.c:418:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "CREATE TABLE t_test55024(col01 LONGTEXT, "\ ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_result2.c:427:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "INSERT INTO t_test55024 VALUES ('a', 'b', 'c', 'd', 999, 111, 1, 3.1415)", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_result2.c:430:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "SELECT * FROM t_test55024", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_result2.c: In function 't_bug56677': /var/uhubuild/work/compile/test/my_result2.c:482:3: warning: pointer targets in passing argument 2 of 'SQLPrepare' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLPrepare(hstmt, "select * from bug56677", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/sql.h:757:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLPrepare(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_result2.c: In function 't_desccol_before_exec': /var/uhubuild/work/compile/test/my_result2.c:539:3: warning: pointer targets in passing argument 2 of 'SQLPrepare' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLPrepare(hstmt, "select tt_varchar from desccol_before_exec where tt_int > ?", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/sql.h:757:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLPrepare(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_result2.c:541:3: warning: pointer targets in passing argument 3 of 'SQLDescribeCol' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLDescribeCol(hstmt, 1, colname, sizeof(colname), NULL, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/sql.h:644:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLDescribeCol(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_result2.c:567:3: warning: pointer targets in passing argument 2 of 'SQLPrepare' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLPrepare(hstmt, "select tt_int, tt_varchar " ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/sql.h:757:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLPrepare(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_result2.c: In function 't_bug62657': /var/uhubuild/work/compile/test/my_result2.c:611:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "select * from b62657", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_result2.c: In function 't_row_status': /var/uhubuild/work/compile/test/my_result2.c:660:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "select * from b_row_status\ ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_result2.c:677:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLExecDirect(hstmt, "select if(i is NULL,NULL,repeat(char(64+i),8/i))\ ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_result2.c: In function 't_prefetch': /var/uhubuild/work/compile/test/my_result2.c:706:5: warning: pointer targets in passing argument 8 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, NULL, ^ In file included from /var/uhubuild/work/compile/test/my_result2.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_result2.c:714:5: warning: pointer targets in passing argument 2 of 'SQLPrepare' differ in signedness [-Wpointer-sign] ok_stmt(hstmt1, SQLPrepare(hstmt1, "select* from b_prefecth; ", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/sql.h:757:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLPrepare(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_result2.c:719:5: warning: pointer targets in passing argument 8 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, NULL, ^ In file included from /var/uhubuild/work/compile/test/my_result2.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_result2.c:722:5: warning: pointer targets in passing argument 2 of 'SQLPrepare' differ in signedness [-Wpointer-sign] ok_stmt(hstmt1, SQLPrepare(hstmt1, "select* from b_prefecth;\ ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/sql.h:757:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLPrepare(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_result2.c: In function 't_bug11766437': /var/uhubuild/work/compile/test/my_result2.c:896:7: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] sprintf((char *)tbuf, "name%d", i); ^ /var/uhubuild/work/compile/test/my_result2.c:898:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] is_str(ptr, tbuf, strlen(tbuf)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern size_t strlen (const char *__s) ^ /var/uhubuild/work/compile/test/my_result2.c:903:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] is_num(*((SQLLEN *)ptr), strlen(tbuf)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern size_t strlen (const char *__s) ^ /var/uhubuild/work/compile/test/my_result2.c: In function 't_varbookmark': /var/uhubuild/work/compile/test/my_result2.c:992:3: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] is_num(atol(bData[0]), 1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:51:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/test/my_result2.c:995:3: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] is_num(atol(bData[1]), 2); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:51:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/test/my_result2.c:998:3: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] is_num(atol(bData[2]), 3); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:51:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/test/my_result2.c:1001:3: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] is_num(atol(bData[3]), 4); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:51:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/test/my_result2.c:1005:3: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] is_num(atol(bData[4]), 5); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:51:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/test/my_result2.c:1008:3: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] is_num(atol(bData[5]), 6); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:51:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/test/my_result2.c:1011:3: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] is_num(atol(bData[6]), 7); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:51:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/test/my_result2.c:1014:3: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] is_num(atol(bData[7]), 8); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:51:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/test/my_result2.c:1018:3: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] is_num(atol(bData[8]), 9); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:51:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/test/my_result2.c:1021:3: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] is_num(atol(bData[9]), 10); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:51:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/test/my_result2.c:1024:3: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] is_num(atol(bData[10]), 11); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:51:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/test/my_result2.c:1036:3: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] is_num(atol(bData[0]), 2); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:51:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/test/my_result2.c:1039:3: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] is_num(atol(bData[1]), 3); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:51:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/test/my_result2.c:1042:3: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] is_num(atol(bData[2]), 4); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:51:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/test/my_result2.c:930:14: warning: unused variable 'len' [-Wunused-variable] SQLLEN len= 0; ^ /var/uhubuild/work/compile/test/my_result2.c: In function 't_bookmark': /var/uhubuild/work/compile/test/my_result2.c:1062:14: warning: unused variable 'len' [-Wunused-variable] SQLLEN len= 0; ^ /var/uhubuild/work/compile/test/my_result2.c: In function 't_bug17311065': /var/uhubuild/work/compile/test/my_result2.c:1172:3: warning: pointer targets in passing argument 2 of 'SQLPrepare' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLPrepare(hstmt, "select * from t_bug17311065 where id > ?", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/sql.h:757:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLPrepare(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_result2.c:1174:3: warning: pointer targets in passing argument 3 of 'SQLDescribeCol' differ in signedness [-Wpointer-sign] expect_stmt(hstmt, SQLDescribeCol(hstmt, 3, colname, sizeof(colname), NULL, ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_result2.c:26: /usr/include/sql.h:644:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLDescribeCol(SQLHSTMT StatementHandle, ^ In file included from /var/uhubuild/work/compile/test/my_result2.c:26:0: /var/uhubuild/work/compile/test/my_result2.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ [ 48%] Built target my_prepare Building C object installer/CMakeFiles/myodbc-installer.dir/myodbc-installer.c.o [ 48%] Linking CXX executable my_result2 [ 49%] Built target my_setup In file included from /var/uhubuild/work/compile/test/my_scroll.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_scroll.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_scroll.c:25: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_scroll.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_scroll.c:25: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_scroll.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_scroll.c:25: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_scroll.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_scroll.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_scroll.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_scroll.c:25: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_scroll.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_scroll.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_scroll.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_scroll.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_scroll.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_scroll.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_scroll.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_scroll.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_scroll.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_scroll.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_scroll.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_scroll.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_scroll.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_scroll.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_scroll.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_scroll.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_scroll.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ /var/uhubuild/work/compile/test/my_scroll.c: In function 't_array_relative_10': /var/uhubuild/work/compile/test/my_scroll.c:149:9: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLUINTEGER' [-Wformat=] sprintf(name,"my%d",i); ^ In file included from /var/uhubuild/work/compile/test/my_scroll.c:25:0: /var/uhubuild/work/compile/test/my_scroll.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ Building C object driver/CMakeFiles/myodbc5a.dir/catalog_no_i_s.c.o [ 49%] [ 50%] Built target my_param In file included from /var/uhubuild/work/compile/test/my_unixodbc.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_unixodbc.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_unixodbc.c:25: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_unixodbc.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_unixodbc.c:25: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_unixodbc.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_unixodbc.c:25: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_unixodbc.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_unixodbc.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_unixodbc.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_unixodbc.c:25: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_unixodbc.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_unixodbc.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_unixodbc.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_unixodbc.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_unixodbc.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_unixodbc.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_unixodbc.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_unixodbc.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_unixodbc.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_unixodbc.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_unixodbc.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_unixodbc.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_unixodbc.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_unixodbc.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_unixodbc.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_unixodbc.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_unixodbc.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ /var/uhubuild/work/compile/test/my_unixodbc.c: In function 't_driver_connect': /var/uhubuild/work/compile/test/my_unixodbc.c:117:3: warning: pointer targets in passing argument 8 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, NULL, ^ In file included from /var/uhubuild/work/compile/test/my_unixodbc.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ In file included from /var/uhubuild/work/compile/test/my_unixodbc.c:25:0: /var/uhubuild/work/compile/test/my_unixodbc.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ Linking CXX executable my_scroll [ 50%] [ 52%] Building C object driver/CMakeFiles/myodbc5a.dir/connect.c.o Building C object driver/CMakeFiles/myodbc5w.dir/catalog_no_i_s.c.o Linking CXX executable my_unixodbc Built target my_tran [ 52%] In file included from /var/uhubuild/work/compile/test/my_result1.c:26:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_result1.c:26:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_result1.c:26: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_result1.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_result1.c:26: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_result1.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_result1.c:26: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_result1.c:26:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_result1.c:26: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_result1.c:26:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_result1.c:26: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_result1.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_result1.c:26:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_result1.c:26: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_result1.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_result1.c:26: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_result1.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_result1.c:26: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_result1.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_result1.c:26: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_result1.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_result1.c:26: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_result1.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_result1.c:26: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_result1.c:26:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_result1.c:26: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_result1.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_result1.c:26: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ /var/uhubuild/work/compile/test/my_result1.c: In function 't_max_rows': /var/uhubuild/work/compile/test/my_result1.c:507:5: warning: pointer targets in passing argument 8 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, NULL, ^ In file included from /var/uhubuild/work/compile/test/my_result1.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ In file included from /var/uhubuild/work/compile/test/my_result1.c:26:0: /var/uhubuild/work/compile/test/my_result1.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ Built target my_relative [ 53%] In file included from /var/uhubuild/work/compile/test/my_use_result.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_use_result.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_use_result.c:25: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_use_result.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_use_result.c:25: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_use_result.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_use_result.c:25: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_use_result.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_use_result.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_use_result.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_use_result.c:25: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_use_result.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_use_result.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_use_result.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_use_result.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_use_result.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_use_result.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_use_result.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_use_result.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_use_result.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_use_result.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_use_result.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_use_result.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_use_result.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_use_result.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_use_result.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_use_result.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_use_result.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_use_result.c:25:0: /var/uhubuild/work/compile/test/my_use_result.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ Linking CXX executable my_result1 Linking CXX executable my_use_result [ 54%] Building C object driver/CMakeFiles/myodbc5a.dir/cursor.c.o [ 54%] Built target my_result2 [ 56%] Building C object driver/CMakeFiles/myodbc5a.dir/desc.c.o Building C object driver/CMakeFiles/myodbc5w.dir/connect.c.o [ 56%] [ 56%] In file included from /var/uhubuild/work/compile/test/my_unicode.c:26:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_unicode.c:26:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_unicode.c:26: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_unicode.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_unicode.c:26: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_unicode.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_unicode.c:26: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_unicode.c:26:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_unicode.c:26: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_unicode.c:26:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_unicode.c:26: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_unicode.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_unicode.c:26:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_unicode.c:26: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_unicode.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_unicode.c:26: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_unicode.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_unicode.c:26: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_unicode.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_unicode.c:26: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_unicode.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_unicode.c:26: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_unicode.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_unicode.c:26: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_unicode.c:26:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_unicode.c:26: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_unicode.c:26:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_unicode.c:26: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_unicode.c:26:0: /var/uhubuild/work/compile/test/my_unicode.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ [ 56%] [ 56%] In file included from /var/uhubuild/work/compile/test/my_types.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_types.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_types.c:25: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_types.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_types.c:25: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_types.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_types.c:25: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_types.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_types.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_types.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_types.c:25: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_types.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_types.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_types.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_types.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_types.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_types.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_types.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_types.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_types.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_types.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_types.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_types.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_types.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_types.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_types.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_types.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_types.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ /var/uhubuild/work/compile/test/my_types.c: In function 't_bug32171': /var/uhubuild/work/compile/test/my_types.c:655:3: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'SQLUINTEGER' [-Wformat=] sprintf((char *)buff, "INSERT INTO t_bug32171 VALUES ('%u')", in); ^ /var/uhubuild/work/compile/test/my_types.c: In function 't_bug29402': /var/uhubuild/work/compile/test/my_types.c:1080:28: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *expected= "\x80""100"; ^ /var/uhubuild/work/compile/test/my_types.c:1082:3: warning: pointer targets in passing argument 8 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, NULL, ^ In file included from /var/uhubuild/work/compile/test/my_types.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_types.c:1086:3: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness [-Wpointer-sign] ok_stmt(hstmt1, SQLExecDirect(hstmt1, "SELECT CONCAT(_cp1250 0x80, 100) concated", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_types.c:25: /usr/include/sql.h:663:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ^ /var/uhubuild/work/compile/test/my_types.c:1099:3: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(buf, expected, buflen) != 0) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_types.c:25: /usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ /var/uhubuild/work/compile/test/my_types.c:1099:3: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(buf, expected, buflen) != 0) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_types.c:25: /usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'const SQLCHAR *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /var/uhubuild/work/compile/test/my_types.c:25:0: /var/uhubuild/work/compile/test/my_types.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ Linking CXX executable my_unicode In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/catalog.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/catalog.c: In function 'mysql_table_status_i_s': /var/uhubuild/work/compile/driver/catalog.c:157:11: warning: variable 'clause_added' set but not used [-Wunused-but-set-variable] my_bool clause_added= FALSE; ^ /var/uhubuild/work/compile/driver/catalog.c: In function 'i_s_list_table_priv': /var/uhubuild/work/compile/driver/catalog.c:561:10: warning: unused variable 'mysql' [-Wunused-variable] MYSQL *mysql= &stmt->dbc->mysql; ^ /var/uhubuild/work/compile/driver/catalog.c: In function 'i_s_list_column_priv': /var/uhubuild/work/compile/driver/catalog.c:641:10: warning: unused variable 'mysql' [-Wunused-variable] MYSQL *mysql= &stmt->dbc->mysql; ^ Built target my_unixodbc /var/uhubuild/work/compile/installer/myodbc-installer.c: In function 'print_installer_error': /var/uhubuild/work/compile/installer/myodbc-installer.c:167:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' [-Wformat=] fprintf(stderr, "[ERROR] SQLInstaller error %d: %s\n", errcode, errmsg); ^ /var/uhubuild/work/compile/installer/myodbc-installer.c: In function 'print_odbc_error': /var/uhubuild/work/compile/installer/myodbc-installer.c:185:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] printf(": [%s] %d -> %s\n", sqlstate, nativeerr, errmsg); ^ /var/uhubuild/work/compile/installer/myodbc-installer.c: In function 'list_driver_details': /var/uhubuild/work/compile/installer/myodbc-installer.c:196:13: warning: unused variable 'entries' [-Wunused-variable] SQLWCHAR *entries= buf; ^ /var/uhubuild/work/compile/installer/myodbc-installer.c: In function 'add_driver': /var/uhubuild/work/compile/installer/myodbc-installer.c:345:3: warning: format '%d' expects argument of type 'int', but argument 2 has type 'DWORD' [-Wformat=] printf("Success: Usage count is %d\n", usage_count); ^ /var/uhubuild/work/compile/installer/myodbc-installer.c: In function 'remove_driver': /var/uhubuild/work/compile/installer/myodbc-installer.c:364:3: warning: format '%d' expects argument of type 'int', but argument 2 has type 'DWORD' [-Wformat=] printf("Success: Usage count is %d\n", usage_count); ^ [ 57%] Built target my_scroll Built target my_result1 Built target my_use_result Linking CXX executable my_types [ 58%] Building C object driver/CMakeFiles/myodbc5a.dir/dll.c.o [ 60%] Linking CXX executable ../bin/myodbc-installer [ 61%] Building C object driver/CMakeFiles/myodbc5w.dir/cursor.c.o [ 62%] Building C object driver/CMakeFiles/myodbc5w.dir/desc.c.o In file included from /var/uhubuild/work/compile/test/my_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_cursor.c:25: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_cursor.c:25: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_cursor.c:25: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_cursor.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_cursor.c:25: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_cursor.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_cursor.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_cursor.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_cursor.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_cursor.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_cursor.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_cursor.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_cursor.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ /var/uhubuild/work/compile/test/my_cursor.c: In function 't_pos_datetime_delete1': /var/uhubuild/work/compile/test/my_cursor.c:704:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] fprintf(stdout,"current_row: %d\n", int_data); ^ /var/uhubuild/work/compile/test/my_cursor.c:714:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] fprintf(stdout, "rows affected: %d\n", row_count); ^ /var/uhubuild/work/compile/test/my_cursor.c:719:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] fprintf(stdout,"current_row: %d\n", int_data); ^ /var/uhubuild/work/compile/test/my_cursor.c:723:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] fprintf(stdout,"current_row: %d\n", int_data); ^ /var/uhubuild/work/compile/test/my_cursor.c:735:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] fprintf(stdout, "rows affected: %d\n", row_count); ^ /var/uhubuild/work/compile/test/my_cursor.c: In function 'bug6741': /var/uhubuild/work/compile/test/my_cursor.c:2526:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] printf("xval[%d] = %d\n", i, results[i].xval); ^ /var/uhubuild/work/compile/test/my_cursor.c: In function 't_update_offsets': /var/uhubuild/work/compile/test/my_cursor.c:2639:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] sprintf((char *)buf, "name%d", i); ^ /var/uhubuild/work/compile/test/my_cursor.c:2646:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] sprintf((char *)rows[row_offset2+i].name, "name_%d_%d", i, i * 10); ^ /var/uhubuild/work/compile/test/my_cursor.c:2646:5: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] /var/uhubuild/work/compile/test/my_cursor.c:2665:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] sprintf((char *)buf, "name_%d_%d", i, i * 10); ^ /var/uhubuild/work/compile/test/my_cursor.c:2665:5: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] /var/uhubuild/work/compile/test/my_cursor.c: In function 't_bug32420': /var/uhubuild/work/compile/test/my_cursor.c:2737:3: warning: pointer targets in passing argument 4 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, USE_DRIVER, ^ In file included from /var/uhubuild/work/compile/test/my_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_cursor.c:2737:3: warning: pointer targets in passing argument 8 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, USE_DRIVER, ^ In file included from /var/uhubuild/work/compile/test/my_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_cursor.c:2814:3: warning: pointer targets in passing argument 4 of 'alloc_basic_handles_with_opt' differ in signedness [-Wpointer-sign] is(OK == alloc_basic_handles_with_opt(&henv1, &hdbc1, &hstmt1, USE_DRIVER, ^ In file included from /var/uhubuild/work/compile/test/my_cursor.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1281:5: note: expected 'const SQLCHAR *' but argument is of type 'char *' int alloc_basic_handles_with_opt(SQLHENV *henv, SQLHDBC *hdbc, ^ /var/uhubuild/work/compile/test/my_cursor.c: In function 't_dae_setpos_insert': /var/uhubuild/work/compile/test/my_cursor.c:3108:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(data[1].y, "1234567890"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_cursor.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/test/my_cursor.c:3128:22: warning: initialization makes integer from pointer without a cast [enabled by default] is_num(paramptr, ((SQLCHAR *)holder + offset)); ^ /var/uhubuild/work/compile/test/my_cursor.c:3128:38: warning: initialization makes integer from pointer without a cast [enabled by default] is_num(paramptr, ((SQLCHAR *)holder + offset)); ^ /var/uhubuild/work/compile/test/my_cursor.c: In function 't_dae_setpos_update': /var/uhubuild/work/compile/test/my_cursor.c:3182:22: warning: initialization makes integer from pointer without a cast [enabled by default] is_num(paramptr, holder); ^ /var/uhubuild/work/compile/test/my_cursor.c:3182:38: warning: initialization makes integer from pointer without a cast [enabled by default] is_num(paramptr, holder); ^ /var/uhubuild/work/compile/test/my_cursor.c: In function 't_sqlputdata': /var/uhubuild/work/compile/test/my_cursor.c:3325:3: warning: pointer targets in passing argument 2 of 'SQLPrepare' differ in signedness [-Wpointer-sign] ok_stmt(hstmt, SQLPrepare(hstmt, "INSERT INTO t_sqlputdata VALUES ( ?, ?)", SQL_NTS)); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:62:0, from /var/uhubuild/work/compile/test/my_cursor.c:25: /usr/include/sql.h:757:15: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN SQL_API SQLPrepare(SQLHSTMT StatementHandle, ^ In file included from /var/uhubuild/work/compile/test/my_cursor.c:25:0: /var/uhubuild/work/compile/test/my_cursor.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ Building C object driver/CMakeFiles/myodbc5a.dir/error.c.o Linking CXX executable my_cursor In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/catalog.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/catalog.c: In function 'mysql_table_status_i_s': /var/uhubuild/work/compile/driver/catalog.c:157:11: warning: variable 'clause_added' set but not used [-Wunused-but-set-variable] my_bool clause_added= FALSE; ^ /var/uhubuild/work/compile/driver/catalog.c: In function 'i_s_list_table_priv': /var/uhubuild/work/compile/driver/catalog.c:561:10: warning: unused variable 'mysql' [-Wunused-variable] MYSQL *mysql= &stmt->dbc->mysql; ^ /var/uhubuild/work/compile/driver/catalog.c: In function 'i_s_list_column_priv': /var/uhubuild/work/compile/driver/catalog.c:641:10: warning: unused variable 'mysql' [-Wunused-variable] MYSQL *mysql= &stmt->dbc->mysql; ^ Building C object driver/CMakeFiles/myodbc5a.dir/execute.c.o [ 64%] In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/connect.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ Building C object driver/CMakeFiles/myodbc5a.dir/handle.c.o [ 65%] [ 65%] Built target my_types Building C object driver/CMakeFiles/myodbc5w.dir/dll.c.o [ 65%] Built target my_unicode [ 65%] [ 66%] In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/connect.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ [ 68%] Built target my_cursor [ 69%] Building C object driver/CMakeFiles/myodbc5w.dir/error.c.o [ 70%] Building C object driver/CMakeFiles/myodbc5a.dir/info.c.o In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c: In function 'mysql_list_dbcolumns': /var/uhubuild/work/compile/driver/catalog_no_i_s.c:205:5: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(buff, szCatalog, cbCatalog); ^ In file included from /usr/include/mysql/m_string.h:34:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:33, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/string.h:132:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strncpy (char *__restrict __dest, ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:217:3: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(buff, szTable, cbTable); ^ In file included from /usr/include/mysql/m_string.h:34:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:33, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/string.h:132:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strncpy (char *__restrict __dest, ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:219:3: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(column_buff, szColumn, cbColumn); ^ In file included from /usr/include/mysql/m_string.h:34:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:33, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/string.h:132:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strncpy (char *__restrict __dest, ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c: In function 'mysql_foreign_keys': /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1140:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (row= mysql_fetch_row(stmt->result)) ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1381:7: warning: pointer targets in passing argument 1 of 'myodbc_strcasecmp' differ in signedness [-Wpointer-sign] if (myodbc_strcasecmp(szPkTableName, fkRows[index].PKTABLE_NAME)) ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /var/uhubuild/work/compile/driver/myutil.h:282:5: note: expected 'const char *' but argument is of type 'SQLCHAR *' int myodbc_strcasecmp (const char *s, const char *t); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c: In function 'mysql_procedure_columns': /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1797:7: warning: pointer targets in passing argument 1 of 'proc_get_param_type' differ in signedness [-Wpointer-sign] token= proc_get_param_type(token, (int)strlen(token), &ptype); ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /var/uhubuild/work/compile/driver/myutil.h:329:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLCHAR * proc_get_param_type (SQLCHAR *proc, int len, SQLSMALLINT *ptype); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1797:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] token= proc_get_param_type(token, (int)strlen(token), &ptype); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1798:7: warning: pointer targets in passing argument 1 of 'proc_get_param_name' differ in signedness [-Wpointer-sign] token= proc_get_param_name(token, (int)strlen(token), param_name); ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /var/uhubuild/work/compile/driver/myutil.h:330:10: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLCHAR* proc_get_param_name (SQLCHAR *proc, int len, SQLCHAR *cname); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1798:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] token= proc_get_param_name(token, (int)strlen(token), param_name); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1799:7: warning: pointer targets in passing argument 1 of 'proc_get_param_dbtype' differ in signedness [-Wpointer-sign] token= proc_get_param_dbtype(token, (int)strlen(token), param_dbtype); ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /var/uhubuild/work/compile/driver/myutil.h:331:10: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLCHAR* proc_get_param_dbtype (SQLCHAR *proc, int len, SQLCHAR *ptype); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1799:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] token= proc_get_param_dbtype(token, (int)strlen(token), param_dbtype); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1802:7: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if (strstr(param_dbtype, "unsigned")) ^ In file included from /usr/include/mysql/m_string.h:34:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:33, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/string.h:342:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *strstr (const char *__haystack, const char *__needle) ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1805:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sql_type_index= proc_get_param_sql_type_index(param_dbtype, (int)strlen(param_dbtype)); ^ In file included from /usr/include/mysql/m_string.h:34:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:33, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern size_t strlen (const char *__s) ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1808:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] param_size= proc_get_param_size(param_dbtype, (int)strlen(param_dbtype), sql_type_index, &dec); ^ In file included from /usr/include/mysql/m_string.h:34:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:33, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern size_t strlen (const char *__s) ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1810:7: warning: pointer targets in passing argument 6 of 'proc_get_param_octet_len' differ in signedness [-Wpointer-sign] proc_get_param_octet_len(stmt, sql_type_index, param_size, dec, flags, param_buffer_len); ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /var/uhubuild/work/compile/driver/myutil.h:334:12: note: expected 'char *' but argument is of type 'SQLCHAR *' SQLLEN proc_get_param_octet_len (STMT *stmt, int sql_type_index, ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1815:7: warning: pointer targets in passing argument 1 of 'my_strdup' differ in signedness [-Wpointer-sign] data[mypcCOLUMN_NAME]= my_strdup(param_name, MYF(0)); /* COLUMN_NAME */ ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:30:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/mysql/my_sys.h:174:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *my_strdup(const char *from,myf MyFlags); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1830:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(param_type, "%d", ptype); ^ In file included from /usr/include/mysql/my_global.h:338:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1831:7: warning: pointer targets in passing argument 1 of 'my_strdup' differ in signedness [-Wpointer-sign] data[mypcCOLUMN_TYPE]= my_strdup(param_type, MYF(0)); /* COLUMN_TYPE */ ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:30:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/mysql/my_sys.h:174:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *my_strdup(const char *from,myf MyFlags); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1833:7: warning: pointer targets in passing argument 1 of 'myodbc_strcasecmp' differ in signedness [-Wpointer-sign] if (!myodbc_strcasecmp(type_map->type_name, "bit") && param_size > 1) ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /var/uhubuild/work/compile/driver/myutil.h:282:5: note: expected 'const char *' but argument is of type 'SQLCHAR *' int myodbc_strcasecmp (const char *s, const char *t); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1835:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(param_sql_type, "%d", SQL_BINARY); ^ In file included from /usr/include/mysql/my_global.h:338:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1839:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(param_sql_type, "%d", (int)type_map->sql_type); ^ In file included from /usr/include/mysql/my_global.h:338:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1841:7: warning: pointer targets in passing argument 1 of 'my_strdup' differ in signedness [-Wpointer-sign] data[mypcDATA_TYPE]= my_strdup(param_sql_type, MYF(0)); /* DATA_TYPE */ ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:30:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/mysql/my_sys.h:174:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *my_strdup(const char *from,myf MyFlags); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1843:7: warning: pointer targets in passing argument 1 of 'myodbc_strcasecmp' differ in signedness [-Wpointer-sign] if (!myodbc_strcasecmp(type_map->type_name, "set") || ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /var/uhubuild/work/compile/driver/myutil.h:282:5: note: expected 'const char *' but argument is of type 'SQLCHAR *' int myodbc_strcasecmp (const char *s, const char *t); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1844:10: warning: pointer targets in passing argument 1 of 'myodbc_strcasecmp' differ in signedness [-Wpointer-sign] !myodbc_strcasecmp(type_map->type_name, "enum")) ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /var/uhubuild/work/compile/driver/myutil.h:282:5: note: expected 'const char *' but argument is of type 'SQLCHAR *' int myodbc_strcasecmp (const char *s, const char *t); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1850:9: warning: pointer targets in passing argument 1 of 'my_strdup' differ in signedness [-Wpointer-sign] data[mypcTYPE_NAME]= my_strdup(type_map->type_name, MYF(0)); ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:30:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/mysql/my_sys.h:174:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *my_strdup(const char *from,myf MyFlags); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1855:7: warning: pointer targets in passing argument 6 of 'proc_get_param_col_len' differ in signedness [-Wpointer-sign] proc_get_param_col_len(stmt, sql_type_index, param_size, dec, flags, param_size_buf); ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /var/uhubuild/work/compile/driver/myutil.h:337:12: note: expected 'char *' but argument is of type 'SQLCHAR *' SQLLEN proc_get_param_col_len (STMT *stmt, int sql_type_index, SQLULEN col_size, ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1856:7: warning: pointer targets in passing argument 1 of 'my_strdup' differ in signedness [-Wpointer-sign] data[mypcCOLUMN_SIZE]= my_strdup(param_size_buf, MYF(0)); /* COLUMN_SIZE */ ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:30:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/mysql/my_sys.h:174:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *my_strdup(const char *from,myf MyFlags); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1858:7: warning: pointer targets in passing argument 1 of 'my_strdup' differ in signedness [-Wpointer-sign] data[mypcBUFFER_LENGTH]= my_strdup(param_buffer_len, MYF(0)); /* BUFFER_LENGTH */ ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:30:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/mysql/my_sys.h:174:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *my_strdup(const char *from,myf MyFlags); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1862:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(param_decimal, "%d", (int)dec); ^ In file included from /usr/include/mysql/my_global.h:338:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1863:9: warning: pointer targets in passing argument 1 of 'my_strdup' differ in signedness [-Wpointer-sign] data[mypcDECIMAL_DIGITS]= my_strdup(param_decimal, MYF(0)); /* DECIMAL_DIGITS */ ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:30:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/mysql/my_sys.h:174:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *my_strdup(const char *from,myf MyFlags); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1879:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(param_desc_type, "%d", SQL_DATETIME); ^ In file included from /usr/include/mysql/my_global.h:338:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1880:9: warning: pointer targets in passing argument 1 of 'my_strdup' differ in signedness [-Wpointer-sign] data[mypcSQL_DATA_TYPE]= my_strdup(param_desc_type, MYF(0)); /* SQL_DATA_TYPE */ ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:30:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/mysql/my_sys.h:174:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *my_strdup(const char *from,myf MyFlags); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1893:9: warning: pointer targets in passing argument 1 of 'my_strdup' differ in signedness [-Wpointer-sign] data[mypcCHAR_OCTET_LENGTH]= my_strdup(param_buffer_len, MYF(0)); /* CHAR_OCTET_LENGTH */ ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:30:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/mysql/my_sys.h:174:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *my_strdup(const char *from,myf MyFlags); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1900:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(param_pos, "%d", (int) param_ordinal_position); ^ In file included from /usr/include/mysql/my_global.h:338:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1901:7: warning: pointer targets in passing argument 1 of 'my_strdup' differ in signedness [-Wpointer-sign] data[mypcORDINAL_POSITION]= my_strdup(param_pos, MYF(0)); /* ORDINAL_POSITION */ ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:30:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/mysql/my_sys.h:174:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *my_strdup(const char *from,myf MyFlags); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1788:18: warning: unused variable 'sql_type_int' [-Wunused-variable] SQLINTEGER sql_type_int= 0; ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1787:19: warning: unused variable 'dec_int' [-Wunused-variable] SQLUINTEGER dec_int= 0; ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c: In function 'mysql_statistics': /var/uhubuild/work/compile/driver/catalog_no_i_s.c:2291:12: warning: unused variable 'mysql' [-Wunused-variable] MYSQL *mysql= &stmt->dbc->mysql; ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c: In function 'mysql_tables': /var/uhubuild/work/compile/driver/catalog_no_i_s.c:2396:13: warning: unused variable 'all_dbs' [-Wunused-variable] my_bool all_dbs= 1, user_tables, views; ^ Building C object driver/CMakeFiles/myodbc5a.dir/driver.c.o [ 72%] Building C object driver/CMakeFiles/myodbc5w.dir/execute.c.o In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/cursor.c:41: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/cursor.c: In function 'insert_field': /var/uhubuild/work/compile/driver/cursor.c:492:5: warning: pointer targets in passing argument 4 of 'get_string' differ in signedness [-Wpointer-sign] dummy= get_string(stmt, nSrcCol, NULL, &length, as_string); ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/cursor.c:41: /var/uhubuild/work/compile/driver/myutil.h:412:8: note: expected 'ulong *' but argument is of type 'SQLINTEGER *' char * get_string (STMT *stmt, ulong column_number, char *value, ^ /var/uhubuild/work/compile/driver/cursor.c: In function 'fetch_bookmark': /var/uhubuild/work/compile/driver/cursor.c:991:5: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] curr_bookmark_index= atol((SQLCHAR *) TargetValuePtr); ^ In file included from /usr/include/mysql/my_global.h:342:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/cursor.c:41: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/driver/cursor.c: In function 'setpos_delete_bookmark': /var/uhubuild/work/compile/driver/cursor.c:1063:5: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] curr_bookmark_index= atol((SQLCHAR *) TargetValuePtr); ^ In file included from /usr/include/mysql/my_global.h:342:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/cursor.c:41: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/driver/cursor.c: In function 'setpos_update_bookmark': /var/uhubuild/work/compile/driver/cursor.c:1218:5: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] curr_bookmark_index= atol((SQLCHAR *) TargetValuePtr); ^ In file included from /usr/include/mysql/my_global.h:342:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/cursor.c:41: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/driver/cursor.c: In function 'batch_insert': /var/uhubuild/work/compile/driver/cursor.c:1543:11: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] _len= sprintf(_value, "%ld", i + 1); ^ /var/uhubuild/work/compile/driver/cursor.c:1505:13: warning: unused variable 'copy_bytes' [-Wunused-variable] ulong copy_bytes= 0; ^ /var/uhubuild/work/compile/driver/cursor.c: In function 'setpos_dae_check_and_init': /var/uhubuild/work/compile/driver/cursor.c:1605:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(rc= stmt_SQLCopyDesc(stmt, stmt->ard, stmt->setpos_apd)) ^ /var/uhubuild/work/compile/driver/cursor.c: In function 'my_SQLSetPos': /var/uhubuild/work/compile/driver/cursor.c:1752:51: warning: suggest parentheses around assignment used as truth value [-Wparentheses] DAE_SETPOS_UPDATE)) ^ /var/uhubuild/work/compile/driver/cursor.c:1778:51: warning: suggest parentheses around assignment used as truth value [-Wparentheses] DAE_SETPOS_INSERT)) ^ /var/uhubuild/work/compile/driver/cursor.c: In function 'SQLBulkOperations': /var/uhubuild/work/compile/driver/cursor.c:1939:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] DAE_SETPOS_UPDATE)) ^ In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/desc.c:37: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/desc.c: In function 'MySQLGetDescField': /var/uhubuild/work/compile/driver/desc.c:627:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (fld->loc == DESC_HDR && ^ Building C object driver/CMakeFiles/myodbc5a.dir/options.c.o [ 72%] Built target myodbc-installer [ 73%] [ 74%] [ 76%] Building C object driver/CMakeFiles/myodbc5w.dir/info.c.o Building C object driver/CMakeFiles/myodbc5w.dir/handle.c.o Building C object driver/CMakeFiles/myodbc5a.dir/parse.c.o In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/dll.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ [ 77%] In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c: In function 'mysql_list_dbcolumns': /var/uhubuild/work/compile/driver/catalog_no_i_s.c:205:5: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(buff, szCatalog, cbCatalog); ^ In file included from /usr/include/mysql/m_string.h:34:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:33, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/string.h:132:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strncpy (char *__restrict __dest, ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:217:3: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(buff, szTable, cbTable); ^ In file included from /usr/include/mysql/m_string.h:34:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:33, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/string.h:132:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strncpy (char *__restrict __dest, ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:219:3: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(column_buff, szColumn, cbColumn); ^ In file included from /usr/include/mysql/m_string.h:34:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:33, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/string.h:132:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strncpy (char *__restrict __dest, ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c: In function 'mysql_foreign_keys': /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1140:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (row= mysql_fetch_row(stmt->result)) ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1381:7: warning: pointer targets in passing argument 1 of 'myodbc_strcasecmp' differ in signedness [-Wpointer-sign] if (myodbc_strcasecmp(szPkTableName, fkRows[index].PKTABLE_NAME)) ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /var/uhubuild/work/compile/driver/myutil.h:282:5: note: expected 'const char *' but argument is of type 'SQLCHAR *' int myodbc_strcasecmp (const char *s, const char *t); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c: In function 'mysql_procedure_columns': /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1797:7: warning: pointer targets in passing argument 1 of 'proc_get_param_type' differ in signedness [-Wpointer-sign] token= proc_get_param_type(token, (int)strlen(token), &ptype); ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /var/uhubuild/work/compile/driver/myutil.h:329:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLCHAR * proc_get_param_type (SQLCHAR *proc, int len, SQLSMALLINT *ptype); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1797:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] token= proc_get_param_type(token, (int)strlen(token), &ptype); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1798:7: warning: pointer targets in passing argument 1 of 'proc_get_param_name' differ in signedness [-Wpointer-sign] token= proc_get_param_name(token, (int)strlen(token), param_name); ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /var/uhubuild/work/compile/driver/myutil.h:330:10: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLCHAR* proc_get_param_name (SQLCHAR *proc, int len, SQLCHAR *cname); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1798:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] token= proc_get_param_name(token, (int)strlen(token), param_name); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1799:7: warning: pointer targets in passing argument 1 of 'proc_get_param_dbtype' differ in signedness [-Wpointer-sign] token= proc_get_param_dbtype(token, (int)strlen(token), param_dbtype); ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /var/uhubuild/work/compile/driver/myutil.h:331:10: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLCHAR* proc_get_param_dbtype (SQLCHAR *proc, int len, SQLCHAR *ptype); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1799:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] token= proc_get_param_dbtype(token, (int)strlen(token), param_dbtype); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1802:7: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if (strstr(param_dbtype, "unsigned")) ^ In file included from /usr/include/mysql/m_string.h:34:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:33, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/string.h:342:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *strstr (const char *__haystack, const char *__needle) ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1805:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sql_type_index= proc_get_param_sql_type_index(param_dbtype, (int)strlen(param_dbtype)); ^ In file included from /usr/include/mysql/m_string.h:34:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:33, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern size_t strlen (const char *__s) ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1808:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] param_size= proc_get_param_size(param_dbtype, (int)strlen(param_dbtype), sql_type_index, &dec); ^ In file included from /usr/include/mysql/m_string.h:34:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:33, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern size_t strlen (const char *__s) ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1810:7: warning: pointer targets in passing argument 6 of 'proc_get_param_octet_len' differ in signedness [-Wpointer-sign] proc_get_param_octet_len(stmt, sql_type_index, param_size, dec, flags, param_buffer_len); ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /var/uhubuild/work/compile/driver/myutil.h:334:12: note: expected 'char *' but argument is of type 'SQLCHAR *' SQLLEN proc_get_param_octet_len (STMT *stmt, int sql_type_index, ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1815:7: warning: pointer targets in passing argument 1 of 'my_strdup' differ in signedness [-Wpointer-sign] data[mypcCOLUMN_NAME]= my_strdup(param_name, MYF(0)); /* COLUMN_NAME */ ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:30:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/mysql/my_sys.h:174:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *my_strdup(const char *from,myf MyFlags); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1830:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(param_type, "%d", ptype); ^ In file included from /usr/include/mysql/my_global.h:338:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1831:7: warning: pointer targets in passing argument 1 of 'my_strdup' differ in signedness [-Wpointer-sign] data[mypcCOLUMN_TYPE]= my_strdup(param_type, MYF(0)); /* COLUMN_TYPE */ ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:30:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/mysql/my_sys.h:174:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *my_strdup(const char *from,myf MyFlags); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1833:7: warning: pointer targets in passing argument 1 of 'myodbc_strcasecmp' differ in signedness [-Wpointer-sign] if (!myodbc_strcasecmp(type_map->type_name, "bit") && param_size > 1) ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /var/uhubuild/work/compile/driver/myutil.h:282:5: note: expected 'const char *' but argument is of type 'SQLCHAR *' int myodbc_strcasecmp (const char *s, const char *t); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1835:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(param_sql_type, "%d", SQL_BINARY); ^ In file included from /usr/include/mysql/my_global.h:338:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1839:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(param_sql_type, "%d", (int)type_map->sql_type); ^ In file included from /usr/include/mysql/my_global.h:338:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1841:7: warning: pointer targets in passing argument 1 of 'my_strdup' differ in signedness [-Wpointer-sign] data[mypcDATA_TYPE]= my_strdup(param_sql_type, MYF(0)); /* DATA_TYPE */ ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:30:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/mysql/my_sys.h:174:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *my_strdup(const char *from,myf MyFlags); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1843:7: warning: pointer targets in passing argument 1 of 'myodbc_strcasecmp' differ in signedness [-Wpointer-sign] if (!myodbc_strcasecmp(type_map->type_name, "set") || ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /var/uhubuild/work/compile/driver/myutil.h:282:5: note: expected 'const char *' but argument is of type 'SQLCHAR *' int myodbc_strcasecmp (const char *s, const char *t); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1844:10: warning: pointer targets in passing argument 1 of 'myodbc_strcasecmp' differ in signedness [-Wpointer-sign] !myodbc_strcasecmp(type_map->type_name, "enum")) ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /var/uhubuild/work/compile/driver/myutil.h:282:5: note: expected 'const char *' but argument is of type 'SQLCHAR *' int myodbc_strcasecmp (const char *s, const char *t); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1850:9: warning: pointer targets in passing argument 1 of 'my_strdup' differ in signedness [-Wpointer-sign] data[mypcTYPE_NAME]= my_strdup(type_map->type_name, MYF(0)); ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:30:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/mysql/my_sys.h:174:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *my_strdup(const char *from,myf MyFlags); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1855:7: warning: pointer targets in passing argument 6 of 'proc_get_param_col_len' differ in signedness [-Wpointer-sign] proc_get_param_col_len(stmt, sql_type_index, param_size, dec, flags, param_size_buf); ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /var/uhubuild/work/compile/driver/myutil.h:337:12: note: expected 'char *' but argument is of type 'SQLCHAR *' SQLLEN proc_get_param_col_len (STMT *stmt, int sql_type_index, SQLULEN col_size, ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1856:7: warning: pointer targets in passing argument 1 of 'my_strdup' differ in signedness [-Wpointer-sign] data[mypcCOLUMN_SIZE]= my_strdup(param_size_buf, MYF(0)); /* COLUMN_SIZE */ ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:30:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/mysql/my_sys.h:174:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *my_strdup(const char *from,myf MyFlags); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1858:7: warning: pointer targets in passing argument 1 of 'my_strdup' differ in signedness [-Wpointer-sign] data[mypcBUFFER_LENGTH]= my_strdup(param_buffer_len, MYF(0)); /* BUFFER_LENGTH */ ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:30:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/mysql/my_sys.h:174:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *my_strdup(const char *from,myf MyFlags); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1862:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(param_decimal, "%d", (int)dec); ^ In file included from /usr/include/mysql/my_global.h:338:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1863:9: warning: pointer targets in passing argument 1 of 'my_strdup' differ in signedness [-Wpointer-sign] data[mypcDECIMAL_DIGITS]= my_strdup(param_decimal, MYF(0)); /* DECIMAL_DIGITS */ ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:30:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/mysql/my_sys.h:174:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *my_strdup(const char *from,myf MyFlags); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1879:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(param_desc_type, "%d", SQL_DATETIME); ^ In file included from /usr/include/mysql/my_global.h:338:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1880:9: warning: pointer targets in passing argument 1 of 'my_strdup' differ in signedness [-Wpointer-sign] data[mypcSQL_DATA_TYPE]= my_strdup(param_desc_type, MYF(0)); /* SQL_DATA_TYPE */ ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:30:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/mysql/my_sys.h:174:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *my_strdup(const char *from,myf MyFlags); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1893:9: warning: pointer targets in passing argument 1 of 'my_strdup' differ in signedness [-Wpointer-sign] data[mypcCHAR_OCTET_LENGTH]= my_strdup(param_buffer_len, MYF(0)); /* CHAR_OCTET_LENGTH */ ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:30:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/mysql/my_sys.h:174:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *my_strdup(const char *from,myf MyFlags); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1900:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(param_pos, "%d", (int) param_ordinal_position); ^ In file included from /usr/include/mysql/my_global.h:338:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1901:7: warning: pointer targets in passing argument 1 of 'my_strdup' differ in signedness [-Wpointer-sign] data[mypcORDINAL_POSITION]= my_strdup(param_pos, MYF(0)); /* ORDINAL_POSITION */ ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:30:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/catalog_no_i_s.c:32: /usr/include/mysql/my_sys.h:174:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *my_strdup(const char *from,myf MyFlags); ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1788:18: warning: unused variable 'sql_type_int' [-Wunused-variable] SQLINTEGER sql_type_int= 0; ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c:1787:19: warning: unused variable 'dec_int' [-Wunused-variable] SQLUINTEGER dec_int= 0; ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c: In function 'mysql_statistics': /var/uhubuild/work/compile/driver/catalog_no_i_s.c:2291:12: warning: unused variable 'mysql' [-Wunused-variable] MYSQL *mysql= &stmt->dbc->mysql; ^ /var/uhubuild/work/compile/driver/catalog_no_i_s.c: In function 'mysql_tables': /var/uhubuild/work/compile/driver/catalog_no_i_s.c:2396:13: warning: unused variable 'all_dbs' [-Wunused-variable] my_bool all_dbs= 1, user_tables, views; ^ In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/error.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ Building C object driver/CMakeFiles/myodbc5a.dir/prepare.c.o In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/dll.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ [ 78%] [ 80%] Building C object driver/CMakeFiles/myodbc5w.dir/driver.c.o In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/desc.c:37: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/desc.c: In function 'MySQLGetDescField': /var/uhubuild/work/compile/driver/desc.c:627:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (fld->loc == DESC_HDR && ^ [ 81%] Building C object driver/CMakeFiles/myodbc5w.dir/options.c.o [ 82%] Building C object driver/CMakeFiles/myodbc5a.dir/results.c.o Building C object driver/CMakeFiles/myodbc5a.dir/transact.c.o In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/cursor.c:41: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/cursor.c: In function 'insert_field': /var/uhubuild/work/compile/driver/cursor.c:492:5: warning: pointer targets in passing argument 4 of 'get_string' differ in signedness [-Wpointer-sign] dummy= get_string(stmt, nSrcCol, NULL, &length, as_string); ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/cursor.c:41: /var/uhubuild/work/compile/driver/myutil.h:412:8: note: expected 'ulong *' but argument is of type 'SQLINTEGER *' char * get_string (STMT *stmt, ulong column_number, char *value, ^ /var/uhubuild/work/compile/driver/cursor.c: In function 'fetch_bookmark': /var/uhubuild/work/compile/driver/cursor.c:991:5: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] curr_bookmark_index= atol((SQLCHAR *) TargetValuePtr); ^ In file included from /usr/include/mysql/my_global.h:342:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/cursor.c:41: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/driver/cursor.c: In function 'setpos_delete_bookmark': /var/uhubuild/work/compile/driver/cursor.c:1063:5: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] curr_bookmark_index= atol((SQLCHAR *) TargetValuePtr); ^ In file included from /usr/include/mysql/my_global.h:342:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/cursor.c:41: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/driver/cursor.c: In function 'setpos_update_bookmark': /var/uhubuild/work/compile/driver/cursor.c:1218:5: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] curr_bookmark_index= atol((SQLCHAR *) TargetValuePtr); ^ In file included from /usr/include/mysql/my_global.h:342:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/cursor.c:41: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/driver/cursor.c: In function 'batch_insert': /var/uhubuild/work/compile/driver/cursor.c:1543:11: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] _len= sprintf(_value, "%ld", i + 1); ^ /var/uhubuild/work/compile/driver/cursor.c:1505:13: warning: unused variable 'copy_bytes' [-Wunused-variable] ulong copy_bytes= 0; ^ /var/uhubuild/work/compile/driver/cursor.c: In function 'setpos_dae_check_and_init': /var/uhubuild/work/compile/driver/cursor.c:1605:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(rc= stmt_SQLCopyDesc(stmt, stmt->ard, stmt->setpos_apd)) ^ /var/uhubuild/work/compile/driver/cursor.c: In function 'my_SQLSetPos': /var/uhubuild/work/compile/driver/cursor.c:1752:51: warning: suggest parentheses around assignment used as truth value [-Wparentheses] DAE_SETPOS_UPDATE)) ^ /var/uhubuild/work/compile/driver/cursor.c:1778:51: warning: suggest parentheses around assignment used as truth value [-Wparentheses] DAE_SETPOS_INSERT)) ^ /var/uhubuild/work/compile/driver/cursor.c: In function 'SQLBulkOperations': /var/uhubuild/work/compile/driver/cursor.c:1939:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] DAE_SETPOS_UPDATE)) ^ [ 84%] In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/handle.c:44: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ Building C object driver/CMakeFiles/myodbc5w.dir/parse.c.o In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/execute.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/execute.c: In function 'check_c2sql_conversion_supported': /var/uhubuild/work/compile/driver/execute.c:467:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (aprec->type == SQL_DATETIME && iprec->type == SQL_INTERVAL ^ /var/uhubuild/work/compile/driver/execute.c: In function 'convert_c_type2str': /var/uhubuild/work/compile/driver/execute.c:523:37: warning: pointer targets in passing argument 3 of 'sqlwchar_as_utf8_ext' differ in signedness [-Wpointer-sign] &has_utf8_maxlen4); ^ In file included from /var/uhubuild/work/compile/driver/driver.h:534:0, from /var/uhubuild/work/compile/driver/execute.c:30: /var/uhubuild/work/compile/driver/../util/stringutil.h:91:10: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLCHAR *sqlwchar_as_utf8_ext(const SQLWCHAR *str, SQLINTEGER *len, ^ /var/uhubuild/work/compile/driver/execute.c:522:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *res= sqlwchar_as_utf8_ext((SQLWCHAR*)*res, length, buff, buff_max, ^ /var/uhubuild/work/compile/driver/execute.c:602:27: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] && (date->month == date->day == 1)) ^ /var/uhubuild/work/compile/driver/execute.c:634:41: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] !time->year && (time->month == time->day == 1)) ^ /var/uhubuild/work/compile/driver/execute.c:653:11: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLUINTEGER' [-Wformat=] sprintf(tmp_buf, ".%09d", time->fraction); ^ /var/uhubuild/work/compile/driver/execute.c:709:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLUINTEGER' [-Wformat=] interval->intval.day_second.minute); ^ /var/uhubuild/work/compile/driver/execute.c:709:48: warning: format '%d' expects argument of type 'int', but argument 4 has type 'SQLUINTEGER' [-Wformat=] /var/uhubuild/work/compile/driver/execute.c:714:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLUINTEGER' [-Wformat=] interval->intval.day_second.minute); ^ /var/uhubuild/work/compile/driver/execute.c:714:48: warning: format '%d' expects argument of type 'int', but argument 4 has type 'SQLUINTEGER' [-Wformat=] /var/uhubuild/work/compile/driver/execute.c:723:50: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLUINTEGER' [-Wformat=] interval->intval.day_second.second); ^ /var/uhubuild/work/compile/driver/execute.c:723:50: warning: format '%d' expects argument of type 'int', but argument 4 has type 'SQLUINTEGER' [-Wformat=] /var/uhubuild/work/compile/driver/execute.c:723:50: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLUINTEGER' [-Wformat=] /var/uhubuild/work/compile/driver/execute.c:729:50: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLUINTEGER' [-Wformat=] interval->intval.day_second.second); ^ /var/uhubuild/work/compile/driver/execute.c:729:50: warning: format '%d' expects argument of type 'int', but argument 4 has type 'SQLUINTEGER' [-Wformat=] /var/uhubuild/work/compile/driver/execute.c:729:50: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLUINTEGER' [-Wformat=] /var/uhubuild/work/compile/driver/execute.c: In function 'insert_param': /var/uhubuild/work/compile/driver/execute.c:1196:9: warning: pointer targets in passing argument 2 of 'copy_binhex_result' differ in signedness [-Wpointer-sign] copy_binhex_result(stmt, to, length * 2 + 1, &transformed_len, 0, data, length); ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/execute.c:30: /var/uhubuild/work/compile/driver/myutil.h:171:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN copy_binhex_result(STMT *stmt, ^ /var/uhubuild/work/compile/driver/execute.c: In function 'SQLCancel': /var/uhubuild/work/compile/driver/execute.c:1913:27: warning: pointer targets in passing argument 2 of 'mysql_real_connect' differ in signedness [-Wpointer-sign] dbc->ds->socket8, 0)) ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:31:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/execute.c:30: /usr/include/mysql/mysql.h:432:9: note: expected 'const char *' but argument is of type 'SQLCHAR *' MYSQL * STDCALL mysql_real_connect(MYSQL *mysql, const char *host, ^ /var/uhubuild/work/compile/driver/execute.c:1913:27: warning: pointer targets in passing argument 3 of 'mysql_real_connect' differ in signedness [-Wpointer-sign] dbc->ds->socket8, 0)) ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:31:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/execute.c:30: /usr/include/mysql/mysql.h:432:9: note: expected 'const char *' but argument is of type 'SQLCHAR *' MYSQL * STDCALL mysql_real_connect(MYSQL *mysql, const char *host, ^ /var/uhubuild/work/compile/driver/execute.c:1913:27: warning: pointer targets in passing argument 4 of 'mysql_real_connect' differ in signedness [-Wpointer-sign] dbc->ds->socket8, 0)) ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:31:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/execute.c:30: /usr/include/mysql/mysql.h:432:9: note: expected 'const char *' but argument is of type 'SQLCHAR *' MYSQL * STDCALL mysql_real_connect(MYSQL *mysql, const char *host, ^ /var/uhubuild/work/compile/driver/execute.c:1913:27: warning: pointer targets in passing argument 7 of 'mysql_real_connect' differ in signedness [-Wpointer-sign] dbc->ds->socket8, 0)) ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:31:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/execute.c:30: /usr/include/mysql/mysql.h:432:9: note: expected 'const char *' but argument is of type 'SQLCHAR *' MYSQL * STDCALL mysql_real_connect(MYSQL *mysql, const char *host, ^ /var/uhubuild/work/compile/driver/execute.c: At top level: /var/uhubuild/work/compile/driver/execute.c:421:15: warning: 'add2param_value' defined but not used [-Wunused-function] unsigned long add2param_value(MYSQL_BIND *bind, unsigned long pos, ^ [ 85%] In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/driver.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ [ 86%] [ 88%] Building C object driver/CMakeFiles/myodbc5w.dir/prepare.c.o In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/driver.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ Building C object driver/CMakeFiles/myodbc5a.dir/my_prepared_stmt.c.o [ 89%] Building C object driver/CMakeFiles/myodbc5a.dir/my_stmt.c.o Building C object driver/CMakeFiles/myodbc5w.dir/results.c.o In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/error.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/info.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/parse.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/parse.c:697:42: warning: "/*" within comment [-Wcomment] /*assert(parser->last_char!=NULL); /* no closing quote? */ ^ /var/uhubuild/work/compile/driver/parse.c: In function 'find_first_token': /var/uhubuild/work/compile/driver/parse.c:382:24: warning: unused variable 'before' [-Wunused-variable] const char * token, *before= end; ^ /var/uhubuild/work/compile/driver/parse.c: In function 'is_set_names_statement': /var/uhubuild/work/compile/driver/parse.c:411:3: warning: pointer targets in passing argument 1 of 'skip_leading_spaces' differ in signedness [-Wpointer-sign] query= skip_leading_spaces(query); ^ /var/uhubuild/work/compile/driver/parse.c:396:14: note: expected 'const char *' but argument is of type 'const SQLCHAR *' const char * skip_leading_spaces(const char *str) ^ /var/uhubuild/work/compile/driver/parse.c:411:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] query= skip_leading_spaces(query); ^ /var/uhubuild/work/compile/driver/parse.c: In function 'is_drop_procedure': /var/uhubuild/work/compile/driver/parse.c:428:3: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] if (myodbc_casecmp(query, "DROP", 4) == 0 && *(query+4) != '\0' ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/parse.c:30: /var/uhubuild/work/compile/driver/myutil.h:283:5: note: expected 'const char *' but argument is of type 'const SQLCHAR *' int myodbc_casecmp (const char *s, const char *t, uint len); ^ /var/uhubuild/work/compile/driver/parse.c:431:5: warning: pointer targets in passing argument 1 of 'skip_leading_spaces' differ in signedness [-Wpointer-sign] query= skip_leading_spaces(query+5); ^ /var/uhubuild/work/compile/driver/parse.c:396:14: note: expected 'const char *' but argument is of type 'const SQLCHAR *' const char * skip_leading_spaces(const char *str) ^ /var/uhubuild/work/compile/driver/parse.c:431:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] query= skip_leading_spaces(query+5); ^ /var/uhubuild/work/compile/driver/parse.c:432:5: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] return myodbc_casecmp(query, "PROCEDURE", 9) == 0; ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/parse.c:30: /var/uhubuild/work/compile/driver/myutil.h:283:5: note: expected 'const char *' but argument is of type 'const SQLCHAR *' int myodbc_casecmp (const char *s, const char *t, uint len); ^ /var/uhubuild/work/compile/driver/parse.c: In function 'is_drop_function': /var/uhubuild/work/compile/driver/parse.c:441:3: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] if (myodbc_casecmp(query, "DROP", 4) == 0 && *(query+4) != '\0' ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/parse.c:30: /var/uhubuild/work/compile/driver/myutil.h:283:5: note: expected 'const char *' but argument is of type 'const SQLCHAR *' int myodbc_casecmp (const char *s, const char *t, uint len); ^ /var/uhubuild/work/compile/driver/parse.c:444:5: warning: pointer targets in passing argument 1 of 'skip_leading_spaces' differ in signedness [-Wpointer-sign] query= skip_leading_spaces(query+5); ^ /var/uhubuild/work/compile/driver/parse.c:396:14: note: expected 'const char *' but argument is of type 'const SQLCHAR *' const char * skip_leading_spaces(const char *str) ^ /var/uhubuild/work/compile/driver/parse.c:444:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] query= skip_leading_spaces(query+5); ^ /var/uhubuild/work/compile/driver/parse.c:445:5: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] return myodbc_casecmp(query, "FUNCTION", 8) == 0; ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/parse.c:30: /var/uhubuild/work/compile/driver/myutil.h:283:5: note: expected 'const char *' but argument is of type 'const SQLCHAR *' int myodbc_casecmp (const char *s, const char *t, uint len); ^ /var/uhubuild/work/compile/driver/parse.c: In function 'is_create_procedure': /var/uhubuild/work/compile/driver/parse.c:456:3: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] if (myodbc_casecmp(query, "CREATE", 6) == 0 && *(query+6) != '\0' ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/parse.c:30: /var/uhubuild/work/compile/driver/myutil.h:283:5: note: expected 'const char *' but argument is of type 'const SQLCHAR *' int myodbc_casecmp (const char *s, const char *t, uint len); ^ /var/uhubuild/work/compile/driver/parse.c:459:5: warning: pointer targets in passing argument 1 of 'skip_leading_spaces' differ in signedness [-Wpointer-sign] query= skip_leading_spaces(query+7); ^ /var/uhubuild/work/compile/driver/parse.c:396:14: note: expected 'const char *' but argument is of type 'const SQLCHAR *' const char * skip_leading_spaces(const char *str) ^ /var/uhubuild/work/compile/driver/parse.c:459:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] query= skip_leading_spaces(query+7); ^ /var/uhubuild/work/compile/driver/parse.c:461:5: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] if (myodbc_casecmp(query, "DEFINER", 7) == 0) ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/parse.c:30: /var/uhubuild/work/compile/driver/myutil.h:283:5: note: expected 'const char *' but argument is of type 'const SQLCHAR *' int myodbc_casecmp (const char *s, const char *t, uint len); ^ /var/uhubuild/work/compile/driver/parse.c:466:5: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] return myodbc_casecmp(query, "PROCEDURE", 9) == 0; ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/parse.c:30: /var/uhubuild/work/compile/driver/myutil.h:283:5: note: expected 'const char *' but argument is of type 'const SQLCHAR *' int myodbc_casecmp (const char *s, const char *t, uint len); ^ /var/uhubuild/work/compile/driver/parse.c: In function 'is_create_function': /var/uhubuild/work/compile/driver/parse.c:475:3: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] if (myodbc_casecmp(query, "CREATE", 6) == 0 && *(query+6) != '\0' ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/parse.c:30: /var/uhubuild/work/compile/driver/myutil.h:283:5: note: expected 'const char *' but argument is of type 'const SQLCHAR *' int myodbc_casecmp (const char *s, const char *t, uint len); ^ /var/uhubuild/work/compile/driver/parse.c:478:5: warning: pointer targets in passing argument 1 of 'skip_leading_spaces' differ in signedness [-Wpointer-sign] query= skip_leading_spaces(query+7); ^ /var/uhubuild/work/compile/driver/parse.c:396:14: note: expected 'const char *' but argument is of type 'const SQLCHAR *' const char * skip_leading_spaces(const char *str) ^ /var/uhubuild/work/compile/driver/parse.c:478:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] query= skip_leading_spaces(query+7); ^ /var/uhubuild/work/compile/driver/parse.c:479:5: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] return myodbc_casecmp(query, "FUNCTION", 8) == 0; ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/parse.c:30: /var/uhubuild/work/compile/driver/myutil.h:283:5: note: expected 'const char *' but argument is of type 'const SQLCHAR *' int myodbc_casecmp (const char *s, const char *t, uint len); ^ /var/uhubuild/work/compile/driver/parse.c: In function 'is_use_db': /var/uhubuild/work/compile/driver/parse.c:488:3: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] if (myodbc_casecmp(query, "USE", 3) == 0 && *(query+3) != '\0' ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/parse.c:30: /var/uhubuild/work/compile/driver/myutil.h:283:5: note: expected 'const char *' but argument is of type 'const SQLCHAR *' int myodbc_casecmp (const char *s, const char *t, uint len); ^ In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/parse.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/parse.c:697:42: warning: "/*" within comment [-Wcomment] /*assert(parser->last_char!=NULL); /* no closing quote? */ ^ /var/uhubuild/work/compile/driver/parse.c: In function 'find_first_token': /var/uhubuild/work/compile/driver/parse.c:382:24: warning: unused variable 'before' [-Wunused-variable] const char * token, *before= end; ^ /var/uhubuild/work/compile/driver/parse.c: In function 'is_set_names_statement': /var/uhubuild/work/compile/driver/parse.c:411:3: warning: pointer targets in passing argument 1 of 'skip_leading_spaces' differ in signedness [-Wpointer-sign] query= skip_leading_spaces(query); ^ /var/uhubuild/work/compile/driver/parse.c:396:14: note: expected 'const char *' but argument is of type 'const SQLCHAR *' const char * skip_leading_spaces(const char *str) ^ /var/uhubuild/work/compile/driver/parse.c:411:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] query= skip_leading_spaces(query); ^ /var/uhubuild/work/compile/driver/parse.c: In function 'is_drop_procedure': /var/uhubuild/work/compile/driver/parse.c:428:3: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] if (myodbc_casecmp(query, "DROP", 4) == 0 && *(query+4) != '\0' ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/parse.c:30: /var/uhubuild/work/compile/driver/myutil.h:283:5: note: expected 'const char *' but argument is of type 'const SQLCHAR *' int myodbc_casecmp (const char *s, const char *t, uint len); ^ /var/uhubuild/work/compile/driver/parse.c:431:5: warning: pointer targets in passing argument 1 of 'skip_leading_spaces' differ in signedness [-Wpointer-sign] query= skip_leading_spaces(query+5); ^ /var/uhubuild/work/compile/driver/parse.c:396:14: note: expected 'const char *' but argument is of type 'const SQLCHAR *' const char * skip_leading_spaces(const char *str) ^ /var/uhubuild/work/compile/driver/parse.c:431:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] query= skip_leading_spaces(query+5); ^ /var/uhubuild/work/compile/driver/parse.c:432:5: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] return myodbc_casecmp(query, "PROCEDURE", 9) == 0; ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/parse.c:30: /var/uhubuild/work/compile/driver/myutil.h:283:5: note: expected 'const char *' but argument is of type 'const SQLCHAR *' int myodbc_casecmp (const char *s, const char *t, uint len); ^ /var/uhubuild/work/compile/driver/parse.c: In function 'is_drop_function': /var/uhubuild/work/compile/driver/parse.c:441:3: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] if (myodbc_casecmp(query, "DROP", 4) == 0 && *(query+4) != '\0' ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/parse.c:30: /var/uhubuild/work/compile/driver/myutil.h:283:5: note: expected 'const char *' but argument is of type 'const SQLCHAR *' int myodbc_casecmp (const char *s, const char *t, uint len); ^ /var/uhubuild/work/compile/driver/parse.c:444:5: warning: pointer targets in passing argument 1 of 'skip_leading_spaces' differ in signedness [-Wpointer-sign] query= skip_leading_spaces(query+5); ^ /var/uhubuild/work/compile/driver/parse.c:396:14: note: expected 'const char *' but argument is of type 'const SQLCHAR *' const char * skip_leading_spaces(const char *str) ^ /var/uhubuild/work/compile/driver/parse.c:444:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] query= skip_leading_spaces(query+5); ^ /var/uhubuild/work/compile/driver/parse.c:445:5: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] return myodbc_casecmp(query, "FUNCTION", 8) == 0; ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/parse.c:30: /var/uhubuild/work/compile/driver/myutil.h:283:5: note: expected 'const char *' but argument is of type 'const SQLCHAR *' int myodbc_casecmp (const char *s, const char *t, uint len); ^ /var/uhubuild/work/compile/driver/parse.c: In function 'is_create_procedure': /var/uhubuild/work/compile/driver/parse.c:456:3: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] if (myodbc_casecmp(query, "CREATE", 6) == 0 && *(query+6) != '\0' ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/parse.c:30: /var/uhubuild/work/compile/driver/myutil.h:283:5: note: expected 'const char *' but argument is of type 'const SQLCHAR *' int myodbc_casecmp (const char *s, const char *t, uint len); ^ /var/uhubuild/work/compile/driver/parse.c:459:5: warning: pointer targets in passing argument 1 of 'skip_leading_spaces' differ in signedness [-Wpointer-sign] query= skip_leading_spaces(query+7); ^ /var/uhubuild/work/compile/driver/parse.c:396:14: note: expected 'const char *' but argument is of type 'const SQLCHAR *' const char * skip_leading_spaces(const char *str) ^ /var/uhubuild/work/compile/driver/parse.c:459:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] query= skip_leading_spaces(query+7); ^ /var/uhubuild/work/compile/driver/parse.c:461:5: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] if (myodbc_casecmp(query, "DEFINER", 7) == 0) ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/parse.c:30: /var/uhubuild/work/compile/driver/myutil.h:283:5: note: expected 'const char *' but argument is of type 'const SQLCHAR *' int myodbc_casecmp (const char *s, const char *t, uint len); ^ /var/uhubuild/work/compile/driver/parse.c:466:5: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] return myodbc_casecmp(query, "PROCEDURE", 9) == 0; ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/parse.c:30: /var/uhubuild/work/compile/driver/myutil.h:283:5: note: expected 'const char *' but argument is of type 'const SQLCHAR *' int myodbc_casecmp (const char *s, const char *t, uint len); ^ /var/uhubuild/work/compile/driver/parse.c: In function 'is_create_function': /var/uhubuild/work/compile/driver/parse.c:475:3: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] if (myodbc_casecmp(query, "CREATE", 6) == 0 && *(query+6) != '\0' ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/parse.c:30: /var/uhubuild/work/compile/driver/myutil.h:283:5: note: expected 'const char *' but argument is of type 'const SQLCHAR *' int myodbc_casecmp (const char *s, const char *t, uint len); ^ /var/uhubuild/work/compile/driver/parse.c:478:5: warning: pointer targets in passing argument 1 of 'skip_leading_spaces' differ in signedness [-Wpointer-sign] query= skip_leading_spaces(query+7); ^ /var/uhubuild/work/compile/driver/parse.c:396:14: note: expected 'const char *' but argument is of type 'const SQLCHAR *' const char * skip_leading_spaces(const char *str) ^ /var/uhubuild/work/compile/driver/parse.c:478:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] query= skip_leading_spaces(query+7); ^ /var/uhubuild/work/compile/driver/parse.c:479:5: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] return myodbc_casecmp(query, "FUNCTION", 8) == 0; ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/parse.c:30: /var/uhubuild/work/compile/driver/myutil.h:283:5: note: expected 'const char *' but argument is of type 'const SQLCHAR *' int myodbc_casecmp (const char *s, const char *t, uint len); ^ /var/uhubuild/work/compile/driver/parse.c: In function 'is_use_db': /var/uhubuild/work/compile/driver/parse.c:488:3: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] if (myodbc_casecmp(query, "USE", 3) == 0 && *(query+3) != '\0' ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/parse.c:30: /var/uhubuild/work/compile/driver/myutil.h:283:5: note: expected 'const char *' but argument is of type 'const SQLCHAR *' int myodbc_casecmp (const char *s, const char *t, uint len); ^ [ 90%] [ 92%] [ 93%] In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/info.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ Building C object driver/CMakeFiles/myodbc5a.dir/utility.c.o In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/execute.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/execute.c: In function 'check_c2sql_conversion_supported': /var/uhubuild/work/compile/driver/execute.c:467:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (aprec->type == SQL_DATETIME && iprec->type == SQL_INTERVAL ^ /var/uhubuild/work/compile/driver/execute.c: In function 'convert_c_type2str': /var/uhubuild/work/compile/driver/execute.c:523:37: warning: pointer targets in passing argument 3 of 'sqlwchar_as_utf8_ext' differ in signedness [-Wpointer-sign] &has_utf8_maxlen4); ^ In file included from /var/uhubuild/work/compile/driver/driver.h:534:0, from /var/uhubuild/work/compile/driver/execute.c:30: /var/uhubuild/work/compile/driver/../util/stringutil.h:91:10: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLCHAR *sqlwchar_as_utf8_ext(const SQLWCHAR *str, SQLINTEGER *len, ^ /var/uhubuild/work/compile/driver/execute.c:522:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *res= sqlwchar_as_utf8_ext((SQLWCHAR*)*res, length, buff, buff_max, ^ /var/uhubuild/work/compile/driver/execute.c:602:27: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] && (date->month == date->day == 1)) ^ /var/uhubuild/work/compile/driver/execute.c:634:41: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] !time->year && (time->month == time->day == 1)) ^ /var/uhubuild/work/compile/driver/execute.c:653:11: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLUINTEGER' [-Wformat=] sprintf(tmp_buf, ".%09d", time->fraction); ^ /var/uhubuild/work/compile/driver/execute.c:709:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLUINTEGER' [-Wformat=] interval->intval.day_second.minute); ^ /var/uhubuild/work/compile/driver/execute.c:709:48: warning: format '%d' expects argument of type 'int', but argument 4 has type 'SQLUINTEGER' [-Wformat=] /var/uhubuild/work/compile/driver/execute.c:714:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLUINTEGER' [-Wformat=] interval->intval.day_second.minute); ^ /var/uhubuild/work/compile/driver/execute.c:714:48: warning: format '%d' expects argument of type 'int', but argument 4 has type 'SQLUINTEGER' [-Wformat=] /var/uhubuild/work/compile/driver/execute.c:723:50: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLUINTEGER' [-Wformat=] interval->intval.day_second.second); ^ /var/uhubuild/work/compile/driver/execute.c:723:50: warning: format '%d' expects argument of type 'int', but argument 4 has type 'SQLUINTEGER' [-Wformat=] /var/uhubuild/work/compile/driver/execute.c:723:50: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLUINTEGER' [-Wformat=] /var/uhubuild/work/compile/driver/execute.c:729:50: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLUINTEGER' [-Wformat=] interval->intval.day_second.second); ^ /var/uhubuild/work/compile/driver/execute.c:729:50: warning: format '%d' expects argument of type 'int', but argument 4 has type 'SQLUINTEGER' [-Wformat=] /var/uhubuild/work/compile/driver/execute.c:729:50: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLUINTEGER' [-Wformat=] /var/uhubuild/work/compile/driver/execute.c: In function 'insert_param': /var/uhubuild/work/compile/driver/execute.c:1196:9: warning: pointer targets in passing argument 2 of 'copy_binhex_result' differ in signedness [-Wpointer-sign] copy_binhex_result(stmt, to, length * 2 + 1, &transformed_len, 0, data, length); ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/execute.c:30: /var/uhubuild/work/compile/driver/myutil.h:171:11: note: expected 'SQLCHAR *' but argument is of type 'char *' SQLRETURN copy_binhex_result(STMT *stmt, ^ /var/uhubuild/work/compile/driver/execute.c: In function 'SQLCancel': /var/uhubuild/work/compile/driver/execute.c:1913:27: warning: pointer targets in passing argument 2 of 'mysql_real_connect' differ in signedness [-Wpointer-sign] dbc->ds->socket8, 0)) ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:31:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/execute.c:30: /usr/include/mysql/mysql.h:432:9: note: expected 'const char *' but argument is of type 'SQLCHAR *' MYSQL * STDCALL mysql_real_connect(MYSQL *mysql, const char *host, ^ /var/uhubuild/work/compile/driver/execute.c:1913:27: warning: pointer targets in passing argument 3 of 'mysql_real_connect' differ in signedness [-Wpointer-sign] dbc->ds->socket8, 0)) ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:31:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/execute.c:30: /usr/include/mysql/mysql.h:432:9: note: expected 'const char *' but argument is of type 'SQLCHAR *' MYSQL * STDCALL mysql_real_connect(MYSQL *mysql, const char *host, ^ /var/uhubuild/work/compile/driver/execute.c:1913:27: warning: pointer targets in passing argument 4 of 'mysql_real_connect' differ in signedness [-Wpointer-sign] dbc->ds->socket8, 0)) ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:31:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/execute.c:30: /usr/include/mysql/mysql.h:432:9: note: expected 'const char *' but argument is of type 'SQLCHAR *' MYSQL * STDCALL mysql_real_connect(MYSQL *mysql, const char *host, ^ /var/uhubuild/work/compile/driver/execute.c:1913:27: warning: pointer targets in passing argument 7 of 'mysql_real_connect' differ in signedness [-Wpointer-sign] dbc->ds->socket8, 0)) ^ In file included from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:31:0, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/execute.c:30: /usr/include/mysql/mysql.h:432:9: note: expected 'const char *' but argument is of type 'SQLCHAR *' MYSQL * STDCALL mysql_real_connect(MYSQL *mysql, const char *host, ^ /var/uhubuild/work/compile/driver/execute.c: At top level: /var/uhubuild/work/compile/driver/execute.c:421:15: warning: 'add2param_value' defined but not used [-Wunused-function] unsigned long add2param_value(MYSQL_BIND *bind, unsigned long pos, ^ Building C object driver/CMakeFiles/myodbc5a.dir/ansi.c.o [ 94%] In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/options.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/options.c: In function 'MySQLGetConnectAttr': /var/uhubuild/work/compile/driver/options.c:469:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (dbc->need_to_wakeup != 0 && wakeup_connection(dbc) ^ In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/handle.c:44: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ Building C object driver/CMakeFiles/myodbc5w.dir/transact.c.o Building C object driver/CMakeFiles/myodbc5w.dir/my_prepared_stmt.c.o [ 96%] [ 98%] [ 98%] In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/prepare.c:42: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/prepare.c: In function 'my_SQLPrepare': /var/uhubuild/work/compile/driver/prepare.c:97:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(szSqlStr= dupp_str((char *)szSqlStr, cbSqlStr))) ^ /var/uhubuild/work/compile/driver/prepare.c:103:3: warning: pointer targets in passing argument 2 of 'prepare' differ in signedness [-Wpointer-sign] return prepare(stmt, szSqlStr, cbSqlStr); ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/prepare.c:42: /var/uhubuild/work/compile/driver/myutil.h:417:11: note: expected 'char *' but argument is of type 'SQLCHAR *' SQLRETURN prepare (STMT *stmt, char * query, SQLINTEGER query_length); ^ Building C object driver/CMakeFiles/myodbc5w.dir/my_stmt.c.o Building C object driver/CMakeFiles/myodbc5w.dir/unicode.c.o Building C object driver/CMakeFiles/myodbc5w.dir/utility.c.o In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/prepare.c:42: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/prepare.c: In function 'my_SQLPrepare': /var/uhubuild/work/compile/driver/prepare.c:97:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(szSqlStr= dupp_str((char *)szSqlStr, cbSqlStr))) ^ /var/uhubuild/work/compile/driver/prepare.c:103:3: warning: pointer targets in passing argument 2 of 'prepare' differ in signedness [-Wpointer-sign] return prepare(stmt, szSqlStr, cbSqlStr); ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/prepare.c:42: /var/uhubuild/work/compile/driver/myutil.h:417:11: note: expected 'char *' but argument is of type 'SQLCHAR *' SQLRETURN prepare (STMT *stmt, char * query, SQLINTEGER query_length); ^ In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/transact.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/options.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/options.c: In function 'MySQLGetConnectAttr': /var/uhubuild/work/compile/driver/options.c:469:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (dbc->need_to_wakeup != 0 && wakeup_connection(dbc) ^ In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/transact.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/my_stmt.c:33: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/my_stmt.c: In function 'prepare': /var/uhubuild/work/compile/driver/my_stmt.c:429:16: warning: unused variable 'iprec' [-Wunused-variable] DESCREC *iprec= desc_get_rec(stmt->ipd, i, TRUE); ^ /var/uhubuild/work/compile/driver/my_stmt.c:428:16: warning: unused variable 'aprec' [-Wunused-variable] DESCREC *aprec= desc_get_rec(stmt->apd, i, TRUE); ^ /var/uhubuild/work/compile/driver/my_stmt.c: In function 'scroller_prefetch': /var/uhubuild/work/compile/driver/my_stmt.c:647:15: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long long int' [-Wformat=] "%*u", MAX32_BUFF_SIZE - 1, count); ^ /var/uhubuild/work/compile/driver/my_stmt.c:647:15: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long long int' [-Wformat=] /var/uhubuild/work/compile/driver/my_stmt.c: In function 'scrollable': /var/uhubuild/work/compile/driver/my_stmt.c:692:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!myodbc_casecmp(prev,"FOR",3) && !myodbc_casecmp(last,"UPDATE",6) ^ In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/my_prepared_stmt.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/my_prepared_stmt.c: In function 'allocate_buffer_for_field': /var/uhubuild/work/compile/driver/my_prepared_stmt.c:451:7: warning: statement with no effect [-Wunused-value] 1; ^ /var/uhubuild/work/compile/driver/my_prepared_stmt.c: In function 'ssps_get_double': /var/uhubuild/work/compile/driver/my_prepared_stmt.c:754:3: warning: enumeration value 'MYSQL_TYPE_NULL' not handled in switch [-Wswitch] switch (col_rbind->buffer_type) { ^ /var/uhubuild/work/compile/driver/my_prepared_stmt.c:754:3: warning: enumeration value 'MYSQL_TYPE_NEWDATE' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/my_prepared_stmt.c:754:3: warning: enumeration value 'MYSQL_TYPE_TIMESTAMP2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/my_prepared_stmt.c:754:3: warning: enumeration value 'MYSQL_TYPE_DATETIME2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/my_prepared_stmt.c:754:3: warning: enumeration value 'MYSQL_TYPE_TIME2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/my_prepared_stmt.c:754:3: warning: enumeration value 'MYSQL_TYPE_ENUM' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/my_prepared_stmt.c:754:3: warning: enumeration value 'MYSQL_TYPE_SET' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/my_prepared_stmt.c:754:3: warning: enumeration value 'MYSQL_TYPE_TINY_BLOB' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/my_prepared_stmt.c:754:3: warning: enumeration value 'MYSQL_TYPE_MEDIUM_BLOB' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/my_prepared_stmt.c:754:3: warning: enumeration value 'MYSQL_TYPE_LONG_BLOB' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/my_prepared_stmt.c:754:3: warning: enumeration value 'MYSQL_TYPE_GEOMETRY' not handled in switch [-Wswitch] In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/my_prepared_stmt.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/my_prepared_stmt.c: In function 'allocate_buffer_for_field': /var/uhubuild/work/compile/driver/my_prepared_stmt.c:451:7: warning: statement with no effect [-Wunused-value] 1; ^ /var/uhubuild/work/compile/driver/my_prepared_stmt.c: In function 'ssps_get_double': /var/uhubuild/work/compile/driver/my_prepared_stmt.c:754:3: warning: enumeration value 'MYSQL_TYPE_NULL' not handled in switch [-Wswitch] switch (col_rbind->buffer_type) { ^ /var/uhubuild/work/compile/driver/my_prepared_stmt.c:754:3: warning: enumeration value 'MYSQL_TYPE_NEWDATE' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/my_prepared_stmt.c:754:3: warning: enumeration value 'MYSQL_TYPE_TIMESTAMP2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/my_prepared_stmt.c:754:3: warning: enumeration value 'MYSQL_TYPE_DATETIME2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/my_prepared_stmt.c:754:3: warning: enumeration value 'MYSQL_TYPE_TIME2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/my_prepared_stmt.c:754:3: warning: enumeration value 'MYSQL_TYPE_ENUM' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/my_prepared_stmt.c:754:3: warning: enumeration value 'MYSQL_TYPE_SET' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/my_prepared_stmt.c:754:3: warning: enumeration value 'MYSQL_TYPE_TINY_BLOB' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/my_prepared_stmt.c:754:3: warning: enumeration value 'MYSQL_TYPE_MEDIUM_BLOB' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/my_prepared_stmt.c:754:3: warning: enumeration value 'MYSQL_TYPE_LONG_BLOB' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/my_prepared_stmt.c:754:3: warning: enumeration value 'MYSQL_TYPE_GEOMETRY' not handled in switch [-Wswitch] In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/my_stmt.c:33: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/my_stmt.c: In function 'prepare': /var/uhubuild/work/compile/driver/my_stmt.c:429:16: warning: unused variable 'iprec' [-Wunused-variable] DESCREC *iprec= desc_get_rec(stmt->ipd, i, TRUE); ^ /var/uhubuild/work/compile/driver/my_stmt.c:428:16: warning: unused variable 'aprec' [-Wunused-variable] DESCREC *aprec= desc_get_rec(stmt->apd, i, TRUE); ^ /var/uhubuild/work/compile/driver/my_stmt.c: In function 'scroller_prefetch': /var/uhubuild/work/compile/driver/my_stmt.c:647:15: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long long int' [-Wformat=] "%*u", MAX32_BUFF_SIZE - 1, count); ^ /var/uhubuild/work/compile/driver/my_stmt.c:647:15: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long long int' [-Wformat=] /var/uhubuild/work/compile/driver/my_stmt.c: In function 'scrollable': /var/uhubuild/work/compile/driver/my_stmt.c:692:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!myodbc_casecmp(prev,"FOR",3) && !myodbc_casecmp(last,"UPDATE",6) ^ In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/results.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/results.c: In function 'driver_supported_conversion': /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_DECIMAL' not handled in switch [-Wswitch] switch(field->type) ^ /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_TINY' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_SHORT' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_LONG' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_FLOAT' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_DOUBLE' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_NULL' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_TIMESTAMP' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_LONGLONG' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_INT24' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_DATE' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_TIME' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_DATETIME' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_YEAR' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_NEWDATE' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_VARCHAR' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_TIMESTAMP2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_DATETIME2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_TIME2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_NEWDECIMAL' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_ENUM' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_SET' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_TINY_BLOB' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_MEDIUM_BLOB' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_LONG_BLOB' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_BLOB' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_VAR_STRING' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_GEOMETRY' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c: In function 'sql_get_data': /var/uhubuild/work/compile/driver/results.c:476:9: warning: pointer targets in passing argument 2 of 'ssps_fetch_chunk' differ in signedness [-Wpointer-sign] return ssps_fetch_chunk(stmt, (SQLCHAR *)rgbValue, cbValueMax, pcbValue); ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/results.c:30: /var/uhubuild/work/compile/driver/myutil.h:436:11: note: expected 'char *' but argument is of type 'SQLCHAR *' SQLRETURN ssps_fetch_chunk (STMT *stmt, char *dest, unsigned long dest_bytes, ^ /var/uhubuild/work/compile/driver/results.c:476:9: warning: pointer targets in passing argument 4 of 'ssps_fetch_chunk' differ in signedness [-Wpointer-sign] return ssps_fetch_chunk(stmt, (SQLCHAR *)rgbValue, cbValueMax, pcbValue); ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/results.c:30: /var/uhubuild/work/compile/driver/myutil.h:436:11: note: expected 'long unsigned int *' but argument is of type 'SQLINTEGER *' SQLRETURN ssps_fetch_chunk (STMT *stmt, char *dest, unsigned long dest_bytes, ^ /var/uhubuild/work/compile/driver/results.c:668:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (field->type= MYSQL_TYPE_TIME) ^ /var/uhubuild/work/compile/driver/results.c: In function 'fill_fetch_bookmark_buffers': /var/uhubuild/work/compile/driver/results.c:1724:11: warning: unused variable 'copy_bytes' [-Wunused-variable] ulong copy_bytes= 0; ^ /var/uhubuild/work/compile/driver/results.c: In function 'myodbc_single_fetch': /var/uhubuild/work/compile/driver/results.c:1940:15: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] brow= atol((SQLCHAR *) stmt->stmt_options.bookmark_ptr); ^ In file included from /usr/include/mysql/my_global.h:342:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/results.c:30: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/driver/results.c: In function 'my_SQLExtendedFetch': /var/uhubuild/work/compile/driver/results.c:2201:10: warning: unused variable 'brow' [-Wunused-variable] long brow= 0; ^ In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/ansi.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/ansi.c: In function 'SQLTables': /var/uhubuild/work/compile/driver/ansi.c:1429:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] catalog= ""; ^ /var/uhubuild/work/compile/driver/ansi.c:1439:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] schema= ""; ^ /var/uhubuild/work/compile/driver/ansi.c:1449:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] table= ""; ^ In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/unicode.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/unicode.c: In function 'SQLTablesW': /var/uhubuild/work/compile/driver/unicode.c:1153:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] catalog8= ""; ^ /var/uhubuild/work/compile/driver/unicode.c:1159:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] schema8= ""; ^ /var/uhubuild/work/compile/driver/unicode.c:1165:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] table8= ""; ^ In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/results.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/results.c: In function 'driver_supported_conversion': /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_DECIMAL' not handled in switch [-Wswitch] switch(field->type) ^ /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_TINY' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_SHORT' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_LONG' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_FLOAT' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_DOUBLE' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_NULL' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_TIMESTAMP' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_LONGLONG' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_INT24' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_DATE' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_TIME' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_DATETIME' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_YEAR' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_NEWDATE' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_VARCHAR' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_TIMESTAMP2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_DATETIME2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_TIME2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_NEWDECIMAL' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_ENUM' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_SET' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_TINY_BLOB' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_MEDIUM_BLOB' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_LONG_BLOB' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_BLOB' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_VAR_STRING' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c:116:4: warning: enumeration value 'MYSQL_TYPE_GEOMETRY' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/results.c: In function 'sql_get_data': /var/uhubuild/work/compile/driver/results.c:476:9: warning: pointer targets in passing argument 2 of 'ssps_fetch_chunk' differ in signedness [-Wpointer-sign] return ssps_fetch_chunk(stmt, (SQLCHAR *)rgbValue, cbValueMax, pcbValue); ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/results.c:30: /var/uhubuild/work/compile/driver/myutil.h:436:11: note: expected 'char *' but argument is of type 'SQLCHAR *' SQLRETURN ssps_fetch_chunk (STMT *stmt, char *dest, unsigned long dest_bytes, ^ /var/uhubuild/work/compile/driver/results.c:476:9: warning: pointer targets in passing argument 4 of 'ssps_fetch_chunk' differ in signedness [-Wpointer-sign] return ssps_fetch_chunk(stmt, (SQLCHAR *)rgbValue, cbValueMax, pcbValue); ^ In file included from /var/uhubuild/work/compile/driver/driver.h:533:0, from /var/uhubuild/work/compile/driver/results.c:30: /var/uhubuild/work/compile/driver/myutil.h:436:11: note: expected 'long unsigned int *' but argument is of type 'SQLINTEGER *' SQLRETURN ssps_fetch_chunk (STMT *stmt, char *dest, unsigned long dest_bytes, ^ /var/uhubuild/work/compile/driver/results.c:668:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (field->type= MYSQL_TYPE_TIME) ^ /var/uhubuild/work/compile/driver/results.c: In function 'fill_fetch_bookmark_buffers': /var/uhubuild/work/compile/driver/results.c:1724:11: warning: unused variable 'copy_bytes' [-Wunused-variable] ulong copy_bytes= 0; ^ /var/uhubuild/work/compile/driver/results.c: In function 'myodbc_single_fetch': /var/uhubuild/work/compile/driver/results.c:1940:15: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] brow= atol((SQLCHAR *) stmt->stmt_options.bookmark_ptr); ^ In file included from /usr/include/mysql/my_global.h:342:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/results.c:30: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/driver/results.c: In function 'my_SQLExtendedFetch': /var/uhubuild/work/compile/driver/results.c:2201:10: warning: unused variable 'brow' [-Wunused-variable] long brow= 0; ^ In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/utility.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/utility.c: In function 'copy_ansi_result': /var/uhubuild/work/compile/driver/utility.c:579:35: warning: initialization from incompatible pointer type [enabled by default] const uchar *) = from_cs->cset->mb_wc; ^ /var/uhubuild/work/compile/driver/utility.c:581:29: warning: initialization from incompatible pointer type [enabled by default] uchar *e)= to_cs->cset->wc_mb; ^ /var/uhubuild/work/compile/driver/utility.c:586:5: warning: passing argument 1 of 'mb_wc' discards 'const' qualifier from pointer target type [enabled by default] int cnvres= (*mb_wc)(from_cs, &wc, (uchar *)src, (uchar *)src_end); ^ /var/uhubuild/work/compile/driver/utility.c:586:5: note: expected 'struct charset_info_st *' but argument is of type 'const struct CHARSET_INFO *' /var/uhubuild/work/compile/driver/utility.c:610:25: warning: passing argument 1 of 'wc_mb' discards 'const' qualifier from pointer target type [enabled by default] (result ? result_end : dummy + sizeof(dummy))); ^ /var/uhubuild/work/compile/driver/utility.c:610:25: note: expected 'struct charset_info_st *' but argument is of type 'const struct CHARSET_INFO *' /var/uhubuild/work/compile/driver/utility.c:646:44: warning: passing argument 1 of 'wc_mb' discards 'const' qualifier from pointer target type [enabled by default] sizeof(stmt->getdata.latest)); ^ /var/uhubuild/work/compile/driver/utility.c:646:44: note: expected 'struct charset_info_st *' but argument is of type 'const struct CHARSET_INFO *' /var/uhubuild/work/compile/driver/utility.c: In function 'copy_wchar_result': /var/uhubuild/work/compile/driver/utility.c:791:35: warning: initialization from incompatible pointer type [enabled by default] const uchar *) = from_cs->cset->mb_wc; ^ /var/uhubuild/work/compile/driver/utility.c:793:29: warning: initialization from incompatible pointer type [enabled by default] uchar *e)= utf8_charset_info->cset->wc_mb; ^ /var/uhubuild/work/compile/driver/utility.c:799:5: warning: passing argument 1 of 'mb_wc' discards 'const' qualifier from pointer target type [enabled by default] int cnvres= (*mb_wc)(from_cs, &wc, (uchar *)src, (uchar *)src_end); ^ /var/uhubuild/work/compile/driver/utility.c:799:5: note: expected 'struct charset_info_st *' but argument is of type 'const struct CHARSET_INFO *' /var/uhubuild/work/compile/driver/utility.c:822:5: warning: passing argument 1 of 'wc_mb' discards 'const' qualifier from pointer target type [enabled by default] to_cnvres= (*wc_mb)(utf8_charset_info, wc, u8, u8 + sizeof(u8)); ^ /var/uhubuild/work/compile/driver/utility.c:822:5: note: expected 'struct charset_info_st *' but argument is of type 'const struct CHARSET_INFO *' /var/uhubuild/work/compile/driver/utility.c: In function 'get_sql_data_type': /var/uhubuild/work/compile/driver/utility.c:1002:3: warning: enumeration value 'MYSQL_TYPE_TIMESTAMP2' not handled in switch [-Wswitch] switch (field->type) { ^ /var/uhubuild/work/compile/driver/utility.c:1002:3: warning: enumeration value 'MYSQL_TYPE_DATETIME2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/utility.c:1002:3: warning: enumeration value 'MYSQL_TYPE_TIME2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/utility.c: In function 'fill_display_size_buff': /var/uhubuild/work/compile/driver/utility.c:1222:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] sprintf(buff,size == SQL_NO_TOTAL ? "%d" : (sizeof(SQLLEN) == 4 ? "%lu" : "%lld"), size); ^ /var/uhubuild/work/compile/driver/utility.c: In function 'fill_transfer_oct_len_buff': /var/uhubuild/work/compile/driver/utility.c:1245:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] sprintf(buff, len == SQL_NO_TOTAL ? "%d" : (sizeof(SQLLEN) == 4 ? "%lu" : "%lld"), len ); ^ /var/uhubuild/work/compile/driver/utility.c: In function 'fill_column_size_buff': /var/uhubuild/work/compile/driver/utility.c:1263:7: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLUINTEGER' [-Wformat=] (sizeof(SQLULEN) == 4 ? "%lu" : "%llu")), size); ^ /var/uhubuild/work/compile/driver/utility.c: In function 'get_column_size': /var/uhubuild/work/compile/driver/utility.c:1297:3: warning: enumeration value 'MYSQL_TYPE_TIMESTAMP2' not handled in switch [-Wswitch] switch (field->type) { ^ /var/uhubuild/work/compile/driver/utility.c:1297:3: warning: enumeration value 'MYSQL_TYPE_DATETIME2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/utility.c:1297:3: warning: enumeration value 'MYSQL_TYPE_TIME2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/utility.c: In function 'get_transfer_octet_length': /var/uhubuild/work/compile/driver/utility.c:1445:3: warning: enumeration value 'MYSQL_TYPE_TIMESTAMP2' not handled in switch [-Wswitch] switch (field->type) { ^ /var/uhubuild/work/compile/driver/utility.c:1445:3: warning: enumeration value 'MYSQL_TYPE_DATETIME2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/utility.c:1445:3: warning: enumeration value 'MYSQL_TYPE_TIME2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/utility.c: In function 'get_display_size': /var/uhubuild/work/compile/driver/utility.c:1537:3: warning: enumeration value 'MYSQL_TYPE_TIMESTAMP2' not handled in switch [-Wswitch] switch (field->type) { ^ /var/uhubuild/work/compile/driver/utility.c:1537:3: warning: enumeration value 'MYSQL_TYPE_DATETIME2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/utility.c:1537:3: warning: enumeration value 'MYSQL_TYPE_TIME2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/utility.c: In function 'get_bookmark_value': /var/uhubuild/work/compile/driver/utility.c:1918:5: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] return atol((SQLCHAR *) rgbValue); ^ In file included from /usr/include/mysql/my_global.h:342:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/utility.c:30: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/driver/utility.c: In function 'is_minimum_version': /var/uhubuild/work/compile/driver/utility.c:2455:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/driver/utility.c:2454:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ /var/uhubuild/work/compile/driver/utility.c: In function 'set_sql_select_limit': /var/uhubuild/work/compile/driver/utility.c:3004:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || new_value == sql_select_unlimited && dbc->sql_select_limit == 0) ^ /var/uhubuild/work/compile/driver/utility.c: In function 'proc_get_param_type': /var/uhubuild/work/compile/driver/utility.c:3038:3: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] if (len >= 6 && !myodbc_casecmp(proc, "INOUT ", 6)) ^ /var/uhubuild/work/compile/driver/utility.c:2346:5: note: expected 'const char *' but argument is of type 'SQLCHAR *' int myodbc_casecmp(const char *s, const char *t, uint len) ^ /var/uhubuild/work/compile/driver/utility.c:3044:3: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] if (len >= 4 && !myodbc_casecmp(proc, "OUT ", 4)) ^ /var/uhubuild/work/compile/driver/utility.c:2346:5: note: expected 'const char *' but argument is of type 'SQLCHAR *' int myodbc_casecmp(const char *s, const char *t, uint len) ^ /var/uhubuild/work/compile/driver/utility.c:3050:3: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] if (len >= 3 && !myodbc_casecmp(proc, "IN ", 3)) ^ /var/uhubuild/work/compile/driver/utility.c:2346:5: note: expected 'const char *' but argument is of type 'SQLCHAR *' int myodbc_casecmp(const char *s, const char *t, uint len) ^ /var/uhubuild/work/compile/driver/utility.c: In function 'proc_get_param_dbtype': /var/uhubuild/work/compile/driver/utility.c:3102:31: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *trim_str, *start_pos= ptype; ^ /var/uhubuild/work/compile/driver/utility.c:3112:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] " charset ")) ^ /var/uhubuild/work/compile/driver/utility.c:3114:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptype= trim_str; ^ /var/uhubuild/work/compile/driver/utility.c: At top level: /var/uhubuild/work/compile/driver/utility.c:3132:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"bit", 3, SQL_BIT, MYSQL_TYPE_BIT, 1, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3132:3: warning: (near initialization for 'SQL_TYPE_MAP_values[0].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3133:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"bool", 4, SQL_BIT, MYSQL_TYPE_BIT, 1, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3133:3: warning: (near initialization for 'SQL_TYPE_MAP_values[1].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3136:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"tinyint", 7, SQL_TINYINT, MYSQL_TYPE_TINY, 1, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3136:3: warning: (near initialization for 'SQL_TYPE_MAP_values[2].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3139:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"bigint", 6, SQL_BIGINT, MYSQL_TYPE_LONGLONG, 20, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3139:3: warning: (near initialization for 'SQL_TYPE_MAP_values[3].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3142:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"long varbinary", 14, SQL_LONGVARBINARY, MYSQL_TYPE_MEDIUM_BLOB, 16777215, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3142:3: warning: (near initialization for 'SQL_TYPE_MAP_values[4].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3143:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"blob", 4, SQL_LONGVARBINARY, MYSQL_TYPE_BLOB, 65535, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3143:3: warning: (near initialization for 'SQL_TYPE_MAP_values[5].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3144:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"longblob", 8, SQL_LONGVARBINARY, MYSQL_TYPE_LONG_BLOB, 4294967295UL, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3144:3: warning: (near initialization for 'SQL_TYPE_MAP_values[6].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3145:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"tinyblob", 8, SQL_LONGVARBINARY, MYSQL_TYPE_TINY_BLOB, 255, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3145:3: warning: (near initialization for 'SQL_TYPE_MAP_values[7].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3146:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"mediumblob", 10, SQL_LONGVARBINARY, MYSQL_TYPE_MEDIUM_BLOB, 16777215,1 }, ^ /var/uhubuild/work/compile/driver/utility.c:3146:3: warning: (near initialization for 'SQL_TYPE_MAP_values[8].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3149:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"varbinary", 9, SQL_VARBINARY, MYSQL_TYPE_VAR_STRING, 0, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3149:3: warning: (near initialization for 'SQL_TYPE_MAP_values[9].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3152:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"binary", 6, SQL_BINARY, MYSQL_TYPE_STRING, 0, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3152:3: warning: (near initialization for 'SQL_TYPE_MAP_values[10].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3155:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"long varchar", 12, SQL_LONGVARCHAR, MYSQL_TYPE_MEDIUM_BLOB, 16777215, 0}, ^ /var/uhubuild/work/compile/driver/utility.c:3155:3: warning: (near initialization for 'SQL_TYPE_MAP_values[11].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3156:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"text", 4, SQL_LONGVARCHAR, MYSQL_TYPE_BLOB, 65535, 0}, ^ /var/uhubuild/work/compile/driver/utility.c:3156:3: warning: (near initialization for 'SQL_TYPE_MAP_values[12].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3157:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"mediumtext", 10, SQL_LONGVARCHAR, MYSQL_TYPE_MEDIUM_BLOB, 16777215, 0}, ^ /var/uhubuild/work/compile/driver/utility.c:3157:3: warning: (near initialization for 'SQL_TYPE_MAP_values[13].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3158:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"longtext", 8, SQL_LONGVARCHAR, MYSQL_TYPE_LONG_BLOB, 4294967295UL, 0}, ^ /var/uhubuild/work/compile/driver/utility.c:3158:3: warning: (near initialization for 'SQL_TYPE_MAP_values[14].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3159:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"tinytext", 8, SQL_LONGVARCHAR, MYSQL_TYPE_TINY_BLOB, 255, 0}, ^ /var/uhubuild/work/compile/driver/utility.c:3159:3: warning: (near initialization for 'SQL_TYPE_MAP_values[15].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3162:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"char", 4, SQL_CHAR, MYSQL_TYPE_STRING, 0, 0}, ^ /var/uhubuild/work/compile/driver/utility.c:3162:3: warning: (near initialization for 'SQL_TYPE_MAP_values[16].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3163:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"enum", 4, SQL_CHAR, MYSQL_TYPE_STRING, 0, 0}, ^ /var/uhubuild/work/compile/driver/utility.c:3163:3: warning: (near initialization for 'SQL_TYPE_MAP_values[17].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3164:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"set", 3, SQL_CHAR, MYSQL_TYPE_STRING, 0, 0}, ^ /var/uhubuild/work/compile/driver/utility.c:3164:3: warning: (near initialization for 'SQL_TYPE_MAP_values[18].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3167:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"numeric", 7, SQL_NUMERIC, MYSQL_TYPE_DECIMAL, 0, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3167:3: warning: (near initialization for 'SQL_TYPE_MAP_values[19].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3170:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"decimal", 7, SQL_DECIMAL, MYSQL_TYPE_DECIMAL, 0, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3170:3: warning: (near initialization for 'SQL_TYPE_MAP_values[20].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3173:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"int", 3, SQL_INTEGER, MYSQL_TYPE_LONG, 10, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3173:3: warning: (near initialization for 'SQL_TYPE_MAP_values[21].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3174:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"mediumint", 9, SQL_INTEGER, MYSQL_TYPE_INT24, 8, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3174:3: warning: (near initialization for 'SQL_TYPE_MAP_values[22].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3177:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"smallint", 8, SQL_SMALLINT, MYSQL_TYPE_SHORT, 5, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3177:3: warning: (near initialization for 'SQL_TYPE_MAP_values[23].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3180:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"float", 5, SQL_REAL, MYSQL_TYPE_FLOAT, 7, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3180:3: warning: (near initialization for 'SQL_TYPE_MAP_values[24].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3183:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"double", 6, SQL_DOUBLE, MYSQL_TYPE_DOUBLE, 15, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3183:3: warning: (near initialization for 'SQL_TYPE_MAP_values[25].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3186:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"datetime", 8, SQL_TYPE_TIMESTAMP, MYSQL_TYPE_DATETIME, 19, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3186:3: warning: (near initialization for 'SQL_TYPE_MAP_values[26].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3189:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"varchar", 7, SQL_VARCHAR, MYSQL_TYPE_VARCHAR, 0, 0}, ^ /var/uhubuild/work/compile/driver/utility.c:3189:3: warning: (near initialization for 'SQL_TYPE_MAP_values[27].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3192:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"date", 4, SQL_TYPE_DATE, MYSQL_TYPE_DATE, 10, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3192:3: warning: (near initialization for 'SQL_TYPE_MAP_values[28].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3195:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"year", 4, SQL_SMALLINT, MYSQL_TYPE_YEAR, 2, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3195:3: warning: (near initialization for 'SQL_TYPE_MAP_values[29].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3198:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"timestamp", 9, SQL_TYPE_TIMESTAMP, MYSQL_TYPE_TIMESTAMP, 19, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3198:3: warning: (near initialization for 'SQL_TYPE_MAP_values[30].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3201:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"time", 4, SQL_TYPE_TIME, MYSQL_TYPE_TIME, 8, 1} ^ /var/uhubuild/work/compile/driver/utility.c:3201:3: warning: (near initialization for 'SQL_TYPE_MAP_values[31].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c: In function 'proc_get_param_sql_type_index': /var/uhubuild/work/compile/driver/utility.c:3235:10: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] SQL_TYPE_MAP_values[i].name_length))) ^ /var/uhubuild/work/compile/driver/utility.c:2346:5: note: expected 'const char *' but argument is of type 'SQLCHAR *' int myodbc_casecmp(const char *s, const char *t, uint len) ^ /var/uhubuild/work/compile/driver/utility.c:3235:10: warning: pointer targets in passing argument 2 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] SQL_TYPE_MAP_values[i].name_length))) ^ /var/uhubuild/work/compile/driver/utility.c:2346:5: note: expected 'const char *' but argument is of type 'SQLCHAR *' int myodbc_casecmp(const char *s, const char *t, uint len) ^ /var/uhubuild/work/compile/driver/utility.c: In function 'proc_parse_sizes': /var/uhubuild/work/compile/driver/utility.c:3294:7: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] param_size= atoi(number_to_parse); ^ In file included from /usr/include/mysql/my_global.h:342:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/utility.c:30: /usr/include/stdlib.h:147:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int atoi (const char *__nptr) ^ /var/uhubuild/work/compile/driver/utility.c:3296:7: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] *dec= (SQLSMALLINT)atoi(number_to_parse); ^ In file included from /usr/include/mysql/my_global.h:342:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/utility.c:30: /usr/include/stdlib.h:147:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int atoi (const char *__nptr) ^ /var/uhubuild/work/compile/driver/utility.c: In function 'proc_get_param_size': /var/uhubuild/work/compile/driver/utility.c:3361:3: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] SQLCHAR *start_pos= strchr(ptype, '('); ^ In file included from /usr/include/mysql/m_string.h:34:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:33, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/utility.c:30: /usr/include/string.h:236:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *strchr (const char *__s, int __c) ^ /var/uhubuild/work/compile/driver/utility.c:3361:23: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] SQLCHAR *start_pos= strchr(ptype, '('); ^ /var/uhubuild/work/compile/driver/utility.c:3362:3: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] SQLCHAR *end_pos= strrchr(ptype, ')'); ^ In file included from /usr/include/mysql/m_string.h:34:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:33, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/utility.c:30: /usr/include/string.h:263:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *strrchr (const char *__s, int __c) ^ /var/uhubuild/work/compile/driver/utility.c:3362:21: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] SQLCHAR *end_pos= strrchr(ptype, ')'); ^ /var/uhubuild/work/compile/driver/utility.c:3386:7: warning: pointer targets in passing argument 1 of 'myodbc_strcasecmp' differ in signedness [-Wpointer-sign] if (!myodbc_strcasecmp(SQL_TYPE_MAP_values[sql_type_index].type_name, "set")) ^ /var/uhubuild/work/compile/driver/utility.c:2322:5: note: expected 'const char *' but argument is of type 'SQLCHAR *' int myodbc_strcasecmp(const char *s, const char *t) ^ /var/uhubuild/work/compile/driver/utility.c:3390:7: warning: pointer targets in passing argument 1 of 'myodbc_strcasecmp' differ in signedness [-Wpointer-sign] else if (!myodbc_strcasecmp(SQL_TYPE_MAP_values[sql_type_index].type_name, "enum")) ^ /var/uhubuild/work/compile/driver/utility.c:2322:5: note: expected 'const char *' but argument is of type 'SQLCHAR *' int myodbc_strcasecmp(const char *s, const char *t) ^ Linking CXX shared library ../lib/libmyodbc5a.so In file included from /var/uhubuild/work/compile/driver/driver.h:66:0, from /var/uhubuild/work/compile/driver/utility.c:30: /var/uhubuild/work/compile/driver/parse.h:115:29: warning: "/*" within comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /var/uhubuild/work/compile/driver/utility.c: In function 'copy_ansi_result': /var/uhubuild/work/compile/driver/utility.c:579:35: warning: initialization from incompatible pointer type [enabled by default] const uchar *) = from_cs->cset->mb_wc; ^ /var/uhubuild/work/compile/driver/utility.c:581:29: warning: initialization from incompatible pointer type [enabled by default] uchar *e)= to_cs->cset->wc_mb; ^ /var/uhubuild/work/compile/driver/utility.c:586:5: warning: passing argument 1 of 'mb_wc' discards 'const' qualifier from pointer target type [enabled by default] int cnvres= (*mb_wc)(from_cs, &wc, (uchar *)src, (uchar *)src_end); ^ /var/uhubuild/work/compile/driver/utility.c:586:5: note: expected 'struct charset_info_st *' but argument is of type 'const struct CHARSET_INFO *' /var/uhubuild/work/compile/driver/utility.c:610:25: warning: passing argument 1 of 'wc_mb' discards 'const' qualifier from pointer target type [enabled by default] (result ? result_end : dummy + sizeof(dummy))); ^ /var/uhubuild/work/compile/driver/utility.c:610:25: note: expected 'struct charset_info_st *' but argument is of type 'const struct CHARSET_INFO *' /var/uhubuild/work/compile/driver/utility.c:646:44: warning: passing argument 1 of 'wc_mb' discards 'const' qualifier from pointer target type [enabled by default] sizeof(stmt->getdata.latest)); ^ /var/uhubuild/work/compile/driver/utility.c:646:44: note: expected 'struct charset_info_st *' but argument is of type 'const struct CHARSET_INFO *' /var/uhubuild/work/compile/driver/utility.c: In function 'copy_wchar_result': /var/uhubuild/work/compile/driver/utility.c:791:35: warning: initialization from incompatible pointer type [enabled by default] const uchar *) = from_cs->cset->mb_wc; ^ /var/uhubuild/work/compile/driver/utility.c:793:29: warning: initialization from incompatible pointer type [enabled by default] uchar *e)= utf8_charset_info->cset->wc_mb; ^ /var/uhubuild/work/compile/driver/utility.c:799:5: warning: passing argument 1 of 'mb_wc' discards 'const' qualifier from pointer target type [enabled by default] int cnvres= (*mb_wc)(from_cs, &wc, (uchar *)src, (uchar *)src_end); ^ /var/uhubuild/work/compile/driver/utility.c:799:5: note: expected 'struct charset_info_st *' but argument is of type 'const struct CHARSET_INFO *' /var/uhubuild/work/compile/driver/utility.c:822:5: warning: passing argument 1 of 'wc_mb' discards 'const' qualifier from pointer target type [enabled by default] to_cnvres= (*wc_mb)(utf8_charset_info, wc, u8, u8 + sizeof(u8)); ^ /var/uhubuild/work/compile/driver/utility.c:822:5: note: expected 'struct charset_info_st *' but argument is of type 'const struct CHARSET_INFO *' /var/uhubuild/work/compile/driver/utility.c: In function 'get_sql_data_type': /var/uhubuild/work/compile/driver/utility.c:1002:3: warning: enumeration value 'MYSQL_TYPE_TIMESTAMP2' not handled in switch [-Wswitch] switch (field->type) { ^ /var/uhubuild/work/compile/driver/utility.c:1002:3: warning: enumeration value 'MYSQL_TYPE_DATETIME2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/utility.c:1002:3: warning: enumeration value 'MYSQL_TYPE_TIME2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/utility.c: In function 'fill_display_size_buff': /var/uhubuild/work/compile/driver/utility.c:1222:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] sprintf(buff,size == SQL_NO_TOTAL ? "%d" : (sizeof(SQLLEN) == 4 ? "%lu" : "%lld"), size); ^ /var/uhubuild/work/compile/driver/utility.c: In function 'fill_transfer_oct_len_buff': /var/uhubuild/work/compile/driver/utility.c:1245:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' [-Wformat=] sprintf(buff, len == SQL_NO_TOTAL ? "%d" : (sizeof(SQLLEN) == 4 ? "%lu" : "%lld"), len ); ^ /var/uhubuild/work/compile/driver/utility.c: In function 'fill_column_size_buff': /var/uhubuild/work/compile/driver/utility.c:1263:7: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLUINTEGER' [-Wformat=] (sizeof(SQLULEN) == 4 ? "%lu" : "%llu")), size); ^ /var/uhubuild/work/compile/driver/utility.c: In function 'get_column_size': /var/uhubuild/work/compile/driver/utility.c:1297:3: warning: enumeration value 'MYSQL_TYPE_TIMESTAMP2' not handled in switch [-Wswitch] switch (field->type) { ^ /var/uhubuild/work/compile/driver/utility.c:1297:3: warning: enumeration value 'MYSQL_TYPE_DATETIME2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/utility.c:1297:3: warning: enumeration value 'MYSQL_TYPE_TIME2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/utility.c: In function 'get_transfer_octet_length': /var/uhubuild/work/compile/driver/utility.c:1445:3: warning: enumeration value 'MYSQL_TYPE_TIMESTAMP2' not handled in switch [-Wswitch] switch (field->type) { ^ /var/uhubuild/work/compile/driver/utility.c:1445:3: warning: enumeration value 'MYSQL_TYPE_DATETIME2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/utility.c:1445:3: warning: enumeration value 'MYSQL_TYPE_TIME2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/utility.c: In function 'get_display_size': /var/uhubuild/work/compile/driver/utility.c:1537:3: warning: enumeration value 'MYSQL_TYPE_TIMESTAMP2' not handled in switch [-Wswitch] switch (field->type) { ^ /var/uhubuild/work/compile/driver/utility.c:1537:3: warning: enumeration value 'MYSQL_TYPE_DATETIME2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/utility.c:1537:3: warning: enumeration value 'MYSQL_TYPE_TIME2' not handled in switch [-Wswitch] /var/uhubuild/work/compile/driver/utility.c: In function 'get_bookmark_value': /var/uhubuild/work/compile/driver/utility.c:1918:5: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] return atol((SQLCHAR *) rgbValue); ^ In file included from /usr/include/mysql/my_global.h:342:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/utility.c:30: /usr/include/stdlib.h:150:17: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern long int atol (const char *__nptr) ^ /var/uhubuild/work/compile/driver/utility.c: In function 'is_minimum_version': /var/uhubuild/work/compile/driver/utility.c:2455:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/driver/utility.c:2454:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ /var/uhubuild/work/compile/driver/utility.c: In function 'set_sql_select_limit': /var/uhubuild/work/compile/driver/utility.c:3004:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || new_value == sql_select_unlimited && dbc->sql_select_limit == 0) ^ /var/uhubuild/work/compile/driver/utility.c: In function 'proc_get_param_type': /var/uhubuild/work/compile/driver/utility.c:3038:3: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] if (len >= 6 && !myodbc_casecmp(proc, "INOUT ", 6)) ^ /var/uhubuild/work/compile/driver/utility.c:2346:5: note: expected 'const char *' but argument is of type 'SQLCHAR *' int myodbc_casecmp(const char *s, const char *t, uint len) ^ /var/uhubuild/work/compile/driver/utility.c:3044:3: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] if (len >= 4 && !myodbc_casecmp(proc, "OUT ", 4)) ^ /var/uhubuild/work/compile/driver/utility.c:2346:5: note: expected 'const char *' but argument is of type 'SQLCHAR *' int myodbc_casecmp(const char *s, const char *t, uint len) ^ /var/uhubuild/work/compile/driver/utility.c:3050:3: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] if (len >= 3 && !myodbc_casecmp(proc, "IN ", 3)) ^ /var/uhubuild/work/compile/driver/utility.c:2346:5: note: expected 'const char *' but argument is of type 'SQLCHAR *' int myodbc_casecmp(const char *s, const char *t, uint len) ^ /var/uhubuild/work/compile/driver/utility.c: In function 'proc_get_param_dbtype': /var/uhubuild/work/compile/driver/utility.c:3102:31: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *trim_str, *start_pos= ptype; ^ /var/uhubuild/work/compile/driver/utility.c:3112:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] " charset ")) ^ /var/uhubuild/work/compile/driver/utility.c:3114:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptype= trim_str; ^ /var/uhubuild/work/compile/driver/utility.c: At top level: /var/uhubuild/work/compile/driver/utility.c:3132:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"bit", 3, SQL_BIT, MYSQL_TYPE_BIT, 1, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3132:3: warning: (near initialization for 'SQL_TYPE_MAP_values[0].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3133:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"bool", 4, SQL_BIT, MYSQL_TYPE_BIT, 1, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3133:3: warning: (near initialization for 'SQL_TYPE_MAP_values[1].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3136:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"tinyint", 7, SQL_TINYINT, MYSQL_TYPE_TINY, 1, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3136:3: warning: (near initialization for 'SQL_TYPE_MAP_values[2].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3139:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"bigint", 6, SQL_BIGINT, MYSQL_TYPE_LONGLONG, 20, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3139:3: warning: (near initialization for 'SQL_TYPE_MAP_values[3].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3142:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"long varbinary", 14, SQL_LONGVARBINARY, MYSQL_TYPE_MEDIUM_BLOB, 16777215, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3142:3: warning: (near initialization for 'SQL_TYPE_MAP_values[4].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3143:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"blob", 4, SQL_LONGVARBINARY, MYSQL_TYPE_BLOB, 65535, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3143:3: warning: (near initialization for 'SQL_TYPE_MAP_values[5].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3144:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"longblob", 8, SQL_LONGVARBINARY, MYSQL_TYPE_LONG_BLOB, 4294967295UL, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3144:3: warning: (near initialization for 'SQL_TYPE_MAP_values[6].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3145:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"tinyblob", 8, SQL_LONGVARBINARY, MYSQL_TYPE_TINY_BLOB, 255, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3145:3: warning: (near initialization for 'SQL_TYPE_MAP_values[7].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3146:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"mediumblob", 10, SQL_LONGVARBINARY, MYSQL_TYPE_MEDIUM_BLOB, 16777215,1 }, ^ /var/uhubuild/work/compile/driver/utility.c:3146:3: warning: (near initialization for 'SQL_TYPE_MAP_values[8].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3149:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"varbinary", 9, SQL_VARBINARY, MYSQL_TYPE_VAR_STRING, 0, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3149:3: warning: (near initialization for 'SQL_TYPE_MAP_values[9].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3152:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"binary", 6, SQL_BINARY, MYSQL_TYPE_STRING, 0, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3152:3: warning: (near initialization for 'SQL_TYPE_MAP_values[10].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3155:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"long varchar", 12, SQL_LONGVARCHAR, MYSQL_TYPE_MEDIUM_BLOB, 16777215, 0}, ^ /var/uhubuild/work/compile/driver/utility.c:3155:3: warning: (near initialization for 'SQL_TYPE_MAP_values[11].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3156:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"text", 4, SQL_LONGVARCHAR, MYSQL_TYPE_BLOB, 65535, 0}, ^ /var/uhubuild/work/compile/driver/utility.c:3156:3: warning: (near initialization for 'SQL_TYPE_MAP_values[12].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3157:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"mediumtext", 10, SQL_LONGVARCHAR, MYSQL_TYPE_MEDIUM_BLOB, 16777215, 0}, ^ /var/uhubuild/work/compile/driver/utility.c:3157:3: warning: (near initialization for 'SQL_TYPE_MAP_values[13].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3158:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"longtext", 8, SQL_LONGVARCHAR, MYSQL_TYPE_LONG_BLOB, 4294967295UL, 0}, ^ /var/uhubuild/work/compile/driver/utility.c:3158:3: warning: (near initialization for 'SQL_TYPE_MAP_values[14].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3159:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"tinytext", 8, SQL_LONGVARCHAR, MYSQL_TYPE_TINY_BLOB, 255, 0}, ^ /var/uhubuild/work/compile/driver/utility.c:3159:3: warning: (near initialization for 'SQL_TYPE_MAP_values[15].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3162:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"char", 4, SQL_CHAR, MYSQL_TYPE_STRING, 0, 0}, ^ /var/uhubuild/work/compile/driver/utility.c:3162:3: warning: (near initialization for 'SQL_TYPE_MAP_values[16].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3163:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"enum", 4, SQL_CHAR, MYSQL_TYPE_STRING, 0, 0}, ^ /var/uhubuild/work/compile/driver/utility.c:3163:3: warning: (near initialization for 'SQL_TYPE_MAP_values[17].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3164:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"set", 3, SQL_CHAR, MYSQL_TYPE_STRING, 0, 0}, ^ /var/uhubuild/work/compile/driver/utility.c:3164:3: warning: (near initialization for 'SQL_TYPE_MAP_values[18].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3167:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"numeric", 7, SQL_NUMERIC, MYSQL_TYPE_DECIMAL, 0, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3167:3: warning: (near initialization for 'SQL_TYPE_MAP_values[19].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3170:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"decimal", 7, SQL_DECIMAL, MYSQL_TYPE_DECIMAL, 0, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3170:3: warning: (near initialization for 'SQL_TYPE_MAP_values[20].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3173:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"int", 3, SQL_INTEGER, MYSQL_TYPE_LONG, 10, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3173:3: warning: (near initialization for 'SQL_TYPE_MAP_values[21].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3174:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"mediumint", 9, SQL_INTEGER, MYSQL_TYPE_INT24, 8, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3174:3: warning: (near initialization for 'SQL_TYPE_MAP_values[22].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3177:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"smallint", 8, SQL_SMALLINT, MYSQL_TYPE_SHORT, 5, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3177:3: warning: (near initialization for 'SQL_TYPE_MAP_values[23].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3180:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"float", 5, SQL_REAL, MYSQL_TYPE_FLOAT, 7, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3180:3: warning: (near initialization for 'SQL_TYPE_MAP_values[24].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3183:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"double", 6, SQL_DOUBLE, MYSQL_TYPE_DOUBLE, 15, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3183:3: warning: (near initialization for 'SQL_TYPE_MAP_values[25].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3186:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"datetime", 8, SQL_TYPE_TIMESTAMP, MYSQL_TYPE_DATETIME, 19, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3186:3: warning: (near initialization for 'SQL_TYPE_MAP_values[26].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3189:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"varchar", 7, SQL_VARCHAR, MYSQL_TYPE_VARCHAR, 0, 0}, ^ /var/uhubuild/work/compile/driver/utility.c:3189:3: warning: (near initialization for 'SQL_TYPE_MAP_values[27].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3192:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"date", 4, SQL_TYPE_DATE, MYSQL_TYPE_DATE, 10, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3192:3: warning: (near initialization for 'SQL_TYPE_MAP_values[28].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3195:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"year", 4, SQL_SMALLINT, MYSQL_TYPE_YEAR, 2, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3195:3: warning: (near initialization for 'SQL_TYPE_MAP_values[29].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3198:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"timestamp", 9, SQL_TYPE_TIMESTAMP, MYSQL_TYPE_TIMESTAMP, 19, 1}, ^ /var/uhubuild/work/compile/driver/utility.c:3198:3: warning: (near initialization for 'SQL_TYPE_MAP_values[30].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c:3201:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"time", 4, SQL_TYPE_TIME, MYSQL_TYPE_TIME, 8, 1} ^ /var/uhubuild/work/compile/driver/utility.c:3201:3: warning: (near initialization for 'SQL_TYPE_MAP_values[31].type_name') [-Wpointer-sign] /var/uhubuild/work/compile/driver/utility.c: In function 'proc_get_param_sql_type_index': /var/uhubuild/work/compile/driver/utility.c:3235:10: warning: pointer targets in passing argument 1 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] SQL_TYPE_MAP_values[i].name_length))) ^ /var/uhubuild/work/compile/driver/utility.c:2346:5: note: expected 'const char *' but argument is of type 'SQLCHAR *' int myodbc_casecmp(const char *s, const char *t, uint len) ^ /var/uhubuild/work/compile/driver/utility.c:3235:10: warning: pointer targets in passing argument 2 of 'myodbc_casecmp' differ in signedness [-Wpointer-sign] SQL_TYPE_MAP_values[i].name_length))) ^ /var/uhubuild/work/compile/driver/utility.c:2346:5: note: expected 'const char *' but argument is of type 'SQLCHAR *' int myodbc_casecmp(const char *s, const char *t, uint len) ^ /var/uhubuild/work/compile/driver/utility.c: In function 'proc_parse_sizes': /var/uhubuild/work/compile/driver/utility.c:3294:7: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] param_size= atoi(number_to_parse); ^ In file included from /usr/include/mysql/my_global.h:342:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/utility.c:30: /usr/include/stdlib.h:147:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int atoi (const char *__nptr) ^ /var/uhubuild/work/compile/driver/utility.c:3296:7: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] *dec= (SQLSMALLINT)atoi(number_to_parse); ^ In file included from /usr/include/mysql/my_global.h:342:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:29, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/utility.c:30: /usr/include/stdlib.h:147:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int atoi (const char *__nptr) ^ /var/uhubuild/work/compile/driver/utility.c: In function 'proc_get_param_size': /var/uhubuild/work/compile/driver/utility.c:3361:3: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] SQLCHAR *start_pos= strchr(ptype, '('); ^ In file included from /usr/include/mysql/m_string.h:34:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:33, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/utility.c:30: /usr/include/string.h:236:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *strchr (const char *__s, int __c) ^ /var/uhubuild/work/compile/driver/utility.c:3361:23: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] SQLCHAR *start_pos= strchr(ptype, '('); ^ /var/uhubuild/work/compile/driver/utility.c:3362:3: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] SQLCHAR *end_pos= strrchr(ptype, ')'); ^ In file included from /usr/include/mysql/m_string.h:34:0, from /var/uhubuild/work/compile/driver/../MYODBC_MYSQL.h:33, from /var/uhubuild/work/compile/driver/driver.h:33, from /var/uhubuild/work/compile/driver/utility.c:30: /usr/include/string.h:263:14: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern char *strrchr (const char *__s, int __c) ^ /var/uhubuild/work/compile/driver/utility.c:3362:21: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] SQLCHAR *end_pos= strrchr(ptype, ')'); ^ /var/uhubuild/work/compile/driver/utility.c:3386:7: warning: pointer targets in passing argument 1 of 'myodbc_strcasecmp' differ in signedness [-Wpointer-sign] if (!myodbc_strcasecmp(SQL_TYPE_MAP_values[sql_type_index].type_name, "set")) ^ /var/uhubuild/work/compile/driver/utility.c:2322:5: note: expected 'const char *' but argument is of type 'SQLCHAR *' int myodbc_strcasecmp(const char *s, const char *t) ^ /var/uhubuild/work/compile/driver/utility.c:3390:7: warning: pointer targets in passing argument 1 of 'myodbc_strcasecmp' differ in signedness [-Wpointer-sign] else if (!myodbc_strcasecmp(SQL_TYPE_MAP_values[sql_type_index].type_name, "enum")) ^ /var/uhubuild/work/compile/driver/utility.c:2322:5: note: expected 'const char *' but argument is of type 'SQLCHAR *' int myodbc_strcasecmp(const char *s, const char *t) ^ Linking CXX shared library ../lib/libmyodbc5w.so -- Configuring ini files for tests [ 98%] Built target myodbc5a Scanning dependencies of target my_nodma -- Configuring ini files for tests [100%] [100%] Building C object test/CMakeFiles/my_nodma.dir/my_nodma.c.o Built target myodbc5w In file included from /var/uhubuild/work/compile/test/my_nodma.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'wstr4output': /var/uhubuild/work/compile/test/odbctap.h:109:7: warning: format '%c' expects argument of type 'int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "%c", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h:113:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'wchar_t' [-Wformat=] sprintf(dbuf, "[0x%x]", wstr[i]); ^ /var/uhubuild/work/compile/test/odbctap.h: At top level: /var/uhubuild/work/compile/test/odbctap.h:146:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const SQLCHAR *testname_suffix=""; ^ In file included from /var/uhubuild/work/compile/test/my_nodma.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'print_diag_installer': /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 2 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_nodma.c:25: /usr/include/odbcinst.h:237:11: note: expected 'DWORD *' but argument is of type 'SQLINTEGER *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_nodma.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 3 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_nodma.c:25: /usr/include/odbcinst.h:237:11: note: expected 'LPSTR' but argument is of type 'SQLCHAR *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_nodma.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:669:5: warning: pointer targets in passing argument 5 of 'SQLInstallerError' differ in signedness [-Wpointer-sign] drc= SQLInstallerError(1, &error_code, message, SQL_MAX_MESSAGE_LENGTH - 1, &length); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:64:0, from /var/uhubuild/work/compile/test/my_nodma.c:25: /usr/include/odbcinst.h:237:11: note: expected 'WORD *' but argument is of type 'SQLSMALLINT *' SQLRETURN INSTAPI SQLInstallerError(WORD iError, ^ In file included from /var/uhubuild/work/compile/test/my_nodma.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'my_fetch_str': /var/uhubuild/work/compile/test/odbctap.h:1039:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(szData, "(Null)"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_nodma.c:25: /usr/include/string.h:129:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_nodma.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'mysql_min_version': /var/uhubuild/work/compile/test/odbctap.h:1114:5: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(server_version, "%u.%u.%u", &major1, &minor1, &build1); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_nodma.c:25: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_nodma.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1119:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] minor1 == minor2 && build1 >= build2)) ^ /var/uhubuild/work/compile/test/odbctap.h:1118:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] major1 == major2 && (minor1 > minor2 || ^ In file included from /var/uhubuild/work/compile/test/my_nodma.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'get_connection': /var/uhubuild/work/compile/test/odbctap.h:1194:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1202:16: warning: comparison of distinct pointer types lacks a cast [enabled by default] else if (dsn == USE_DRIVER) ^ /var/uhubuild/work/compile/test/odbctap.h:1219:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, socket_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_nodma.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_nodma.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1228:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(port_buf, ";PORT=%d", myport); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:50:0, from /var/uhubuild/work/compile/test/my_nodma.c:25: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern int sprintf (char *__restrict __s, ^ In file included from /var/uhubuild/work/compile/test/my_nodma.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1229:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat((char *)connIn, port_buf); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_nodma.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_nodma.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1234:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, ";"); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_nodma.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_nodma.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_nodma.c:25: /usr/include/string.h:137:14: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_nodma.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1235:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(connIn, options); ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_nodma.c:25: /usr/include/string.h:137:14: note: expected 'const char * __restrict__' but argument is of type 'const SQLCHAR *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /var/uhubuild/work/compile/test/my_nodma.c:25:0: /var/uhubuild/work/compile/test/odbctap.h: In function 'using_unixodbc_version': /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_nodma.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_nodma.c:25:0: /var/uhubuild/work/compile/test/odbctap.h:1479:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(buf, ver)) ^ In file included from /var/uhubuild/work/compile/test/odbctap.h:52:0, from /var/uhubuild/work/compile/test/my_nodma.c:25: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'SQLCHAR *' extern int strcmp (const char *__s1, const char *__s2) ^ In file included from /var/uhubuild/work/compile/test/my_nodma.c:25:0: /var/uhubuild/work/compile/test/my_nodma.c: At top level: /var/uhubuild/work/compile/test/odbctap.h:659:13: warning: 'print_diag_installer' defined but not used [-Wunused-function] static void print_diag_installer(BOOL is_success, const char *text, ^ Linking CXX executable my_nodma [100%] Built target my_nodma ccache-remove-unused... ccache-compress... compile-snapshot...  (kihagyva) install... + ub_install DESTDIR-aware Makefile found. make DESTDIR=/var/uhubuild/work/install MAN1EXT=1 MAN2EXT=2 MAN3EXT=3 MAN4EXT=4 MAN5EXT=5 MAN6EXT=6 MAN7EXT=7 MAN8EXT=8 install [ 5%] Built target myodbc-util [ 32%] Built target myodbc5a [ 58%] Built target myodbc5w [ 60%] Built target dltest [ 61%] Built target myodbc-installer [ 62%] Built target my_basics [ 64%] Built target my_blob [ 65%] Built target my_bug13766 [ 66%] Built target my_bulk [ 68%] Built target my_catalog1 [ 69%] Built target my_catalog2 [ 70%] Built target my_crash [ 72%] Built target my_curext [ 73%] Built target my_cursor [ 74%] Built target my_datetime [ 76%] Built target my_desc [ 77%] Built target my_dyn_cursor [ 78%] Built target my_error [ 80%] Built target my_info [ 81%] Built target my_keys [ 82%] Built target my_nodma [ 84%] Built target my_param [ 85%] Built target my_pooling [ 86%] Built target my_prepare [ 88%] Built target my_relative [ 89%] Built target my_result1 [ 90%] Built target my_result2 [ 92%] Built target my_scroll [ 93%] Built target my_setup [ 94%] Built target my_tran [ 96%] Built target my_types [ 97%] Built target my_unicode [ 98%] Built target my_unixodbc [100%] Built target my_use_result Install the project... -- Install configuration: "" -- Installing: /var/uhubuild/work/install/usr/lib/libmyodbc5w.so -- Installing: /var/uhubuild/work/install/usr/lib/libmyodbc5a.so -- Installing: /var/uhubuild/work/install/usr/bin/myodbc-installer -- Installing: /var/uhubuild/work/install/usr/test/my_basics -- Installing: /var/uhubuild/work/install/usr/test/my_blob -- Installing: /var/uhubuild/work/install/usr/test/my_bulk -- Installing: /var/uhubuild/work/install/usr/test/my_catalog1 -- Installing: /var/uhubuild/work/install/usr/test/my_catalog2 -- Installing: /var/uhubuild/work/install/usr/test/my_crash -- Installing: /var/uhubuild/work/install/usr/test/my_curext -- Installing: /var/uhubuild/work/install/usr/test/my_cursor -- Installing: /var/uhubuild/work/install/usr/test/my_datetime -- Installing: /var/uhubuild/work/install/usr/test/my_desc -- Installing: /var/uhubuild/work/install/usr/test/my_dyn_cursor -- Installing: /var/uhubuild/work/install/usr/test/my_error -- Installing: /var/uhubuild/work/install/usr/test/my_info -- Installing: /var/uhubuild/work/install/usr/test/my_keys -- Installing: /var/uhubuild/work/install/usr/test/my_param -- Installing: /var/uhubuild/work/install/usr/test/my_prepare -- Installing: /var/uhubuild/work/install/usr/test/my_relative -- Installing: /var/uhubuild/work/install/usr/test/my_result1 -- Installing: /var/uhubuild/work/install/usr/test/my_result2 -- Installing: /var/uhubuild/work/install/usr/test/my_scroll -- Installing: /var/uhubuild/work/install/usr/test/my_setup -- Installing: /var/uhubuild/work/install/usr/test/my_tran -- Installing: /var/uhubuild/work/install/usr/test/my_types -- Installing: /var/uhubuild/work/install/usr/test/my_unicode -- Installing: /var/uhubuild/work/install/usr/test/my_unixodbc -- Installing: /var/uhubuild/work/install/usr/test/my_use_result -- Installing: /var/uhubuild/work/install/usr/test/my_bug13766 -- Installing: /var/uhubuild/work/install/usr/test/my_pooling -- Installing: /var/uhubuild/work/install/usr/test/my_nodma -- Removed runtime path from "/var/uhubuild/work/install/usr/test/my_nodma" -- Installing: /var/uhubuild/work/install/usr/test/CTestTestfile.cmake -- Installing: /var/uhubuild/work/install/usr/test/odbc.ini -- Installing: /var/uhubuild/work/install/usr/test/odbcinst.ini + mkdir -p /var/uhubuild/work/install/usr/share/mysql-odbc/test + cp -a /var/uhubuild/work/install/usr/test/. /var/uhubuild/work/install/usr/share/mysql-odbc/test/ + rm -rf /var/uhubuild/work/install/usr/test strip...  ./usr/share/mysql-odbc/test/my_basics ./usr/share/mysql-odbc/test/my_blob ./usr/share/mysql-odbc/test/my_bulk ./usr/share/mysql-odbc/test/my_catalog1 ./usr/share/mysql-odbc/test/my_catalog2 ./usr/share/mysql-odbc/test/my_crash ./usr/share/mysql-odbc/test/my_curext ./usr/share/mysql-odbc/test/my_cursor ./usr/share/mysql-odbc/test/my_datetime ./usr/share/mysql-odbc/test/my_desc ./usr/share/mysql-odbc/test/my_dyn_cursor ./usr/share/mysql-odbc/test/my_error ./usr/share/mysql-odbc/test/my_info ./usr/share/mysql-odbc/test/my_keys ./usr/share/mysql-odbc/test/my_param ./usr/share/mysql-odbc/test/my_prepare ./usr/share/mysql-odbc/test/my_relative ./usr/share/mysql-odbc/test/my_result1 ./usr/share/mysql-odbc/test/my_result2 ./usr/share/mysql-odbc/test/my_scroll ./usr/share/mysql-odbc/test/my_setup ./usr/share/mysql-odbc/test/my_tran ./usr/share/mysql-odbc/test/my_types ./usr/share/mysql-odbc/test/my_unicode ./usr/share/mysql-odbc/test/my_unixodbc ./usr/share/mysql-odbc/test/my_use_result ./usr/share/mysql-odbc/test/my_bug13766 ./usr/share/mysql-odbc/test/my_pooling ./usr/share/mysql-odbc/test/my_nodma ./usr/lib/libmyodbc5a.so ./usr/lib/libmyodbc5w.so ./usr/bin/myodbc-installer doc... move-compile... install-snapshot...  (kihagyva) python... addons... cleanup... optipng... split... dirs... users-groups... changelog... suid_wrapper... perms... scripts... remove-misc... man... info... mo... timestamps... menu... depends... shlibs... fhs... conffiles... buildinfo... control... pack...  mysql-odbc... logpack... uhubuild-build véget ért, kimásztunk a chroot alól. Fájlrendszerek leválasztása: dev , proc , ccache , forrás OK LogPack kimásolása /var/build/result/dev/mysql-odbc alá... OK Elkészült csomagok kimásolása /var/build/result/dev/mysql-odbc alá... OK Kész :-) Sending back ccache files... done. Build end: 2014. júl. 9., szerda, 15.25.44 UTC