From: Karsten Blees Date: Wed, 25 Aug 2010 18:24:55 GMT Subject: Re: [PATCH] compat/regex: get rid of old-style definition Message-ID: 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