Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vr6JR-0008A9-TO for pgsql-odbc@arkaria.postgresql.org; Thu, 12 Dec 2013 13:28:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Vr6JR-00026D-8O for pgsql-odbc@arkaria.postgresql.org; Thu, 12 Dec 2013 13:28:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vr6JQ-000266-Ct for pgsql-odbc@postgresql.org; Thu, 12 Dec 2013 13:28:20 +0000 Received: from mx1.redhat.com ([209.132.183.28]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vr6JL-0003Ih-P5 for pgsql-odbc@postgresql.org; Thu, 12 Dec 2013 13:28:19 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rBCDSDJO011507 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 12 Dec 2013 08:28:13 -0500 Received: from nb.usersys.redhat.com (unused-4-200.brq.redhat.com [10.34.4.200]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id rBCDSC2C019423; Thu, 12 Dec 2013 08:28:13 -0500 From: Pavel Raiskup To: pgsql-odbc@postgresql.org Cc: Hiroshi Saito Subject: Re: [PATCH] Silence GCC warnings, fix build Date: Thu, 12 Dec 2013 14:28:11 +0100 Message-ID: <11563918.L3yR1fcAbQ@nb.usersys.redhat.com> Organization: Red Hat User-Agent: KMail/4.11.3 (Linux/3.11.10-300.fc20.x86_64; KDE/4.11.3; x86_64; ; ) In-Reply-To: <1386349717-2942-1-git-send-email-praiskup@redhat.com> References: <1386349717-2942-1-git-send-email-praiskup@redhat.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart3637304.Xo4oxYjkBQ" Content-Transfer-Encoding: 7Bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Pg-Spam-Score: -6.9 (------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org This is a multi-part message in MIME format. --nextPart3637304.Xo4oxYjkBQ Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" I would like to ping on this topic before we submit new release. Thanks for your work btw! Attached are logs from gcc on 32 bit linux. --nextPart3637304.Xo4oxYjkBQ Content-Disposition: attachment; filename="buildlog" Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8"; name="buildlog" Without mylog.h mentioned in Makefile.am it does not compile at all! So after I add it there, this is the error output: $ make V=0 make all-am make[1]: Entering directory `/tmp/psqlodbc-09.02.0100' CC info.lo CC bind.lo CC columninfo.lo CC connection.lo CC convert.lo convert.c: In function 'ResolveOneParam': convert.c:4379: warning: format '%d' expects type 'int', but argument 4 has type 'SQLUINTEGER' convert.c:4384: warning: format '%d' expects type 'int', but argument 4 has type 'SQLUINTEGER' convert.c:4384: warning: format '%d' expects type 'int', but argument 6 has type 'SQLUINTEGER' convert.c:4388: warning: format '%d' expects type 'int', but argument 4 has type 'SQLUINTEGER' convert.c:4393: warning: format '%d' expects type 'int', but argument 4 has type 'SQLUINTEGER' convert.c:4393: warning: format '%02d' expects type 'int', but argument 6 has type 'SQLUINTEGER' convert.c:4399: warning: format '%d' expects type 'int', but argument 4 has type 'SQLUINTEGER' convert.c:4399: warning: format '%02d' expects type 'int', but argument 6 has type 'SQLUINTEGER' convert.c:4399: warning: format '%02d' expects type 'int', but argument 7 has type 'SQLUINTEGER' convert.c:4411: warning: format '%d' expects type 'int', but argument 4 has type 'SQLUINTEGER' convert.c:4411: warning: format '%02d' expects type 'int', but argument 6 has type 'SQLUINTEGER' convert.c:4411: warning: format '%02d' expects type 'int', but argument 7 has type 'SQLUINTEGER' convert.c:4411: warning: format '%02d' expects type 'int', but argument 8 has type 'SQLUINTEGER' CC drvconn.lo drvconn.c: In function 'dconn_get_attributes': drvconn.c:439: warning: 'last' may be used uninitialized in this function CC environ.lo CC execute.lo CC lobj.lo CC md5.lo CC misc.lo CC options.lo CC pgtypes.lo CC psqlodbc.lo CC qresult.lo CC results.lo CC socket.lo CC parse.lo CC statement.lo CC tuple.lo CC dlg_specific.lo dlg_specific.c: In function 'getCommonDefaults': dlg_specific.c:1438: warning: the address of 'conn_settings' will always evaluate as 'true' CC loadlib.lo loadlib.c: In function 'CALL_PQconnectdbParams': loadlib.c:439: warning: implicit declaration of function 'PQconnectdbParams' loadlib.c:439: warning: assignment makes pointer from integer without a cast CC multibyte.lo CC odbcapi.lo CC descriptor.lo CC odbcapi30.lo CC pgapi30.lo CC info30.lo CC mylog.lo CC odbcapi30w.lo CC odbcapiw.lo CC win_unicode.lo CCLD psqlodbcw.la make[1]: Leaving directory `/tmp/psqlodbc-09.02.0100' --nextPart3637304.Xo4oxYjkBQ Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc --nextPart3637304.Xo4oxYjkBQ--