BUG #14123: Build failed pg952 on vs2015
От | kangjoni76@gmail.com |
---|---|
Тема | BUG #14123: Build failed pg952 on vs2015 |
Дата | |
Msg-id | 20160502051303.19109.80810@wrigleys.postgresql.org обсуждение исходный текст |
Ответы |
Re: BUG #14123: Build failed pg952 on vs2015
|
Список | pgsql-bugs |
The following bug has been logged on the website: Bug reference: 14123 Logged by: kangjoni Email address: kangjoni76@gmail.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 ==========
В списке pgsql-bugs по дате отправления: