From: Pavel Raiskup <praiskup@redhat.com>
To: pgsql-odbc@postgresql.org
Cc: Hiroshi Saito <hiroshi@winpg.jp>
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> (raw)
In-Reply-To: <1386349717-2942-1-git-send-email-praiskup@redhat.com>
References: <1386349717-2942-1-git-send-email-praiskup@redhat.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
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.
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbcAttachments:buildlog (text/plain, 2.7K) download
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'
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: praiskup@redhat.com, hiroshi@winpg.jp
Subject: Re: [PATCH] Silence GCC warnings, fix build
In-Reply-To: <11563918.L3yR1fcAbQ@nb.usersys.redhat.com>
References: <1386349717-2942-1-git-send-email-praiskup@redhat.com> <11563918.L3yR1fcAbQ@nb.usersys.redhat.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox