Fix some assorted compiler warnings on Windows.
Tom Lane <tgl@sss.pgh.pa.us>
Fix some assorted compiler warnings on Windows. Don't overflow the result type of constant expressions. Don't negate unsigned types. Define HAVE_STDBOOL_H for Visual C++ 2013 and later. Thomas Munro Reviewed-By: Michael Paquier and Tom Lane Discussion: https://postgr.es/m/CAEepm%3D3%3DTDYEXUEcHpEx%2BTwc31wo7PA0oBAiNt6sWmq93MW02A%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/basebackup.c | modified | +1 −1 |
| src/bin/pgbench/pgbench.c | modified | +2 −1 |
| src/include/pg_config.h.win32 | modified | +3 −1 |
Discussion
- A few warnings on Windows 21 messages · 2018-05-01 → 2018-05-03