From: Ben Gribaudo Date: 2006-01-10T00:23:01+09:00 Subject: Differing signedness warnings when compiling ruby-odbc. Hi, When compiling ruby-odbc 0.996 on Ubuntu Breezy, gcc outputs a number of warnings that "pointer targets in passing argument x of y differ in signedness". (see output below) Should these warnings concern me? Is there a way to resolve the underlying issue? Box info: GNU make 3.80. Linux version 2.6.12-10-686-smp (buildd@terranova) (gcc version 3.4.5 20050809 (prerelease) (Ubuntu 3.4.4-6ubuntu8)) #1 SMP Fri Nov 18 12:27:41 UTC 2005 Thank you, Ben === Output from Make === gcc -fPIC -Wall -g -O2 -fPIC -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/rub y/1.8/i486-linux -I. -DHAVE_SQL_H -DHAVE_SQLEXT_H -DHAVE_TYPE_SQLTCHAR -DHAVE_OD BCINST_H -c odbc.c odbc.c: In function �get_err_or_info�: odbc.c:761: warning: pointer targets in passing argument 4 of �SQLError� differ in signedness odbc.c:761: warning: pointer targets in passing argument 6 of �SQLError� differ in signedness odbc.c: In function �callsql�: odbc.c:949: warning: pointer targets in passing argument 4 of �SQLError� differ in signedness odbc.c:949: warning: pointer targets in passing argument 6 of �SQLError� differ in signedness odbc.c: In function �upcase_if�: odbc.c:1994: warning: pointer targets in initialization differ in signedness odbc.c: In function �dbc_info�: odbc.c:2305: warning: pointer targets in passing argument 6 of �SQLTables� diffe r in signedness odbc.c:2313: warning: pointer targets in passing argument 6 of �SQLColumns� diff er in signedness odbc.c:2321: warning: pointer targets in passing argument 6 of �SQLPrimaryKeys� differ in signedness odbc.c:2332: warning: pointer targets in passing argument 6 of �SQLStatistics� d iffer in signedness odbc.c:2348: warning: pointer targets in passing argument 6 of �SQLForeignKeys� differ in signedness odbc.c:2348: warning: pointer targets in passing argument 12 of �SQLForeignKeys� differ in signedness odbc.c:2357: warning: pointer targets in passing argument 6 of �SQLTablePrivileg es� differ in signedness odbc.c:2365: warning: pointer targets in passing argument 6 of �SQLProcedures� d iffer in signedness odbc.c:2374: warning: pointer targets in passing argument 6 of �SQLProcedureColu mns� differ in signedness odbc.c:2374: warning: pointer targets in passing argument 8 of �SQLProcedureColu mns� differ in signedness odbc.c:2385: warning: pointer targets in passing argument 7 of �SQLSpecialColumn s� differ in signedness odbc.c: In function �stmt_cursorname�: odbc.c:3763: warning: pointer targets in passing argument 2 of �SQLSetCursorName � differ in signedness odbc.c: In function �stmt_prep_int�: odbc.c:4667: warning: pointer targets in passing argument 2 of �SQLExecDirect� d iffer in signedness odbc.c:4672: warning: pointer targets in passing argument 2 of �SQLPrepare� diff er in signedness gcc -shared -L"/usr/lib" -o odbc.so odbc.o -lruby1.8 -lodbcinst -lodbc -lpthr ead -ldl -lcrypt -lm -lc