public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* duplicate regexec/regcomp functions detected
@ 2001-12-13 12:48 Ralf Habacker
  2001-12-14  2:40 ` Corinna Vinschen
  0 siblings, 1 reply; 30+ messages in thread
From: Ralf Habacker @ 2001-12-13 12:48 UTC (permalink / raw)
  To: Cygwin

Hi all,

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
are used

Especially in libtool related environment with many dependency libs like kde this causes much
trouble.

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 ?

Regards

Ralf









--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 30+ messages in thread
[parent not found: <01df01c19259$1cbb8300$0200a8c0@lifelesswks>]

end of thread, other threads:[~2002-01-02 10:11 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-13 12:48 duplicate regexec/regcomp functions detected Ralf Habacker
2001-12-14  2:40 ` Corinna Vinschen
2001-12-27 10:20   ` Ralf Habacker
2001-12-27 10:21     ` Christopher Faylor
2001-12-28  5:21       ` Ralf Habacker
2001-12-28  5:22         ` Robert Collins
2001-12-28 10:17         ` Christopher Faylor
2001-12-29 12:43           ` Ralf Habacker
2001-12-30  5:03             ` Christopher Faylor
2001-12-30  7:34               ` Ralf Habacker
2001-12-30 11:56                 ` Christopher Faylor
2001-12-31 11:19                   ` Ralf Habacker
2002-01-01  7:07                     ` Corinna Vinschen
2002-01-01 16:00                       ` Ralf Habacker
2002-01-02  2:04                         ` Corinna Vinschen
2002-01-02  2:11                           ` Ralf Habacker
2001-12-29 14:15           ` Ralf Habacker
2001-12-29 16:40           ` Ralf Habacker
2001-12-30 14:35             ` Christopher Faylor
2001-12-30 16:42               ` Christopher Faylor
2001-12-31  1:16                 ` Christopher Faylor
2001-12-31  2:42               ` Ralf Habacker
2001-12-31 11:06                 ` Christopher Faylor
2001-12-31 12:04                   ` Ralf Habacker
2001-12-31 14:12                     ` Christopher Faylor
     [not found] <01df01c19259$1cbb8300$0200a8c0@lifelesswks>
2002-01-01  6:27 ` Ralf Habacker
2002-01-01  9:26   ` Christopher Faylor
2002-01-01  9:53     ` Corinna Vinschen
2002-01-01 10:30       ` Christopher Faylor
2002-01-01 13:56     ` Ralf Habacker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).