Re: Windows warnings from VS 2017

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>, Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Windows warnings from VS 2017
Date: 2017-09-22 01:36:14
Message-ID: CAB7nPqTrH5XM6D6a6t=sa7RtnBb_=ttuJ6iuy+C10kkphHFdeQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Sep 21, 2017 at 10:30 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Another thought is that it may be time for our decennial debate about
> whether MemSet is worth the electrons it's printed on. I continue to
> think that any modern compiler+libc ought to do an equivalent or better
> optimization given just a plain memset(). If that seems to be true
> for recent MSVC, we could consider putting an #if into c.h to define
> MemSet as just memset for MSVC. Maybe later that could be extended
> to other compilers.

+1. Things change quickly in IT.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2017-09-22 01:41:08 Re: Windows warnings from VS 2017
Previous Message Peter Geoghegan 2017-09-22 00:53:05 Re: CREATE COLLATION does not sanitize ICU's BCP 47 language tags. Should it?