Bug #13815 Updated: apache-module doesn't compile
| From: | sander@php.net | Date: | Mon, 19 Nov 2001 15:23:42 +0000 |
| Subject: | Bug #13815 Updated: apache-module doesn't compile | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70920@lists.php.net to get a copy of this message | ||
ID: 13815
Updated by: sander
Reported By: sander@php.net
Old Status: Open
Status: Closed
Bug Type: Compile Failure
Operating System: Windows 2000
PHP Version: 4.0CVS-2001-10-24
New Comment:
Everything seems to work fine with the latest CVS so I'm closing this one... :)
Previous Comments:
------------------------------------------------------------------------
[2001-10-24 11:44:13] sander@php.net
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 this bug report at http://bugs.php.net/?id=13815&edit=1