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

Re: [PATCH] Fix Solaris Workshop Compiler issues

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:51

Alex Riesen [off-list ref] writes:
Guido Ostkamp, Wed, Nov 14, 2007 21:31:13 +0100:
quoted
...
cc: acomp failed for diff-delta.c
make: *** [diff-delta.o] Error 2

This is because 'struct delta_index' is declared with no size in delta.h 
and with size in diff-delta.c which does not fit.
Huh?! Ever heard of forward declaration?
We are not the first people who pass around a pointer to an
opaque struct in the API to hide away the implementation.  It
would be surprising if the Workshop Compiler chokes on this and
not other projects.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help