pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feed From: ljwilson <ljwilson@digitalav.com>
To: pgsql-odbc@postgresql.org
Subject: Windows Compile warnings: C4018 signed/unsigned mismatch and C4723 potential divide by 0
Date: Sun, 15 Dec 2013 05:32:56 -0800 (PST)
Message-ID: <1387114376802-5783481.post@n5.nabble.com> (raw )
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
This shouldn't hold-up the impending release, but I thought I should mention
this.
I've always gotten these compiler warnings with VS2012 Express, and just
ignore them. Should we be setting a compile-level switch to surpress them,
or should they be fixed in the code?
Using command: nmake /f win32.mak CFG=Release ALL USE_LIBPQ=yes
With git commit: d57e87caf0079e9aca8ea0c1ae8f6ea3fa81588b
<http://git.postgresql.org/gitweb/?p=psqlodbc.git;a=commit;h=d57e87caf0079e9aca8ea0c1ae8f6ea3fa81588b ;
bind.c(940) : warning C4018: '<' : signed/unsigned mismatch
convert.c(474) : warning C4018: '>' : signed/unsigned mismatch
convert.c(1417) : warning C4018: '<=' : signed/unsigned mismatch
convert.c(1459) : warning C4018: '<' : signed/unsigned mismatch
convert.c(2670) : warning C4018: '<' : signed/unsigned mismatch
convert.c(2701) : warning C4018: '<' : signed/unsigned mismatch
convert.c(2752) : warning C4018: '<' : signed/unsigned mismatch
convert.c(3047) : warning C4018: '<' : signed/unsigned mismatch
convert.c(3413) : warning C4018: '<' : signed/unsigned mismatch
convert.c(4135) : warning C4018: '>=' : signed/unsigned mismatch
convert.c(4844) : warning C4018: '<' : signed/unsigned mismatch
dlg_specific.c(1476) : warning C4018: '<' : signed/unsigned mismatch
dlg_specific.c(1481) : warning C4018: '>=' : signed/unsigned mismatch
dlg_specific.c(1490) : warning C4018: '>=' : signed/unsigned mismatch
execute.c(1390) : warning C4018: '>=' : signed/unsigned mismatch
info.c(803) : warning C4018: '>=' : signed/unsigned mismatch
parse.c(306) : warning C4018: '<' : signed/unsigned mismatch
parse.c(505) : warning C4018: '<=' : signed/unsigned mismatch
parse.c(1125) : warning C4018: '<' : signed/unsigned mismatch
parse.c(1139) : warning C4018: '>=' : signed/unsigned mismatch
parse.c(1153) : warning C4018: '<' : signed/unsigned mismatch
parse.c(1500) : warning C4018: '>=' : signed/unsigned mismatch
pgtypes.c(1488) : warning C4018: '<' : signed/unsigned mismatch
c:\psqlodbc\convert.c(692) : warning C4723: potential divide by 0
qresult.c(936) : warning C4018: '>' : signed/unsigned mismatch
results.c(565) : warning C4018: '<' : signed/unsigned mismatch
results.c(625) : warning C4018: '<' : signed/unsigned mismatch
results.c(878) : warning C4018: '>=' : signed/unsigned mismatch
results.c(1338) : warning C4018: '<=' : signed/unsigned mismatch
results.c(1353) : warning C4018: '<=' : signed/unsigned mismatch
results.c(1768) : warning C4018: '>' : signed/unsigned mismatch
results.c(1806) : warning C4018: '<' : signed/unsigned mismatch
results.c(2189) : warning C4018: '>=' : signed/unsigned mismatch
results.c(2325) : warning C4018: '>=' : signed/unsigned mismatch
results.c(2429) : warning C4018: '>=' : signed/unsigned mismatch
results.c(2539) : warning C4018: '>=' : signed/unsigned mismatch
results.c(2647) : warning C4018: '<' : signed/unsigned mismatch
results.c(2784) : warning C4018: '<' : signed/unsigned mismatch
results.c(2800) : warning C4018: '<' : signed/unsigned mismatch
results.c(2824) : warning C4018: '<' : signed/unsigned mismatch
results.c(2965) : warning C4018: '>=' : signed/unsigned mismatch
results.c(2972) : warning C4018: '>=' : signed/unsigned mismatch
results.c(3110) : warning C4018: '<' : signed/unsigned mismatch
results.c(3286) : warning C4018: '>' : signed/unsigned mismatch
results.c(3297) : warning C4018: '>' : signed/unsigned mismatch
results.c(3308) : warning C4018: '>' : signed/unsigned mismatch
results.c(3408) : warning C4018: '<' : signed/unsigned mismatch
results.c(3433) : warning C4018: '>=' : signed/unsigned mismatch
results.c(3553) : warning C4018: '>=' : signed/unsigned mismatch
results.c(3629) : warning C4018: '>=' : signed/unsigned mismatch
results.c(3796) : warning C4018: '>=' : signed/unsigned mismatch
results.c(4019) : warning C4018: '<' : signed/unsigned mismatch
results.c(4213) : warning C4018: '<' : signed/unsigned mismatch
results.c(4308) : warning C4018: '>=' : signed/unsigned mismatch
results.c(4563) : warning C4018: '>=' : signed/unsigned mismatch
statement.c(1704) : warning C4018: '<' : signed/unsigned mismatch
odbcapi30w.c(186) : warning C4018: '>=' : signed/unsigned mismatch
odbcapi30w.c(311) : warning C4018: '>=' : signed/unsigned mismatch
odbcapi30w.c(382) : warning C4018: '>=' : signed/unsigned mismatch
Thanks...jack
--
View this message in context: http://postgresql.1045698.n5.nabble.com/Windows-Compile-warnings-C4018-signed-unsigned-mismatch-and-...
Sent from the PostgreSQL - odbc mailing list archive at Nabble.com.
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
view thread (3+ messages) latest in thread
Message-ID: <1387114376802-5783481.post@n5.nabble.com>
Permalink: ../1387114376802-5783481.post@n5.nabble.com/
Also on: postgresql.org/message-id/1387114376802-5783481.post@n5.nabble.com
copy link · copy postgr.es
reply 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: ljwilson@digitalav.com
Subject: Re: Windows Compile warnings: C4018 signed/unsigned mismatch and C4723 potential divide by 0
In-Reply-To: <1387114376802-5783481.post@n5.nabble.com>
References: <1387114376802-5783481.post@n5.nabble.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