Re: [PATCH] Fix Solaris Workshop Compiler issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2007.11.15 00:28:09 +0100, Alex Riesen wrote:
> Guido Ostkamp, Thu, Nov 15, 2007 00:21:55 +0100:
> > The main difference is that the 'struct delta_index' is opaque in delta.h 
> > and non-opaque in diff-delta.c; the patch clearly shows it solves the 
> > error. So we've got a solution.
> 
> It is not the solution. How do you think the rest of Git compiles?
> 
> > If you feel we could try something else, please let me know and I'll check 
> > it out.
> 
> Yes. Read the mail I sent before:
> 
>     Try removing the "const". Looks like that compiler is too stupid
>     to understand it.

No, just tried with cc: Sun C 5.7 Patch 117837-06 2005/10/05

It's the "struct hack", ie. the incomplete array at the end of
delta_index. Still looking for a fix/workaround.

Björn
-
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux