Re: Building PostgreSQL 9.6devel sources with Microsoft Visual C++ 2015?

From: Yury Zhuravlev <u(dot)zhuravlev(at)postgrespro(dot)ru>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Building PostgreSQL 9.6devel sources with Microsoft Visual C++ 2015?
Date: 2016-01-21 17:52:18
Message-ID: e317eec9-d40d-49b9-b776-e89cf1d18c82@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
> Somebody will have to research how one is
> supposed to get the appropriate locale name now.
It's just a bug:
https://connect.microsoft.com/VisualStudio/feedback/details/1882835/locale-t-compile-issues-with-vs2015
I spied a solution there and made a patch (in attachment).
I came across this error when building Postgres using the CMake for the
MSVC 2015.

Thanks.

PS I do not know whether this patch needs to be added to commitfest?
--
Yury Zhuravlev
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

Attachment Content-Type Size
workaround_for_msvc2015_issue.patch text/x-patch 1.1 KB

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2016-01-21 18:09:25 yum packages for 9.5 vs <=9.4
Previous Message Adrian Klaver 2016-01-21 15:18:36 Re: Variable not found