| From: | Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, "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: | 2017-02-23 13:14:30 |
| Message-ID: | CANFyU95F5vOw4otczfbJ2pAu8jqX2AG8rftuQqFGT=Yt5EaiXw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Hi,
I see that the commit *0fb54de9aa4ffb792ea63af853146021ae501f12* adds
support to build with Visual Studio 2015. But, I tried building 9.6.2 and
it returns me the same error on Windows2012 R2. Is it only me that is
seeing the error?
On Mon, Jan 4, 2016 at 8:42 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Michael Paquier <michael(dot)paquier(at)gmail(dot)com> writes:
> > On Mon, Jan 4, 2016 at 9:40 PM, Sandeep Thakkar
> > <sandeep(dot)thakkar(at)enterprisedb(dot)com> wrote:
> >> ... 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.
>
> That particular chunk of code is quite MSVC version dependent; read the
> comments for it. It's annoying but not especially surprising that they
> broke it in an upgrade. Somebody will have to research how one is
> supposed to get the appropriate locale name now.
>
> regards, tom lane
>
--
Sandeep Thakkar
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2017-02-23 13:33:18 | Re: Building PostgreSQL 9.6devel sources with Microsoft Visual C++ 2015? |
| Previous Message | Adrian Klaver | 2017-02-23 12:54:42 | Re: Latest PostgreSQL on Raspbian Jessie |