php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63855 compilation fails on windows
Submitted: 2012-12-26 13:36 UTC Modified: 2013-01-08 09:57 UTC
From: erez dot h at zend dot com Assigned: ab (profile)
Status: Closed Package: ssh2 (PECL)
PHP Version: Irrelevant OS: windows
Private report: No CVE-ID: None
 [2012-12-26 13:36 UTC] erez dot h at zend dot com
Description:
------------
compiling  ssh2 0.12 display these error:
ext\ssh2\ssh2.c(683) : warning C4013: 'getpwuid' undefined; assuming extern 
returning int
ext\ssh2\ssh2.c(683) : warning C4013: 'geteuid' undefined; assuming extern 
returning int
ext\ssh2\ssh2.c(683) : warning C4047: '=' : 'passwd *' differs in levels of 
indirection from 'int'
ext\ssh2\ssh2.c(685) : error C2037: left of 'pw_dir' specifies undefined 
struct/union 'passwd'
ext\ssh2\ssh2.c(685) : error C2168: 'strlen' : too few actual parameters for 
intrinsic function
ext\ssh2\ssh2.c(686) : error C2037: left of 'pw_dir' specifies undefined 
struct/union 'passwd'
ext\ssh2\ssh2.c(686) : error C2168: 'strcpy' : too few actual parameters for 
intrinsic function
ext\ssh2\ssh2.c(692) : error C2037: left of 'pw_dir' specifies undefined 
struct/union 'passwd'
ext\ssh2\ssh2.c(692) : error C2168: 'strlen' : too few actual parameters for 
intrinsic function
ext\ssh2\ssh2.c(693) : error C2037: left of 'pw_dir' specifies undefined 
struct/union 'passwd'
ext\ssh2\ssh2.c(693) : error C2168: 'strcpy' : too few actual parameters for 
intrinsic function


Patches

ssh2-0.12 (last revision 2012-12-26 13:36 UTC by erez dot h at zend dot com)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-01-08 09:53 UTC] ab@php.net
Automatic comment from SVN on behalf of ab
Revision: http://svn.php.net/viewvc/?view=revision&revision=329012
Log: Fix bug Bug #63855 compilation fails on windows (patch from erez dot h at zend dot com)
 [2013-01-08 09:57 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC