Re: Windows warnings from VS 2017
Michael Paquier <michael.paquier@gmail.com>
From: Michael Paquier <michael.paquier@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>, Haribabu Kommi <kommi.haribabu@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2017-09-22T01:36:14Z
Lists: pgsql-hackers
On Thu, Sep 21, 2017 at 10:30 PM, Tom Lane <tgl@sss.pgh.pa.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
Commits
-
Quieten warnings about unused variables
- 28ae524bbf86 11.0 landed