[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#3739) Compilation errors using SUNWspro Compilers



erici@motown.cc.utexas.edu wrote:

>The bconfig.c problem is from trying to define a zero-element array.
>There have been several methods for doing this over the years and gcc's is
>unique.  ISO C99 calls for a definition like '[]' instead of '[0]'.
>
>If gcc isn't ISO C99 compatible, maybe there should be a configure
>function to set an appropriate FLEXARRAY macro or something.
>  
>
gcc is; however, to avoid any further problem, I reworked that array to 
be of length 1.

It's now fixed in HEAD, please test.

p.


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497