See https://builds.apache.org/job/ZooKeeper-trunk-WinVS2008/514/

###################################################################################
########################## LAST 60 LINES OF THE CONSOLE 
###########################
[...truncated 162 lines...]
.\src\zk_log.c(134): warning C4996: 'getpid': The POSIX name for this item is 
deprecated. Instead, use the ISO C++ conformant name: _getpid. See online help 
for details.
.\src\zk_log.c(160): warning C4996: 'vsnprintf': This function or variable may 
be unsafe. Consider using vsnprintf_s instead. To disable deprecation, use 
_CRT_SECURE_NO_WARNINGS. See online help for details.
.\src\zk_hashtable.c(189): warning C4996: 'strdup': The POSIX name for this 
item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See 
online help for details.
.\src\zk_hashtable.c(213): warning C4996: 'strdup': The POSIX name for this 
item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See 
online help for details.
.\src\mt_adaptor.c(513): warning C4244: '=' : conversion from 'time_t' to 
'int32_t', possible loss of data
Done Building Project 
"f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln"
 (default targets) -- FAILED.

Build FAILED.

"f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln"
 (default target) (1) ->
(zookeeper target) -> 
  cl : Command line warning D9035: option 'Wp64' has been deprecated and will 
be removed in a future release
  .\src\zookeeper.c(464): warning C4996: 'strdup': The POSIX name for this item 
is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online 
help for details.
  .\src\zookeeper.c(812): warning C4996: 'strdup': The POSIX name for this item 
is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online 
help for details.
  .\src\zookeeper.c(823): warning C4996: 'strncpy': This function or variable 
may be unsafe. Consider using strncpy_s instead. To disable deprecation, use 
_CRT_SECURE_NO_WARNINGS. See online help for details.
  .\src\zookeeper.c(829): warning C4996: 'strdup': The POSIX name for this item 
is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online 
help for details.
  .\src\zookeeper.c(890): warning C4996: 'strdup': The POSIX name for this item 
is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online 
help for details.
  .\src\zookeeper.c(893): warning C4996: 'strcpy': This function or variable 
may be unsafe. Consider using strcpy_s instead. To disable deprecation, use 
_CRT_SECURE_NO_WARNINGS. See online help for details.
  .\src\zookeeper.c(894): warning C4996: 'strcat': This function or variable 
may be unsafe. Consider using strcat_s instead. To disable deprecation, use 
_CRT_SECURE_NO_WARNINGS. See online help for details.
  .\src\zookeeper.c(913): warning C4996: 'strdup': The POSIX name for this item 
is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online 
help for details.
  .\src\zookeeper.c(916): warning C4996: 'strdup': The POSIX name for this item 
is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online 
help for details.
  .\src\zookeeper.c(1252): warning C4996: 'vsnprintf': This function or 
variable may be unsafe. Consider using vsnprintf_s instead. To disable 
deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  .\src\zookeeper.c(1255): warning C4996: 'strerror': This function or variable 
may be unsafe. Consider using strerror_s instead. To disable deprecation, use 
_CRT_SECURE_NO_WARNINGS. See online help for details.
  .\src\zookeeper.c(1477): warning C4133: 'function' : incompatible types - 
from 'int *__w64 ' to 'const char *'
  .\src\zookeeper.c(1482): warning C4996: 'strerror': This function or variable 
may be unsafe. Consider using strerror_s instead. To disable deprecation, use 
_CRT_SECURE_NO_WARNINGS. See online help for details.
  .\src\zookeeper.c(1694): warning C4133: 'function' : incompatible types - 
from 'int *__w64 ' to 'char *'
  .\src\zookeeper.c(1932): warning C4267: '=' : conversion from 'size_t' to 
'int', possible loss of data
  .\src\zookeeper.c(2308): warning C4996: 'strdup': The POSIX name for this 
item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See 
online help for details.
  .\src\zookeeper.c(2564): warning C4267: '=' : conversion from 'size_t' to 
'int', possible loss of data
  .\src\zookeeper.c(3054): warning C4267: 'initializing' : conversion from 
'size_t' to 'int', possible loss of data
  .\src\zk_log.c(120): warning C4996: '_snprintf': This function or variable 
may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use 
_CRT_SECURE_NO_WARNINGS. See online help for details.
  .\src\zk_log.c(134): warning C4996: 'getpid': The POSIX name for this item is 
deprecated. Instead, use the ISO C++ conformant name: _getpid. See online help 
for details.
  .\src\zk_log.c(160): warning C4996: 'vsnprintf': This function or variable 
may be unsafe. Consider using vsnprintf_s instead. To disable deprecation, use 
_CRT_SECURE_NO_WARNINGS. See online help for details.
  .\src\zk_hashtable.c(189): warning C4996: 'strdup': The POSIX name for this 
item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See 
online help for details.
  .\src\zk_hashtable.c(213): warning C4996: 'strdup': The POSIX name for this 
item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See 
online help for details.
  .\src\mt_adaptor.c(513): warning C4244: '=' : conversion from 'time_t' to 
'int32_t', possible loss of data


"f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln"
 (default target) (1) ->
(zookeeper target) -> 
  .\src\zookeeper.c(2526): error C2143: syntax error : missing ';' before 'type'
  .\src\zookeeper.c(2527): error C2065: 'fd_s' : undeclared identifier
  .\src\zookeeper.c(2527): error C2109: subscript requires array or pointer type
  .\src\zookeeper.c(2528): error C2065: 'fd_s' : undeclared identifier
  .\src\zookeeper.c(2528): error C2109: subscript requires array or pointer type
  .\src\zookeeper.c(2528): error C2065: 'POLLIN' : undeclared identifier
  .\src\zookeeper.c(2529): error C2143: syntax error : missing ';' before 'type'
  .\src\zookeeper.c(2530): error C2065: 'ret' : undeclared identifier
  .\src\zookeeper.c(2533): error C2065: 'ret' : undeclared identifier

    25 Warning(s)
    9 Error(s)

Time Elapsed 00:00:07.40

f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008>exit 1 
Build step 'Execute Windows batch command' marked build as failure
Email was triggered for: Failure
Sending email for trigger: Failure



###################################################################################
############################## FAILED TESTS (if any) 
##############################
No tests ran.

Reply via email to