Re: [PATCH] Fix Solaris Workshop Compiler issues

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

 



Björn Steinbrink <B.Steinbrink@xxxxxx> writes:

> On 2007.11.14 16:30:08 -0800, Junio C Hamano wrote:
>
>> 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.
-
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