httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28781] New: - module compilations troubles if regex if used
Date Wed, 05 May 2004 13:15:29 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28781>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28781

module compilations troubles if regex if used

           Summary: module compilations troubles if regex if used
           Product: Apache httpd-2.0
           Version: 2.1-HEAD
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: maxime@sochi.net.ru


I'm trying to port my module to Apache2. This module uses system regex calls. 
I have following error when trying to compile: 
In file included from ../include/dps_common.h:27, 
                 from ../include/dpsearch.h:22, 
                 from mod_dpsearch.c:31: 
/usr/include/regex.h:62: warning: `REG_EXTENDED' redefined 
/httpd2/include/pcreposix.h:34: warning: this is the location of the previous 
definition 
... 
etc. 
 
It looks like all rerex related difinition is doubled in pcreposix.h. 
 
I think, Apache's regex related functions and definitions should have prefix 
ap_ to avoid this mess.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message