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

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Building PostgreSQL 9.6devel sources with Microsoft Visual C++ 2015?
Date: 2016-01-04 13:07:43
Message-ID: CAB7nPqSWb3joq8YQtCHo5KJsbcuS81M5_7WUKZG406jBGS17_Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Jan 4, 2016 at 9:40 PM, Sandeep Thakkar
<sandeep(dot)thakkar(at)enterprisedb(dot)com> wrote:
> As per the installation doc available here,
> http://www.postgresql.org/docs/devel/static/install-windows.html
>
> the sources can be built with Microsoft Visual C++ 2005 to Microsoft Visual
> C++ 2013. Does it mean the higher version like Microsoft Visual C++ 2015 is
> not supported? We tried building it with Visual Studio 2015 and Windows 10
> SDK, but see build errors like
>
> src/backend/utils/adt/pg_locale.c(809): error C2037: left of 'locale_name'
> specifies undefined struct/union '__crt_locale_data'

I am afraid that's not within the support range now.. Like similar
builds with MSVC in the past, this is surely going to need some teaks
with _MSC_VER flags. Just nobody got around yet to patch the code.
--
Michael

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message chiru r 2016-01-04 13:39:45 Re: Streaming replication stacked.
Previous Message Sandeep Thakkar 2016-01-04 12:40:29 Building PostgreSQL 9.6devel sources with Microsoft Visual C++ 2015?