Mailing List Archive

[Bug 8373] New: - Regex Problem
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8373>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8373

Regex Problem

Summary: Regex Problem
Product: Apache httpd-1.3
Version: 1.3.23
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Minor
Priority: Other
Component: Other
AssignedTo: bugs@httpd.apache.org
ReportedBy: giffordj@linkline.com


When I compile other programs after I have installed apache 1.3, I notice the
following problems, sometimes they crash compiling and others they stop
completly.

Some reason while I compile the hsregex.h file gets included, to my
understanding it is for WIN32, but I'm running linux. Did I miss something
when I configured my apache to cause
this issue. It gets called from the ap_config.h file.

Here is an example of the error I receive.

/usr/include/regex.h:295: parse error before numeric constant
/usr/include/regex.h:396: conflicting types for `regex_t'
/usr/include/hsregex.h:32: previous declaration of `regex_t'
/usr/include/regex.h:399: conflicting types for `regoff_t'
/usr/include/hsregex.h:26: previous declaration of `regoff_t'
/usr/include/regex.h:427: conflicting types for `regmatch_t'
/usr/include/hsregex.h:36: previous declaration of `regmatch_t'
/usr/include/regex.h:540: conflicting types for `regcomp'
/usr/include/hsregex.h:40: previous declaration of `regcomp'
/usr/include/regex.h:545: conflicting types for `regexec'
/usr/include/hsregex.h:74: previous declaration of `regexec'
/usr/include/regex.h:548: conflicting types for `regerror'
/usr/include/hsregex.h:70: previous declaration of `regerror'
/usr/include/regex.h:550: conflicting types for `regfree'
/usr/include/hsregex.h:84: previous declaration of `regfree'

A workaround I have been using is to copy regex.h to hsregex.h

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