Re: [PATCH] Fix "identifier redeclared" compilation error with SUN cc.
- From
- Guido Ostkamp <git@ostkamp.fastmail.fm>
- Date
- Nov 15, 2007, 22:00 UTC
- Message-ID
- <Pine.LNX.4.64.0711152253430.4090@bianca.dialin.t-online.de>
- In-Reply-To
- <1195089303-28085-1-git-send-email-B.Steinbrink@gmx.de>
On Thu, 15 Nov 2007, Björn Steinbrink wrote:
Show 8 quoted lines
> Some versions of SUN's cc have a bug that causes them to complain about > a redeclared identifier when you use a function declaration that takes a > struct with a FAM and this struct has only been declared but not yet > defined. > [...] > Signed-off-by: Björn Steinbrink <B.Steinbrink@gmx.de> > --- > Guido, could you please test this patch?
I tested it and the file in question compiled ok for the two versions of Sun Forte and Workshop compilers that I have available.
I could also link & run the main git binary after applying my own mkdtemp() patch.
I hope your patch will get officially included.
Regards
Guido