Hi, On Fri, Jun 06, 2014 at 11:15:04PM +0200, Karsten Blees wrote: > Am 06.06.2014 21:13, schrieb Junio C Hamano: > > I am wondering why the solution is not a more obvious "drop const > > that is not ANSI C", though. I only have a ready-access to N1570 > > draft but in it I find: > > > > Actually, that was the original solution ($gmane/247535). > > Karsten Blees <karsten.blees@xxxxxxxxx> writes: > >> A simpler solution that works with all definitions of main() is to > >> cast to void* (tell the compiler all responsibility is on > >> us). Indeed, verified. Re-submitting. Cheers, Stepan Karsten Blees (1): Win32: move main macro to a function Stepan Kasal (1): mingw: avoid const warning compat/mingw.c | 15 +++++++++++++++ compat/mingw.h | 14 ++++---------- 2 files changed, 19 insertions(+), 10 deletions(-) -- 2.0.0.9635.g0be03cb -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html