From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Aditya Nugraha <vortexilation(at)gmail(dot)com> |
Cc: | pgsql-general(at)lists(dot)postgresql(dot)org |
Subject: | Re: Error when compiling postgresql 9.6.7 with Visual Studio 15.5.6 |
Date: | 2018-02-19 17:23:48 |
Message-ID: | 24867.1519061028@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Aditya Nugraha <vortexilation(at)gmail(dot)com> writes:
> When trying to compile postgresql 9.6.7 with Visual Studio 15.5.6,
> i am getting errors at these following line :
> src/backend/utils/adt/pg_locale.c(927): error C2037: left of
> 'locale_name' specifies undefined struct/union '__crt_lo
> cale_data' [C:\Users\nameless\Documents\Works\Compiling\pgwininstall\builddir\postgresql\postgresql-9.6.7\postgres.vcxpr
> oj]
> src/backend/utils/adt/pg_locale.c(928): error C2198: 'wchar2char':
> too few arguments for call [C:\Users\nameless\Docum
> ents\Works\Compiling\pgwininstall\builddir\postgresql\postgresql-9.6.7\postgres.vcxproj]
This was previously discussed here:
Apparently Microsoft have changed their APIs in VS2015. Somebody needs to
figure out what's the approved way now to get the locale name out of a
_locale_t object.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2018-02-19 17:33:46 | Re: Empty ./share/timezone/UTC and failure to set UTC as timezone |
Previous Message | Sasa Vilic | 2018-02-19 17:20:36 | Empty ./share/timezone/UTC and failure to set UTC as timezone |