Re: [PATCH] compat/regex: get rid of old-style definition

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Karsten Blees
Date: Wednesday, August 25, 2010 - 11:24 am

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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
What's cooking in git.git (Aug 2010, #04; Wed, 18), Junio C Hamano, (Wed Aug 18, 3:27 pm)
Re: What's cooking in git.git (Aug 2010, #04; Wed, 18), Jonathan Nieder, (Wed Aug 18, 8:02 pm)
jn/update-contrib-example-merge in pu, Jonathan Nieder, (Wed Aug 18, 8:22 pm)
Re: What's cooking in git.git (Aug 2010, #04; Wed, 18), Johannes Sixt, (Thu Aug 19, 1:06 am)
Re: What's cooking in git.git (Aug 2010, #04; Wed, 18), Ævar Arnfjörð Bjarmason, (Thu Aug 19, 5:48 am)
Re: What's cooking in git.git (Aug 2010, #04; Wed, 18), Ævar Arnfjörð Bjarmason, (Thu Aug 19, 5:53 am)
Re: What's cooking in git.git (Aug 2010, #04; Wed, 18), Ævar Arnfjörð Bjarmason, (Thu Aug 19, 8:04 am)
Re: What's cooking in git.git (Aug 2010, #04; Wed, 18), Ævar Arnfjörð Bjarmason, (Thu Aug 19, 8:27 am)
Re: Fwd: What's cooking in git.git (Aug 2010, #04; Wed, 18), Aharon Robbins, (Thu Aug 19, 11:05 am)
[PATCH] compat/regex: define out variables only used under ..., =?UTF-8?q?=C3=86var= ..., (Thu Aug 19, 11:30 am)
Re: [PATCH] compat/regex: define out variables only used u ..., Ævar Arnfjörð Bjarmason, (Thu Aug 19, 1:31 pm)
Re: [PATCH] compat/regex: define out variables only used u ..., Ævar Arnfjörð Bjarmason, (Thu Aug 19, 2:30 pm)
[PATCH] compat/regex: get rid of old-style definition, Junio C Hamano, (Thu Aug 19, 3:45 pm)
Re: [PATCH] compat/regex: get rid of old-style definition, Ævar Arnfjörð Bjarmason, (Fri Aug 20, 12:47 am)
Re: [PATCH] compat/regex: get rid of old-style definition, Karsten Blees, (Wed Aug 25, 11:24 am)
[PATCH] Fix compat/regex ANSIfication on MinGW, Johannes Sixt, (Thu Aug 26, 12:58 am)
Re: [PATCH] Fix compat/regex ANSIfication on MinGW, Ævar Arnfjörð Bjarmason, (Thu Aug 26, 1:34 pm)
Re: [PATCH] Fix compat/regex ANSIfication on MinGW, Ævar Arnfjörð Bjarmason, (Fri Sep 3, 3:21 pm)
Re: [PATCH] Fix compat/regex ANSIfication on MinGW, Junio C Hamano, (Fri Sep 3, 10:22 pm)