From: [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version: 4.0CVS-2001-10-24
PHP Bug Type: Compile Failure
Bug description: apache-module doesn't compile
Compiling a CGI-binary works fine. During compilation of the apache-module,
I got the following warnings & errors:
--------------------Configuration: php4apache - Win32
Release_TS--------------------
Compiling...
mod_php4.c
E:\APACHE_1.3.22\SRC\OS\WIN32\os.h(123) : warning C4142: benign
redefinition of type
e:\apache_1.3.22\src\include\ap_config.h(1365) : warning C4005:
'XtOffsetOf' : macro redefinition
..\..\main\php.h(343) : see previous definition of 'XtOffsetOf'
..\..\ext/standard/file.h(51) : fatal error C1017: invalid integer constant
expression
php_apache.c
E:\APACHE_1.3.22\SRC\OS\WIN32\os.h(123) : warning C4142: benign
redefinition of type
e:\apache_1.3.22\src\include\ap_config.h(1365) : warning C4005:
'XtOffsetOf' : macro redefinition
..\..\main\php.h(343) : see previous definition of 'XtOffsetOf'
sapi_apache.c
E:\APACHE_1.3.22\SRC\OS\WIN32\os.h(123) : warning C4142: benign
redefinition of type
e:\apache_1.3.22\src\include\ap_config.h(1365) : warning C4005:
'XtOffsetOf' : macro redefinition
..\..\main\php.h(343) : see previous definition of 'XtOffsetOf'
..\..\ext/standard/file.h(51) : fatal error C1017: invalid integer constant
expression
Error executing cl.exe.
php4apache.dll - 2 error(s), 6 warning(s)
I also get these warnings when I compile 4.1.0RC1 or 4.0.7RC3, but the
fatal errors only show up with the latest CVS.
I'm using Visual C++ on Windows 2000.
--
Edit bug report at: http://bugs.php.net/?id=13815&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]