Re: Fix warnings and typo in dshash
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2017-09-03T14:36:36Z
Lists: pgsql-hackers
Thomas Munro <thomas.munro@enterprisedb.com> writes: > Aside from these 3 warnings, it looks like the other 17 are all > "warning C4005: 'HAVE_LONG_LONG_INT_64': macro redefinition". Oh, I think that one might be my fault. I tweaked pg_config.h.win32 in 9d6b160d7 to use "#define HAVE_LONG_LONG_INT_64 1", for consistency with what happens in an autoconf'd build. But now I see that Solution.pm has another definition of that macro. (That sure looks like a mighty ad-hoc way of building ecpg_config.h, but whatever.) > I wonder if it would make sense to fix that too and then turn on the > MSVC equivalent of -Werror=xxx on a build farm animal... I don't have enough experience with MSVC to know if we want to commit to being 100% warning-free forevermore on it. But sure, somebody should try that on an experimental basis to see what happens. regards, tom lane
Commits
-
Minor clean-up in dshash.{c,h}.
- 17b340abf83d 11.0 landed
-
Suppress compiler warnings in dshash.c.
- 4faa1dc2eb02 11.0 landed
-
Fix macro-redefinition warning on MSVC.
- e451901804bd 11.0 landed
- d5c65d2f11ac 10.0 landed
- a64a0bfaae0c 9.2.24 landed
- a4b0a4d437dc 9.6.6 landed
- a42f8d979299 9.3.20 landed
- 1d30553aa235 9.5.10 landed
- 143fcf90b158 9.4.15 landed