pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Inoue, Hiroshi <inoue@tpf.co.jp>
To: ljwilson <ljwilson@digitalav.com>
To: pgsql-odbc@postgresql.org
Subject: Re: Windows Compile warnings: C4018 signed/unsigned mismatch and C4723 potential divide by 0
Date: Mon, 16 Dec 2013 12:34:44 +0900
Message-ID: <52AE74D4.5030804@tpf.co.jp> (raw)
In-Reply-To: <1387114376802-5783481.post@n5.nabble.com>
References: <1387114376802-5783481.post@n5.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

(2013/12/15 22:32), ljwilson wrote:
> 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?

OK I pushed the change
     Suppress Windows Compile warnings: C4018 signed/unsigned mismatch
	by default.

You can change some CL options using CUSTOMCLOPT macro.

As for the C4723 warning, I didn't suppress them because I can verify
  the intentional 0-divide using the warnings.

regards,
Hiroshi Inoue

-- 
I am using the free version of SPAMfighter.
SPAMfighter has removed 1246 of my spam emails to date.
Get the free SPAMfighter here: http://www.spamfighter.com/len

Do you have a slow PC? Try a Free scan 
http://www.spamfighter.com/SLOW-PCfighter?cid=sigen



-- 
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: <52AE74D4.5030804@tpf.co.jp>
Permalink:  ../52AE74D4.5030804@tpf.co.jp/
Also on:    postgresql.org/message-id/52AE74D4.5030804@tpf.co.jp

 · 

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: inoue@tpf.co.jp, ljwilson@digitalav.com
  Subject: Re: Windows Compile warnings: C4018 signed/unsigned mismatch and C4723 potential divide by 0
  In-Reply-To: <52AE74D4.5030804@tpf.co.jp>
  References: <1387114376802-5783481.post@n5.nabble.com> <52AE74D4.5030804@tpf.co.jp>

* 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