git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: a7471bd) | patch
Remove some code for old unsupported versions of MSVC
Tue, 8 Oct 2019 08:27:30 +0000 (10:27 +0200)
Tue, 8 Oct 2019 08:50:54 +0000 (10:50 +0200)
commit 38d8dce61fff09daae0edb6bcdd42b0c7f10ebcd
Remove some code for old unsupported versions of MSVC

As of d9dd406fe281d22d5238d3c26a7182543c711e74, we require MSVC 2013,
which means _MSC_VER >= 1800. This means that conditionals about
older versions of _MSC_VER can be removed or simplified.

Previous code was also in some cases handling MinGW, where _MSC_VER is
not defined at all, incorrectly, such as in pg_ctl.c and win32_port.h,
leading to some compiler warnings. This should now be handled better.

Reviewed-by: Michael Paquier <michael@paquier.xyz>
12 files changed:
src/backend/utils/adt/pg_locale.c diff | blob | blame | history
src/backend/utils/adt/selfuncs.c diff | blob | blame | history
src/bin/pg_ctl/pg_ctl.c diff | blob | blame | history
src/include/pg_config.h.win32 diff | blob | blame | history
src/include/port/win32.h diff | blob | blame | history
src/include/port/win32_port.h diff | blob | blame | history
src/include/utils/float.h diff | blob | blame | history
src/interfaces/ecpg/test/expected/pgtypeslib-nan_test.c diff | blob | blame | history
src/interfaces/ecpg/test/expected/pgtypeslib-nan_test.stderr diff | blob | blame | history
src/interfaces/ecpg/test/pgtypeslib/nan_test.pgc diff | blob | blame | history
src/port/chklocale.c diff | blob | blame | history
src/tools/msvc/Solution.pm diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /