=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for myodbc-5.3.2nb2 Scanning dependencies of target myodbc-util [ 1%] Building C object util/CMakeFiles/myodbc-util.dir/stringutil.c.o /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/util/stringutil.c:675:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c= *wstr) ~^~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/util/stringutil.c:675:11: note: place parentheses around the assignment to silence this warning while (c= *wstr) ^ ( ) /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/util/stringutil.c:675:11: note: use '==' to turn this assignment into an equality comparison while (c= *wstr) ^ == /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/util/stringutil.c:753:11: warning: implicit declaration of function 'tolower' is invalid in C99 [-Wimplicit-function-declaration] *c++= tolower(*c); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/util/stringutil.c:753:7: warning: unsequenced modification and access to 'c' [-Wunsequenced] *c++= tolower(*c); ^ ~ 3 warnings generated. [ 2%] Building C object util/CMakeFiles/myodbc-util.dir/unicode_transcode.c.o [ 3%] Building C object util/CMakeFiles/myodbc-util.dir/installer.c.o [ 4%] Building C object util/CMakeFiles/myodbc-util.dir/odbcinstw.c.o [ 5%] Linking C static library ../lib/libmyodbc-util.a [ 5%] Built target myodbc-util Scanning dependencies of target myodbc5a [ 6%] Building C object driver/CMakeFiles/myodbc5a.dir/catalog.c.o In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog.c:30: In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/driver.h:66: /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.h:115:29: warning: '/*' within block comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ 1 warning generated. [ 7%] Building C object driver/CMakeFiles/myodbc5a.dir/catalog_no_i_s.c.o In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:32: In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/driver.h:66: /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.h:115:29: warning: '/*' within block comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:205:19: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(buff, szCatalog, cbCatalog); ^~~~~~~~~ /usr/include/string.h:64:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:217:17: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(buff, szTable, cbTable); ^~~~~~~ /usr/include/string.h:64:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:219:24: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(column_buff, szColumn, cbColumn); ^~~~~~~~ /usr/include/string.h:64:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1140:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (row= mysql_fetch_row(stmt->result)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1140:15: note: place parentheses around the assignment to silence this warning while (row= mysql_fetch_row(stmt->result)) ^ ( ) /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1140:15: note: use '==' to turn this assignment into an equality comparison while (row= mysql_fetch_row(stmt->result)) ^ == /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1381:29: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (myodbc_strcasecmp(szPkTableName, fkRows[index].PKTABLE_NAME)) ^~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/myutil.h:282:48: note: passing argument to parameter 's' here int myodbc_strcasecmp (const char *s, const char *t); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1797:34: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] token= proc_get_param_type(token, (int)strlen(token), &ptype); ^~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/myutil.h:329:45: note: passing argument to parameter 'proc' here SQLCHAR * proc_get_param_type (SQLCHAR *proc, int len, SQLSMALLINT *ptype); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1797:12: warning: assigning to 'char *' from 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] token= proc_get_param_type(token, (int)strlen(token), &ptype); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1798:34: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] token= proc_get_param_name(token, (int)strlen(token), param_name); ^~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/myutil.h:330:45: note: passing argument to parameter 'proc' here SQLCHAR* proc_get_param_name (SQLCHAR *proc, int len, SQLCHAR *cname); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1798:12: warning: assigning to 'char *' from 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] token= proc_get_param_name(token, (int)strlen(token), param_name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1799:36: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] token= proc_get_param_dbtype(token, (int)strlen(token), param_dbtype); ^~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/myutil.h:331:45: note: passing argument to parameter 'proc' here SQLCHAR* proc_get_param_dbtype (SQLCHAR *proc, int len, SQLCHAR *ptype); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1799:12: warning: assigning to 'char *' from 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] token= proc_get_param_dbtype(token, (int)strlen(token), param_dbtype); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1802:18: warning: passing 'SQLCHAR [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strstr(param_dbtype, "unsigned")) ^~~~~~~~~~~~ /usr/include/string.h:68:26: note: passing argument to parameter here char *strstr(const char *, const char *); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1805:79: warning: passing 'SQLCHAR [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sql_type_index= proc_get_param_sql_type_index(param_dbtype, (int)strlen(param_dbtype)); ^~~~~~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1808:65: warning: passing 'SQLCHAR [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] param_size= proc_get_param_size(param_dbtype, (int)strlen(param_dbtype), sql_type_index, &dec); ^~~~~~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1810:78: warning: passing 'SQLCHAR [21]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] proc_get_param_octet_len(stmt, sql_type_index, param_size, dec, flags, param_buffer_len); ^~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/myutil.h:336:66: note: passing argument to parameter 'str_buff' here unsigned int flags, char * str_buff); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1815:40: warning: passing 'SQLCHAR [192]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] data[mypcCOLUMN_NAME]= my_strdup(param_name, MYF(0)); /* COLUMN_NAME */ ^~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/.buildlink/include/mysql/my_sys.h:159:36: note: passing argument to parameter 'from' here extern char *my_strdup(const char *from,myf MyFlags); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1830:15: warning: passing 'SQLCHAR [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(param_type, "%d", ptype); ^~~~~~~~~~ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1831:40: warning: passing 'SQLCHAR [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] data[mypcCOLUMN_TYPE]= my_strdup(param_type, MYF(0)); /* COLUMN_TYPE */ ^~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/.buildlink/include/mysql/my_sys.h:159:36: note: passing argument to parameter 'from' here extern char *my_strdup(const char *from,myf MyFlags); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1833:30: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!myodbc_strcasecmp(type_map->type_name, "bit") && param_size > 1) ^~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/myutil.h:282:48: note: passing argument to parameter 's' here int myodbc_strcasecmp (const char *s, const char *t); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1835:17: warning: passing 'SQLCHAR [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(param_sql_type, "%d", SQL_BINARY); ^~~~~~~~~~~~~~ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1839:17: warning: passing 'SQLCHAR [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(param_sql_type, "%d", (int)type_map->sql_type); ^~~~~~~~~~~~~~ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1841:38: warning: passing 'SQLCHAR [6]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] data[mypcDATA_TYPE]= my_strdup(param_sql_type, MYF(0)); /* DATA_TYPE */ ^~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/.buildlink/include/mysql/my_sys.h:159:36: note: passing argument to parameter 'from' here extern char *my_strdup(const char *from,myf MyFlags); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1843:30: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!myodbc_strcasecmp(type_map->type_name, "set") || ^~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/myutil.h:282:48: note: passing argument to parameter 's' here int myodbc_strcasecmp (const char *s, const char *t); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1844:29: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] !myodbc_strcasecmp(type_map->type_name, "enum")) ^~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/myutil.h:282:48: note: passing argument to parameter 's' here int myodbc_strcasecmp (const char *s, const char *t); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1850:40: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] data[mypcTYPE_NAME]= my_strdup(type_map->type_name, MYF(0)); ^~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/.buildlink/include/mysql/my_sys.h:159:36: note: passing argument to parameter 'from' here extern char *my_strdup(const char *from,myf MyFlags); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1855:76: warning: passing 'SQLCHAR [21]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] proc_get_param_col_len(stmt, sql_type_index, param_size, dec, flags, param_size_buf); ^~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/myutil.h:339:46: note: passing argument to parameter 'str_buff' here char * str_buff); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1856:40: warning: passing 'SQLCHAR [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] data[mypcCOLUMN_SIZE]= my_strdup(param_size_buf, MYF(0)); /* COLUMN_SIZE */ ^~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/.buildlink/include/mysql/my_sys.h:159:36: note: passing argument to parameter 'from' here extern char *my_strdup(const char *from,myf MyFlags); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1858:42: warning: passing 'SQLCHAR [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] data[mypcBUFFER_LENGTH]= my_strdup(param_buffer_len, MYF(0)); /* BUFFER_LENGTH */ ^~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/.buildlink/include/mysql/my_sys.h:159:36: note: passing argument to parameter 'from' here extern char *my_strdup(const char *from,myf MyFlags); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1862:17: warning: passing 'SQLCHAR [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(param_decimal, "%d", (int)dec); ^~~~~~~~~~~~~ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1863:45: warning: passing 'SQLCHAR [6]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] data[mypcDECIMAL_DIGITS]= my_strdup(param_decimal, MYF(0)); /* DECIMAL_DIGITS */ ^~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/.buildlink/include/mysql/my_sys.h:159:36: note: passing argument to parameter 'from' here extern char *my_strdup(const char *from,myf MyFlags); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1879:17: warning: passing 'SQLCHAR [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(param_desc_type, "%d", SQL_DATETIME); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1880:44: warning: passing 'SQLCHAR [6]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] data[mypcSQL_DATA_TYPE]= my_strdup(param_desc_type, MYF(0)); /* SQL_DATA_TYPE */ ^~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/.buildlink/include/mysql/my_sys.h:159:36: note: passing argument to parameter 'from' here extern char *my_strdup(const char *from,myf MyFlags); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1893:48: warning: passing 'SQLCHAR [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] data[mypcCHAR_OCTET_LENGTH]= my_strdup(param_buffer_len, MYF(0)); /* CHAR_OCTET_LENGTH */ ^~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/.buildlink/include/mysql/my_sys.h:159:36: note: passing argument to parameter 'from' here extern char *my_strdup(const char *from,myf MyFlags); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1900:15: warning: passing 'SQLCHAR [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(param_pos, "%d", (int) param_ordinal_position); ^~~~~~~~~ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/catalog_no_i_s.c:1901:45: warning: passing 'SQLCHAR [6]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] data[mypcORDINAL_POSITION]= my_strdup(param_pos, MYF(0)); /* ORDINAL_POSITION */ ^~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/.buildlink/include/mysql/my_sys.h:159:36: note: passing argument to parameter 'from' here extern char *my_strdup(const char *from,myf MyFlags); ^ 36 warnings generated. [ 8%] Building C object driver/CMakeFiles/myodbc5a.dir/connect.c.o In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/connect.c:30: In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/driver.h:66: /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.h:115:29: warning: '/*' within block comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ 1 warning generated. [ 9%] Building C object driver/CMakeFiles/myodbc5a.dir/cursor.c.o In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/cursor.c:41: In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/driver.h:66: /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.h:115:29: warning: '/*' within block comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/cursor.c:492:44: warning: passing 'long *' to parameter of type 'ulong *' (aka 'unsigned long *') converts between pointers to integer types with different sign [-Wpointer-sign] dummy= get_string(stmt, nSrcCol, NULL, &length, as_string); ^~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/myutil.h:413:34: note: passing argument to parameter 'length' here ulong *length, char * buffer); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/cursor.c:991:31: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] curr_bookmark_index= atol((SQLCHAR *) TargetValuePtr); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdlib.h:102:24: note: passing argument to parameter here long atol(const char *); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/cursor.c:1063:31: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] curr_bookmark_index= atol((SQLCHAR *) TargetValuePtr); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdlib.h:102:24: note: passing argument to parameter here long atol(const char *); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/cursor.c:1218:31: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] curr_bookmark_index= atol((SQLCHAR *) TargetValuePtr); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdlib.h:102:24: note: passing argument to parameter here long atol(const char *); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/cursor.c:1543:40: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] _len= sprintf(_value, "%ld", i + 1); ~~~ ^~~~~ %d /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/cursor.c:1605:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(rc= stmt_SQLCopyDesc(stmt, stmt->ard, stmt->setpos_apd)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/cursor.c:1605:10: note: place parentheses around the assignment to silence this warning if(rc= stmt_SQLCopyDesc(stmt, stmt->ard, stmt->setpos_apd)) ^ ( ) /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/cursor.c:1605:10: note: use '==' to turn this assignment into an equality comparison if(rc= stmt_SQLCopyDesc(stmt, stmt->ard, stmt->setpos_apd)) ^ == /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/cursor.c:1751:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (rc= setpos_dae_check_and_init(stmt, irow, fLock, ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/cursor.c:1751:23: note: place parentheses around the assignment to silence this warning if (rc= setpos_dae_check_and_init(stmt, irow, fLock, ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/cursor.c:1751:23: note: use '==' to turn this assignment into an equality comparison if (rc= setpos_dae_check_and_init(stmt, irow, fLock, ^ == /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/cursor.c:1777:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (rc= setpos_dae_check_and_init(stmt, irow, fLock, ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/cursor.c:1777:23: note: place parentheses around the assignment to silence this warning if (rc= setpos_dae_check_and_init(stmt, irow, fLock, ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/cursor.c:1777:23: note: use '==' to turn this assignment into an equality comparison if (rc= setpos_dae_check_and_init(stmt, irow, fLock, ^ == /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/cursor.c:1938:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (rc= setpos_dae_check_and_init(stmt, irow, SQL_LOCK_NO_CHANGE, ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/cursor.c:1938:13: note: place parentheses around the assignment to silence this warning if (rc= setpos_dae_check_and_init(stmt, irow, SQL_LOCK_NO_CHANGE, ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/cursor.c:1938:13: note: use '==' to turn this assignment into an equality comparison if (rc= setpos_dae_check_and_init(stmt, irow, SQL_LOCK_NO_CHANGE, ^ == 10 warnings generated. [ 10%] Building C object driver/CMakeFiles/myodbc5a.dir/desc.c.o In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/desc.c:37: In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/driver.h:66: /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.h:115:29: warning: '/*' within block comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/desc.c:627:29: warning: '&&' within '||' [-Wlogical-op-parentheses] (fld->loc == DESC_HDR && ~~~~~~~~~~~~~~~~~~~~~^~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/desc.c:627:29: note: place parentheses around the '&&' expression to silence this warning (fld->loc == DESC_HDR && ^ 2 warnings generated. [ 10%] Building C object driver/CMakeFiles/myodbc5a.dir/dll.c.o In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/dll.c:30: In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/driver.h:66: /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.h:115:29: warning: '/*' within block comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ 1 warning generated. [ 11%] Building C object driver/CMakeFiles/myodbc5a.dir/error.c.o In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/error.c:30: In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/driver.h:66: /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.h:115:29: warning: '/*' within block comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/error.c:462:15: warning: address of array 'error->message' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!error->message || !error->message[0]) ~~~~~~~~^~~~~~~ 2 warnings generated. [ 12%] Building C object driver/CMakeFiles/myodbc5a.dir/execute.c.o In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/execute.c:30: In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/driver.h:66: /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.h:115:29: warning: '/*' within block comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/execute.c:467:35: warning: '&&' within '||' [-Wlogical-op-parentheses] if (aprec->type == SQL_DATETIME && iprec->type == SQL_INTERVAL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/execute.c:467:35: note: place parentheses around the '&&' expression to silence this warning if (aprec->type == SQL_DATETIME && iprec->type == SQL_INTERVAL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/execute.c:468:35: warning: '&&' within '||' [-Wlogical-op-parentheses] || aprec->type == SQL_INTERVAL && iprec->type == SQL_DATETIME) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/execute.c:468:35: note: place parentheses around the '&&' expression to silence this warning || aprec->type == SQL_INTERVAL && iprec->type == SQL_DATETIME) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/execute.c:522:61: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] *res= sqlwchar_as_utf8_ext((SQLWCHAR*)*res, length, buff, buff_max, ^~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/../util/stringutil.h:92:40: note: passing argument to parameter 'buff' here SQLCHAR *buff, uint buff_max, int *utf8mb4_used); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/execute.c:522:13: warning: assigning to 'char *' from 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] *res= sqlwchar_as_utf8_ext((SQLWCHAR*)*res, length, buff, buff_max, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/execute.c:653:37: warning: format specifies type 'int' but the argument has type 'SQLUINTEGER' (aka 'unsigned long') [-Wformat] sprintf(tmp_buf, ".%09d", time->fraction); ~~~~ ^~~~~~~~~~~~~~ %09lu /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/execute.c:708:50: warning: format specifies type 'int' but the argument has type 'SQLUINTEGER' (aka 'unsigned long') [-Wformat] *length= sprintf(buff, "%d:%02d:00", interval->intval.day_second.hour, ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/execute.c:709:48: warning: format specifies type 'int' but the argument has type 'SQLUINTEGER' (aka 'unsigned long') [-Wformat] interval->intval.day_second.minute); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/execute.c:713:52: warning: format specifies type 'int' but the argument has type 'SQLUINTEGER' (aka 'unsigned long') [-Wformat] *length= sprintf(buff, "'%d:%02d:00'", interval->intval.day_second.hour, ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/execute.c:714:48: warning: format specifies type 'int' but the argument has type 'SQLUINTEGER' (aka 'unsigned long') [-Wformat] interval->intval.day_second.minute); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/execute.c:721:52: warning: format specifies type 'int' but the argument has type 'SQLUINTEGER' (aka 'unsigned long') [-Wformat] *length= sprintf(buff, "%d:%02d:%02d", interval->intval.day_second.hour, ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/execute.c:722:50: warning: format specifies type 'int' but the argument has type 'SQLUINTEGER' (aka 'unsigned long') [-Wformat] interval->intval.day_second.minute, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/execute.c:723:50: warning: format specifies type 'int' but the argument has type 'SQLUINTEGER' (aka 'unsigned long') [-Wformat] interval->intval.day_second.second); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/execute.c:727:54: warning: format specifies type 'int' but the argument has type 'SQLUINTEGER' (aka 'unsigned long') [-Wformat] *length= sprintf(buff, "'%d:%02d:%02d'", interval->intval.day_second.hour, ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/execute.c:728:50: warning: format specifies type 'int' but the argument has type 'SQLUINTEGER' (aka 'unsigned long') [-Wformat] interval->intval.day_second.minute, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/execute.c:729:50: warning: format specifies type 'int' but the argument has type 'SQLUINTEGER' (aka 'unsigned long') [-Wformat] interval->intval.day_second.second); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/execute.c:1196:34: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] copy_binhex_result(stmt, to, length * 2 + 1, &transformed_len, 0, data, length); ^~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/myutil.h:172:18: note: passing argument to parameter 'rgbValue' here SQLCHAR *rgbValue, SQLINTEGER cbValueMax, ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/execute.c:1911:35: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!mysql_real_connect(second, dbc->ds->server8, dbc->ds->uid8, ^~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/.buildlink/include/mysql/mysql.h:387:63: note: passing argument to parameter 'host' here MYSQL * STDCALL mysql_real_connect(MYSQL *mysql, const char *host, ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/execute.c:1911:53: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!mysql_real_connect(second, dbc->ds->server8, dbc->ds->uid8, ^~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/.buildlink/include/mysql/mysql.h:388:21: note: passing argument to parameter 'user' here const char *user, ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/execute.c:1912:27: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] dbc->ds->pwd8, NULL, dbc->ds->port, ^~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/.buildlink/include/mysql/mysql.h:389:21: note: passing argument to parameter 'passwd' here const char *passwd, ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/execute.c:1913:27: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] dbc->ds->socket8, 0)) ^~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/.buildlink/include/mysql/mysql.h:392:21: note: passing argument to parameter 'unix_socket' here const char *unix_socket, ^ 21 warnings generated. [ 13%] Building C object driver/CMakeFiles/myodbc5a.dir/handle.c.o In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/handle.c:44: In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/driver.h:66: /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.h:115:29: warning: '/*' within block comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ 1 warning generated. [ 14%] Building C object driver/CMakeFiles/myodbc5a.dir/info.c.o In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/info.c:30: In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/driver.h:66: /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.h:115:29: warning: '/*' within block comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ 1 warning generated. [ 15%] Building C object driver/CMakeFiles/myodbc5a.dir/driver.c.o In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/driver.c:30: In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/driver.h:66: /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.h:115:29: warning: '/*' within block comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ 1 warning generated. [ 16%] Building C object driver/CMakeFiles/myodbc5a.dir/options.c.o In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/options.c:30: In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/driver.h:66: /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.h:115:29: warning: '/*' within block comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/options.c:469:34: warning: '&&' within '||' [-Wlogical-op-parentheses] if (dbc->need_to_wakeup != 0 && wakeup_connection(dbc) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/options.c:469:34: note: place parentheses around the '&&' expression to silence this warning if (dbc->need_to_wakeup != 0 && wakeup_connection(dbc) ^ ( ) /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/options.c:470:62: warning: '&&' within '||' [-Wlogical-op-parentheses] || dbc->need_to_wakeup == 0 && mysql_ping(&dbc->mysql) && ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/options.c:470:62: note: place parentheses around the '&&' expression to silence this warning || dbc->need_to_wakeup == 0 && mysql_ping(&dbc->mysql) && ^ 3 warnings generated. [ 17%] Building C object driver/CMakeFiles/myodbc5a.dir/parse.c.o In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:30: In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/driver.h:66: /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.h:115:29: warning: '/*' within block comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:411:30: warning: passing 'const SQLCHAR *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] query= skip_leading_spaces(query); ^~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:396:46: note: passing argument to parameter 'str' here const char * skip_leading_spaces(const char *str) ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:411:8: warning: assigning to 'const SQLCHAR *' (aka 'const unsigned char *') from 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] query= skip_leading_spaces(query); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:428:22: warning: passing 'const SQLCHAR *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (myodbc_casecmp(query, "DROP", 4) == 0 && *(query+4) != '\0' ^~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/myutil.h:283:48: note: passing argument to parameter 's' here int myodbc_casecmp (const char *s, const char *t, uint len); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:431:32: warning: passing 'const SQLCHAR *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] query= skip_leading_spaces(query+5); ^~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:396:46: note: passing argument to parameter 'str' here const char * skip_leading_spaces(const char *str) ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:431:10: warning: assigning to 'const SQLCHAR *' (aka 'const unsigned char *') from 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] query= skip_leading_spaces(query+5); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:432:27: warning: passing 'const SQLCHAR *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return myodbc_casecmp(query, "PROCEDURE", 9) == 0; ^~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/myutil.h:283:48: note: passing argument to parameter 's' here int myodbc_casecmp (const char *s, const char *t, uint len); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:441:22: warning: passing 'const SQLCHAR *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (myodbc_casecmp(query, "DROP", 4) == 0 && *(query+4) != '\0' ^~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/myutil.h:283:48: note: passing argument to parameter 's' here int myodbc_casecmp (const char *s, const char *t, uint len); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:444:32: warning: passing 'const SQLCHAR *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] query= skip_leading_spaces(query+5); ^~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:396:46: note: passing argument to parameter 'str' here const char * skip_leading_spaces(const char *str) ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:444:10: warning: assigning to 'const SQLCHAR *' (aka 'const unsigned char *') from 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] query= skip_leading_spaces(query+5); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:445:27: warning: passing 'const SQLCHAR *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return myodbc_casecmp(query, "FUNCTION", 8) == 0; ^~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/myutil.h:283:48: note: passing argument to parameter 's' here int myodbc_casecmp (const char *s, const char *t, uint len); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:456:22: warning: passing 'const SQLCHAR *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (myodbc_casecmp(query, "CREATE", 6) == 0 && *(query+6) != '\0' ^~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/myutil.h:283:48: note: passing argument to parameter 's' here int myodbc_casecmp (const char *s, const char *t, uint len); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:459:32: warning: passing 'const SQLCHAR *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] query= skip_leading_spaces(query+7); ^~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:396:46: note: passing argument to parameter 'str' here const char * skip_leading_spaces(const char *str) ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:459:10: warning: assigning to 'const SQLCHAR *' (aka 'const unsigned char *') from 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] query= skip_leading_spaces(query+7); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:461:24: warning: passing 'const SQLCHAR *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (myodbc_casecmp(query, "DEFINER", 7) == 0) ^~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/myutil.h:283:48: note: passing argument to parameter 's' here int myodbc_casecmp (const char *s, const char *t, uint len); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:466:27: warning: passing 'const SQLCHAR *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return myodbc_casecmp(query, "PROCEDURE", 9) == 0; ^~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/myutil.h:283:48: note: passing argument to parameter 's' here int myodbc_casecmp (const char *s, const char *t, uint len); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:475:22: warning: passing 'const SQLCHAR *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (myodbc_casecmp(query, "CREATE", 6) == 0 && *(query+6) != '\0' ^~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/myutil.h:283:48: note: passing argument to parameter 's' here int myodbc_casecmp (const char *s, const char *t, uint len); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:478:32: warning: passing 'const SQLCHAR *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] query= skip_leading_spaces(query+7); ^~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:396:46: note: passing argument to parameter 'str' here const char * skip_leading_spaces(const char *str) ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:478:10: warning: assigning to 'const SQLCHAR *' (aka 'const unsigned char *') from 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] query= skip_leading_spaces(query+7); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:479:27: warning: passing 'const SQLCHAR *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return myodbc_casecmp(query, "FUNCTION", 8) == 0; ^~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/myutil.h:283:48: note: passing argument to parameter 's' here int myodbc_casecmp (const char *s, const char *t, uint len); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:488:22: warning: passing 'const SQLCHAR *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (myodbc_casecmp(query, "USE", 3) == 0 && *(query+3) != '\0' ^~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/myutil.h:283:48: note: passing argument to parameter 's' here int myodbc_casecmp (const char *s, const char *t, uint len); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.c:697:42: warning: '/*' within block comment [-Wcomment] /*assert(parser->last_char!=NULL); /* no closing quote? */ ^ 22 warnings generated. [ 18%] Building C object driver/CMakeFiles/myodbc5a.dir/prepare.c.o In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/prepare.c:42: In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/driver.h:66: /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.h:115:29: warning: '/*' within block comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/prepare.c:97:19: warning: assigning to 'SQLCHAR *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(szSqlStr= dupp_str((char *)szSqlStr, cbSqlStr))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/prepare.c:103:24: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return prepare(stmt, szSqlStr, cbSqlStr); ^~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/myutil.h:417:47: note: passing argument to parameter 'query' here SQLRETURN prepare (STMT *stmt, char * query, SQLINTEGER query_length); ^ 3 warnings generated. [ 19%] Building C object driver/CMakeFiles/myodbc5a.dir/results.c.o In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/results.c:30: In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/driver.h:66: /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.h:115:29: warning: '/*' within block comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/results.c:116:11: warning: 25 enumeration values not handled in switch: 'MYSQL_TYPE_DECIMAL', 'MYSQL_TYPE_TINY', 'MYSQL_TYPE_SHORT'... [-Wswitch] switch(field->type) ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/results.c:476:39: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return ssps_fetch_chunk(stmt, (SQLCHAR *)rgbValue, cbValueMax, pcbValue); ^~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/myutil.h:436:54: note: passing argument to parameter 'dest' here SQLRETURN ssps_fetch_chunk (STMT *stmt, char *dest, unsigned long dest_bytes, ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/results.c:476:72: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign] return ssps_fetch_chunk(stmt, (SQLCHAR *)rgbValue, cbValueMax, pcbValue); ^~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/myutil.h:437:50: note: passing argument to parameter 'avail_bytes' here unsigned long *avail_bytes); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/results.c:668:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (field->type= MYSQL_TYPE_TIME) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/results.c:668:24: note: place parentheses around the assignment to silence this warning if (field->type= MYSQL_TYPE_TIME) ^ ( ) /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/results.c:668:24: note: use '==' to turn this assignment into an equality comparison if (field->type= MYSQL_TYPE_TIME) ^ == /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/results.c:1940:26: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] brow= atol((SQLCHAR *) stmt->stmt_options.bookmark_ptr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdlib.h:102:24: note: passing argument to parameter here long atol(const char *); ^ 6 warnings generated. [ 20%] Building C object driver/CMakeFiles/myodbc5a.dir/transact.c.o In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/transact.c:30: In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/driver.h:66: /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.h:115:29: warning: '/*' within block comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ 1 warning generated. [ 21%] Building C object driver/CMakeFiles/myodbc5a.dir/my_prepared_stmt.c.o In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/my_prepared_stmt.c:30: In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/driver.h:66: /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.h:115:29: warning: '/*' within block comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/my_prepared_stmt.c:451:7: warning: expression result unused [-Wunused-value] 1; ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/my_prepared_stmt.c:754:11: warning: 8 enumeration values not handled in switch: 'MYSQL_TYPE_NULL', 'MYSQL_TYPE_NEWDATE', 'MYSQL_TYPE_ENUM'... [-Wswitch] switch (col_rbind->buffer_type) { ^ 3 warnings generated. [ 21%] Building C object driver/CMakeFiles/myodbc5a.dir/my_stmt.c.o In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/my_stmt.c:33: In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/driver.h:66: /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.h:115:29: warning: '/*' within block comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/my_stmt.c:647:43: warning: format specifies type 'unsigned int' but the argument has type 'long long' [-Wformat] "%*u", MAX32_BUFF_SIZE - 1, count); ~~~ ^~~~~ %*lld /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/my_stmt.c:692:39: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!myodbc_casecmp(prev,"FOR",3) && !myodbc_casecmp(last,"UPDATE",6) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/my_stmt.c:692:39: note: place parentheses around the '&&' expression to silence this warning if (!myodbc_casecmp(prev,"FOR",3) && !myodbc_casecmp(last,"UPDATE",6) ^ ( ) /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/my_stmt.c:696:9: warning: '&&' within '||' [-Wlogical-op-parentheses] && !myodbc_casecmp(mystr_get_prev_token(stmt->dbc->ansi_charset_info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/my_stmt.c:696:9: note: place parentheses around the '&&' expression to silence this warning && !myodbc_casecmp(mystr_get_prev_token(stmt->dbc->ansi_charset_info, ^ 4 warnings generated. [ 22%] Building C object driver/CMakeFiles/myodbc5a.dir/utility.c.o In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:30: In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/driver.h:66: /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.h:115:29: warning: '/*' within block comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:1222:86: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(buff,size == SQL_NO_TOTAL ? "%d" : (sizeof(SQLLEN) == 4 ? "%lu" : "%lld"), size); ~~ ^~~~ %ld /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:1222:86: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] sprintf(buff,size == SQL_NO_TOTAL ? "%d" : (sizeof(SQLLEN) == 4 ? "%lu" : "%lld"), size); ~~~~ ^~~~ %ld /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:1245:86: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(buff, len == SQL_NO_TOTAL ? "%d" : (sizeof(SQLLEN) == 4 ? "%lu" : "%lld"), len ); ~~ ^~~ %ld /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:1245:86: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] sprintf(buff, len == SQL_NO_TOTAL ? "%d" : (sizeof(SQLLEN) == 4 ? "%lu" : "%lld"), len ); ~~~~ ^~~ %ld /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:1263:49: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] (sizeof(SQLULEN) == 4 ? "%lu" : "%llu")), size); ^~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:1263:49: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] (sizeof(SQLULEN) == 4 ? "%lu" : "%llu")), size); ~~~~ ^~~~ %lu /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:1918:17: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return atol((SQLCHAR *) rgbValue); ^~~~~~~~~~~~~~~~~~~~ /usr/include/stdlib.h:102:24: note: passing argument to parameter here long atol(const char *); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:2455:45: warning: '&&' within '||' [-Wlogical-op-parentheses] minor1 == minor2 && build1 >= build2)) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:2455:45: note: place parentheses around the '&&' expression to silence this warning minor1 == minor2 && build1 >= build2)) ^ ( ) /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:2454:24: warning: '&&' within '||' [-Wlogical-op-parentheses] major1 == major2 && (minor1 > minor2 || ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:2454:24: note: place parentheses around the '&&' expression to silence this warning major1 == major2 && (minor1 > minor2 || ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3004:41: warning: '&&' within '||' [-Wlogical-op-parentheses] || new_value == sql_select_unlimited && dbc->sql_select_limit == 0) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3004:41: note: place parentheses around the '&&' expression to silence this warning || new_value == sql_select_unlimited && dbc->sql_select_limit == 0) ^ ( ) /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3038:35: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (len >= 6 && !myodbc_casecmp(proc, "INOUT ", 6)) ^~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:2346:32: note: passing argument to parameter 's' here int myodbc_casecmp(const char *s, const char *t, uint len) ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3044:35: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (len >= 4 && !myodbc_casecmp(proc, "OUT ", 4)) ^~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:2346:32: note: passing argument to parameter 's' here int myodbc_casecmp(const char *s, const char *t, uint len) ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3050:35: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (len >= 3 && !myodbc_casecmp(proc, "IN ", 3)) ^~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:2346:32: note: passing argument to parameter 's' here int myodbc_casecmp(const char *s, const char *t, uint len) ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3102:20: warning: initializing 'char *' with an expression of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] char *trim_str, *start_pos= ptype; ^ ~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3111:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (trim_str= strstr( myodbc_strlwr(start_pos, 0), ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3111:15: note: place parentheses around the assignment to silence this warning if (trim_str= strstr( myodbc_strlwr(start_pos, 0), ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3111:15: note: use '==' to turn this assignment into an equality comparison if (trim_str= strstr( myodbc_strlwr(start_pos, 0), ^ == /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3114:10: warning: assigning to 'SQLCHAR *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptype= trim_str; ^ ~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3132:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] {"bit", 3, SQL_BIT, MYSQL_TYPE_BIT, 1, 1}, ^~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3133:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] {"bool", 4, SQL_BIT, MYSQL_TYPE_BIT, 1, 1}, ^~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3136:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] {"tinyint", 7, SQL_TINYINT, MYSQL_TYPE_TINY, 1, 1}, ^~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3139:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] {"bigint", 6, SQL_BIGINT, MYSQL_TYPE_LONGLONG, 20, 1}, ^~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3142:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"long varbinary", 14, SQL_LONGVARBINARY, MYSQL_TYPE_MEDIUM_BLOB, 16777215, 1}, ^~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3143:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] {"blob", 4, SQL_LONGVARBINARY, MYSQL_TYPE_BLOB, 65535, 1}, ^~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3144:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] {"longblob", 8, SQL_LONGVARBINARY, MYSQL_TYPE_LONG_BLOB, 4294967295UL, 1}, ^~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3145:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] {"tinyblob", 8, SQL_LONGVARBINARY, MYSQL_TYPE_TINY_BLOB, 255, 1}, ^~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3146:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] {"mediumblob", 10, SQL_LONGVARBINARY, MYSQL_TYPE_MEDIUM_BLOB, 16777215,1 }, ^~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3149:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] {"varbinary", 9, SQL_VARBINARY, MYSQL_TYPE_VAR_STRING, 0, 1}, ^~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3152:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] {"binary", 6, SQL_BINARY, MYSQL_TYPE_STRING, 0, 1}, ^~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3155:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] {"long varchar", 12, SQL_LONGVARCHAR, MYSQL_TYPE_MEDIUM_BLOB, 16777215, 0}, ^~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3156:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] {"text", 4, SQL_LONGVARCHAR, MYSQL_TYPE_BLOB, 65535, 0}, ^~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3157:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] {"mediumtext", 10, SQL_LONGVARCHAR, MYSQL_TYPE_MEDIUM_BLOB, 16777215, 0}, ^~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3158:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] {"longtext", 8, SQL_LONGVARCHAR, MYSQL_TYPE_LONG_BLOB, 4294967295UL, 0}, ^~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3159:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] {"tinytext", 8, SQL_LONGVARCHAR, MYSQL_TYPE_TINY_BLOB, 255, 0}, ^~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3162:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] {"char", 4, SQL_CHAR, MYSQL_TYPE_STRING, 0, 0}, ^~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3163:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] {"enum", 4, SQL_CHAR, MYSQL_TYPE_STRING, 0, 0}, ^~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3164:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] {"set", 3, SQL_CHAR, MYSQL_TYPE_STRING, 0, 0}, ^~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3167:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] {"numeric", 7, SQL_NUMERIC, MYSQL_TYPE_DECIMAL, 0, 1}, ^~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3170:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] {"decimal", 7, SQL_DECIMAL, MYSQL_TYPE_DECIMAL, 0, 1}, ^~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3173:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] {"int", 3, SQL_INTEGER, MYSQL_TYPE_LONG, 10, 1}, ^~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3174:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] {"mediumint", 9, SQL_INTEGER, MYSQL_TYPE_INT24, 8, 1}, ^~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3177:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] {"smallint", 8, SQL_SMALLINT, MYSQL_TYPE_SHORT, 5, 1}, ^~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3180:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] {"float", 5, SQL_REAL, MYSQL_TYPE_FLOAT, 7, 1}, ^~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3183:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] {"double", 6, SQL_DOUBLE, MYSQL_TYPE_DOUBLE, 15, 1}, ^~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3186:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] {"datetime", 8, SQL_TYPE_TIMESTAMP, MYSQL_TYPE_DATETIME, 19, 1}, ^~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3189:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] {"varchar", 7, SQL_VARCHAR, MYSQL_TYPE_VARCHAR, 0, 0}, ^~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3192:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] {"date", 4, SQL_TYPE_DATE, MYSQL_TYPE_DATE, 10, 1}, ^~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3195:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] {"year", 4, SQL_SMALLINT, MYSQL_TYPE_YEAR, 2, 1}, ^~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3198:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] {"timestamp", 9, SQL_TYPE_TIMESTAMP, MYSQL_TYPE_TIMESTAMP, 19, 1}, ^~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3201:4: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] {"time", 4, SQL_TYPE_TIME, MYSQL_TYPE_TIME, 8, 1} ^~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3234:26: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] (!myodbc_casecmp(ptype, SQL_TYPE_MAP_values[i].type_name, ^~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:2346:32: note: passing argument to parameter 's' here int myodbc_casecmp(const char *s, const char *t, uint len) ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3234:33: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] (!myodbc_casecmp(ptype, SQL_TYPE_MAP_values[i].type_name, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:2346:47: note: passing argument to parameter 't' here int myodbc_casecmp(const char *s, const char *t, uint len) ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3294:24: warning: passing 'SQLCHAR [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] param_size= atoi(number_to_parse); ^~~~~~~~~~~~~~~ /usr/include/stdlib.h:101:23: note: passing argument to parameter here int atoi(const char *); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3296:31: warning: passing 'SQLCHAR [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] *dec= (SQLSMALLINT)atoi(number_to_parse); ^~~~~~~~~~~~~~~ /usr/include/stdlib.h:101:23: note: passing argument to parameter here int atoi(const char *); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3361:30: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] SQLCHAR *start_pos= strchr(ptype, '('); ^~~~~ /usr/include/string.h:55:26: note: passing argument to parameter here char *strchr(const char *, int); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3361:12: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] SQLCHAR *start_pos= strchr(ptype, '('); ^ ~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3362:29: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] SQLCHAR *end_pos= strrchr(ptype, ')'); ^~~~~ /usr/include/string.h:66:27: note: passing argument to parameter here char *strrchr(const char *, int); ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3362:12: warning: initializing 'SQLCHAR *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] SQLCHAR *end_pos= strrchr(ptype, ')'); ^ ~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3386:30: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!myodbc_strcasecmp(SQL_TYPE_MAP_values[sql_type_index].type_name, "set")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:2322:35: note: passing argument to parameter 's' here int myodbc_strcasecmp(const char *s, const char *t) ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:3390:35: warning: passing 'SQLCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (!myodbc_strcasecmp(SQL_TYPE_MAP_values[sql_type_index].type_name, "enum")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/utility.c:2322:35: note: passing argument to parameter 's' here int myodbc_strcasecmp(const char *s, const char *t) ^ 59 warnings generated. [ 23%] Building C object driver/CMakeFiles/myodbc5a.dir/ansi.c.o In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/ansi.c:30: In file included from /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/driver.h:66: /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/parse.h:115:29: warning: '/*' within block comment [-Wcomment] /*unsigned int begin; /* offset 1st meaningful character - 1st token */ ^ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/ansi.c:1429:16: warning: assigning to 'SQLCHAR *' (aka 'unsigned char *') from 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] catalog= ""; ^ ~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/ansi.c:1439:15: warning: assigning to 'SQLCHAR *' (aka 'unsigned char *') from 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] schema= ""; ^ ~~ /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src/driver/ansi.c:1449:14: warning: assigning to 'SQLCHAR *' (aka 'unsigned char *') from 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] table= ""; ^ ~~ 4 warnings generated. [ 24%] Linking C shared library ../lib/libmyodbc5a.so /usr/bin/ld: cannot find -lrt /usr/bin/ld: cannot find -lrt clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake[2]: stopped in /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/databases/myodbc/work/mysql-connector-odbc-5.3.2-src *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/databases/myodbc *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/databases/myodbc