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

Re: [PATCH] Fix Solaris Workshop Compiler issues

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

Possibly related (same subject, not in this thread)

Björn Steinbrink [off-list ref] writes:
On 2007.11.14 16:30:08 -0800, Junio C Hamano wrote:
quoted
Maybe your compiler needs -DFLEX_ARRAY=0 in CFLAGS?
Actually, I just created a test-case remotely on a Solaris box in my
university (see below) and didn't compile the actual git code. With the
FAM, cc complains about a redeclared identifier, with a zero-sized
array, it complains that an array cannot be zero-sized...
I think you can pass -DFLEX_ARRAY=1 as a workaround.  It would
waste one array member in a flexible structure but that is
better than compiler choking.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help