| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Magnus Hagander <magnus(at)hagander(dot)net> |
| Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Win64 warnings about size_t |
| Date: | 2010-01-01 17:59:57 |
| Message-ID: | 2571.1262368797@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Magnus Hagander <magnus(at)hagander(dot)net> writes:
> On Fri, Jan 1, 2010 at 18:47, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> I think MSVC is just complaining about something gcc doesn't. If you
>> can disable this specific warning it'd be a good plan.
> Yeah, that should be doable. According to
> http://msdn.microsoft.com/en-us/library/6kck0s93(VS.80).aspx this
> warning is only about size_t, and not about the issue in general, so I
> can just disable C4267 and they should go away.
Sounds good. The case we do need to look for is any remaining casts
between pointer and long. If that's a different warning number then
we'll be in good shape.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2010-01-01 18:15:14 | Re: Cancelling idle in transaction state |
| Previous Message | Magnus Hagander | 2010-01-01 17:50:31 | Re: Win64 warnings about size_t |