Thread (4 messages) flat view 4 messages, 4 authors, 2016-06-15

Re: [PATCH] Fix Solaris Workshop Compiler issues

From: Björn Steinbrink <hidden>
Date: 2016-06-15 22:43:51

On 2007.11.15 00:28:09 +0100, Alex Riesen wrote:
Guido Ostkamp, Thu, Nov 15, 2007 00:21:55 +0100:
quoted
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?
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help