Re: [PATCH] compat/regex: get rid of old-style definition
- From
Karsten Blees <blees@dcon.de>
- Date
- Aug 25, 2010, 18:24 UTC
- Message-ID
- <loom.20100825T200539-742@post.gmane.org>
- In-Reply-To
- <7v39uadxx3.fsf_-_@alter.siamese.dyndns.org>
Hi,
this doesn't compile if internal_function is #defined non-empty (e.g. on mingw/msysgit). The old-style definitions work.
Ciao, Karsten
In file included from compat/regex/regex.c:78: compat/regex/regexec.c:357: error: conflicting types for 're_search_2_stub' compat/regex/regexec.c:44: note: previous declaration of 're_search_2_stub' was here compat/regex/regexec.c:401: error: conflicting types for 're_search_stub' compat/regex/regexec.c:49: note: previous declaration of 're_search_stub' was here compat/regex/regexec.c:488: error: conflicting types for 're_copy_regs' compat/regex/regexec.c:53: note: previous declaration of 're_copy_regs' was here compat/regex/regexec.c:618: error: conflicting types for 're_search_internal' compat/regex/regexec.c:39: note: previous declaration of 're_search_internal' was here compat/regex/regexec.c:942: error: conflicting types for 'prune_impossible_nodes' compat/regex/regexec.c:55: note: previous declaration of 'prune_impossible_nodes' was here make: *** [compat/regex/regex.o] Error 1