From: | kangjoni76(at)gmail(dot)com |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #14123: Build failed pg952 on vs2015 |
Date: | 2016-05-02 05:13:03 |
Message-ID: | 20160502051303.19109.80810@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 14123
Logged by: kangjoni
Email address: kangjoni76(at)gmail(dot)com
PostgreSQL version: 9.5.2
Operating system: windows 7
Description:
Thanks before for initial effort to port on vs2015. Just curious building
against lastest update 2 vs2015 yielded some errors here especially on ecpg
and libpgtypes.
1>------ Build started: Project: libpgtypes, Configuration: Release Win32
------
1> dt_common.c
1> timestamp.c
1>src/interfaces/ecpg/pgtypeslib/timestamp.c(227): error C2065: 'timezone':
undeclared identifier
1>src/interfaces/ecpg/pgtypeslib/timestamp.c(229): error C2065: 'tzname':
undeclared identifier
1>src/interfaces/ecpg/pgtypeslib/timestamp.c(229): error C2109: subscript
requires array or pointer type
1>src/interfaces/ecpg/pgtypeslib/dt_common.c(1074): error C2065: 'timezone':
undeclared identifier
1>src/interfaces/ecpg/pgtypeslib/dt_common.c(1082): error C2065: 'tzname':
undeclared identifier
1>src/interfaces/ecpg/pgtypeslib/dt_common.c(1082): error C2109: subscript
requires array or pointer type
1>src/interfaces/ecpg/pgtypeslib/dt_common.c(1082): warning C4047:
'function': 'const char *' differs in levels of indirection from 'Size'
1>src/interfaces/ecpg/pgtypeslib/dt_common.c(1082): warning C4024:
'strncpy': different types for formal and actual parameter 2
1>src/interfaces/ecpg/pgtypeslib/dt_common.c(1082): error C2198: 'strncpy':
too few arguments for call
1>src/interfaces/ecpg/pgtypeslib/dt_common.c(1083): error C2065: 'tzname':
undeclared identifier
1>src/interfaces/ecpg/pgtypeslib/dt_common.c(1083): error C2109: subscript
requires array or pointer type
1>src/interfaces/ecpg/pgtypeslib/dt_common.c(1083): error C2168: 'strlen':
too few actual parameters for intrinsic function
2>------ Build started: Project: libecpg, Configuration: Release Win32
------
2> connect.c
2> data.c
2> descriptor.c
2> error.c
2> execute.c
2> memory.c
2> misc.c
2> prepare.c
2> sqlda.c
2> typename.c
2>LINK : fatal error LNK1181: cannot open input file
'Release/libpgtypes/libpgtypes.lib'
3>------ Build started: Project: libecpg_compat, Configuration: Release
Win32 ------
3> informix.c
3>LINK : fatal error LNK1181: cannot open input file
'Release/libpgtypes/libpgtypes.lib'
========== Build: 0 succeeded, 3 failed, 127 up-to-date, 0 skipped
==========
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2016-05-02 05:27:06 | Re: BUG #14123: Build failed pg952 on vs2015 |
Previous Message | Christoph Berg | 2016-05-01 19:12:21 | Re: BUG #14117: psql and pg_dump commands should use ENV perl |