From: Junio C Hamano Date: Tue, 20 Nov 2007 08:30:57 GMT Subject: Re: [PATCH] Fix "identifier redeclared" compilation error with SUN cc Message-ID: <7vhcjhl3ni.fsf@gitster.siamese.dyndns.org> In-Reply-To: Guido Ostkamp writes: >> ... >> How about doing it this way? > > it looks ok on Solaris. I assembled the following patch from your > posting, could you please include it? > > > Signed-off-by: Guido Ostkamp I knew it would work on Solaris with gcc and cc that do not understand flexible array members, but I am a bit worried about other environments, where flexible array members are properly supported. They've been happily using member[] but with the patch they suddenly start wasting a cell. But we should do this sooner rather than later to find out any breakage, and give people on platforms with a cc that supports flexible array members and care about wasted memory enough time to send patches to support their compiler in the way similar to how gcc is supported. But I cannot use your message with whitespace-broken patch (note "format=flawed") and insufficient commit log message, which means I have to do this myself. Not tonight...