pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #14123: Build failed pg952 on vs2015
2+ messages / 2 participants
[nested] [flat]

* BUG #14123: Build failed pg952 on vs2015
@ 2016-05-02 05:13 kangjoni76@gmail.com
  2016-05-02 05:27 ` Re: BUG #14123: Build failed pg952 on vs2015 Michael Paquier <michael.paquier@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: kangjoni76@gmail.com @ 2016-05-02 05:13 UTC (permalink / raw)
  To: 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
==========


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #14123: Build failed pg952 on vs2015
  2016-05-02 05:13 BUG #14123: Build failed pg952 on vs2015 kangjoni76@gmail.com
@ 2016-05-02 05:27 ` Michael Paquier <michael.paquier@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Paquier @ 2016-05-02 05:27 UTC (permalink / raw)
  To: kangjoni76@gmail.com; +Cc: pgsql-bugs

On Mon, May 2, 2016 at 2:13 PM,  <kangjoni76@gmail.com> wrote:
> PostgreSQL version: 9.5.2
> Operating system:   windows 7
> 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.

You will need to wait for 9.5.3, 9.5.2 is not able to build with VS2015.

> 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

tzname and timezone are not objects available in VS2015, but _timezone
and _tzname are.
-- 
Michael


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-05-02 05:27 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-05-02 05:13 BUG #14123: Build failed pg952 on vs2015 kangjoni76@gmail.com
2016-05-02 05:27 ` Michael Paquier <michael.paquier@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox