bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] [1.13.90] compilation problems on IRIX


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] [1.13.90] compilation problems on IRIX
Date: Tue, 04 Nov 2003 20:37:12 +0200

Paul Eggert <address@hidden> wrote:

> -static struct xhdr_tab const xhdr_tab[];
> +/* This declaration must specify the number of elements in xhdr_tab,
> +   because ISO C99 section 6.9.2 prohibits a tentative definition that
> +   has both internal linkage and incomplete type.  */
> +static struct xhdr_tab const xhdr_tab[13];

Oh, with that patch adding or removing entries to xhdr_tab becomes
very error-prone (one should always *count* the actual number of
entries and update the forward). I guess I'd better get rid of the
forward declaration at all.

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]