This is the mail archive of the
mailing list for the Cygwin project.
duplicate regexec/regcomp functions detected
- From: "Ralf Habacker" <Ralf dot Habacker at freenet dot de>
- To: "Cygwin" <cygwin at sources dot redhat dot com>
- Date: Thu, 13 Dec 2001 21:18:39 +0100
- Subject: duplicate regexec/regcomp functions detected
kde needs the regexp functions regexec and regcomp.
The cygwin lib contains the System V8 function call style, while the pcre package (pcreposix)
provides another style (the system V style I guess). The problem is now, that both libs
supports the same names for regexec and regcomp but with different parameter/return types.
This results sometimes in execution failures if the libs are not in the right order like
shown in the following example.
pcre regexp wanted
$ gcc ... -lpcreposix -lcygwin -> okay
$ gcc ... -lpthreads|-lm|-lc -lpcreposix -lcygwin -> failure: the functions in cygwin lib
Especially in libtool related environment with many dependency libs like kde this causes much
Should it not be better, to remove the regexp support from cygwin into a seperate lib, so
that users has an easier possibility to choose which regexp style they want ?
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html