|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-01-09 06:37 UTC] php at dark-id dot de
compiling of php 4.3.0 terminates with ../php-4.3.0/ext/mssql/php_mssql.c: In function `zm_activate_mssql': ../php-4.3.0/ext/mssql/php_mssql.c:334: `SHORT' undeclared (first use in this function) ../php-4.3.0/ext/mssql/php_mssql.c:334: (Each undeclared identifier is reported only once ../php-4.3.0/ext/mssql/php_mssql.c:334: for each function it appears in.) when configured with --with-mssql. Any hints? PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
re-opened. This is still happening (or again happening) for me. 4.3.6RC3 (and CVS HEAD (4_3)). Attached is a patch to fix this. I'm not a c guy, though, so please verify. S --- Index: ext/mssql/php_mssql.c =================================================================== RCS file: /repository/php-src/ext/mssql/php_mssql.c,v retrieving revision 1.86.2.31 diff -u -r1.86.2.31 php_mssql.c --- ext/mssql/php_mssql.c 30 Mar 2004 17:54:38 -0000 1.86.2.31 +++ ext/mssql/php_mssql.c 14 Apr 2004 15:18:18 -0000 @@ -336,7 +336,7 @@ dbsetlogintime(MS_SQL_G(connect_timeout)); if (MS_SQL_G(timeout) < 0) MS_SQL_G(timeout) = 60; dbsettime(MS_SQL_G(timeout)); - dbsetmaxprocs((SHORT)MS_SQL_G(max_procs)); + dbsetmaxprocs((int)MS_SQL_G(max_procs)); return SUCCESS; }