Error compiling MSSQL for Win32
| From: | Graeme Merrall | Date: | Mon, 03 Apr 2000 06:19:39 +0000 |
| Subject: | Error compiling MSSQL for Win32 | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-13027@lists.php.net to get a copy of this message | ||
It's probably me but I get this nasty error when compiling the latest CVS
using VC++6 on Win2000 Server.
Any clues as to the cause/solution? (Apologies for line wraps)
--------------------Configuration: mssql - Win32 MSSQL 65
Release_TS------------
--------
Compiling...
php_mssql.c
D:\php\php4\ext\mssql\php_mssql.c(73) : error C2065: 'ZEND_DEBUG' :
undeclared identifier
D:\php\php4\ext\mssql\php_mssql.c(73) : error C2099: initializer is not a
constant
D:\php\php4\ext\mssql\php_mssql.c(74) : warning C4305: 'initializing' :
truncation from 'const int ' to 'unsigned char '
D:\php\php4\ext\mssql\php_mssql.c(1433) : error C2059: syntax error : '='
D:\php\php4\ext\mssql\php_mssql.c(1438) : error C2059: syntax error :
'switch'
D:\php\php4\ext\mssql\php_mssql.c(1464) : error C2065: 'result' : undeclared
identifier
D:\php\php4\ext\mssql\php_mssql.c(1464) : error C2223: left of '->data' must
point to struct/union
D:\php\php4\ext\mssql\php_mssql.c(1464) : error C2065: 'row' : undeclared
identifier
D:\php\php4\ext\mssql\php_mssql.c(1464) : error C2100: illegal indirection
D:\php\php4\ext\mssql\php_mssql.c(1464) : error C2223: left of '->value'
must point to struct/union
D:\php\php4\ext\mssql\php_mssql.c(1464) : fatal error C1903: unable to
recover from previous error(s); stopping compilation