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.
Yes indeed; this is done in 2.1.3. *** This bug has been marked as a duplicate of 27550 ***