|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-11-19 10:23 UTC] sander@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 13:00:01 2025 UTC |
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.