Re: Windows Compile warnings: C4018 signed/unsigned mismatch and C4723 potential divide by 0

From: "Inoue, Hiroshi" <inoue(at)tpf(dot)co(dot)jp>
To: ljwilson <ljwilson(at)digitalav(dot)com>, pgsql-odbc(at)postgresql(dot)org
Subject: Re: Windows Compile warnings: C4018 signed/unsigned mismatch and C4723 potential divide by 0
Date: 2013-12-16 03:34:44
Message-ID: 52AE74D4.5030804@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Pavel Raiskup 2013-12-16 12:40:04 psqlodbc - dos line-ending in generated source tarballs
Previous Message ljwilson 2013-12-15 13:32:56 Windows Compile warnings: C4018 signed/unsigned mismatch and C4723 potential divide by 0