On Sun, Jul 5, 2020 at 3:07 PM zatrazz wrote:
>
> On Sun, Jul 5, 2020 at 4:00 PM Bruno Haible via cfarm-users
> wrote:
>>
>> > b2sum-src/b2sum.c:266:26: error: array type has incomplete element
>> > type 'struct option'
>> > static struct option long_options[] = {
>> >
On Sun, Jul 5, 2020 at 4:00 PM Bruno Haible via cfarm-users <
cfarm-users@lists.tetaneutral.net> wrote:
> Jeffrey,
>
> > b2sum-src/b2sum.c:266:26: error: array type has incomplete element
> > type 'struct option'
> > static struct option long_options[] = {
> > ^~
Jeffrey,
> b2sum-src/b2sum.c:266:26: error: array type has incomplete element
> type 'struct option'
> static struct option long_options[] = {
> ^~~~
When you use 'struct option', you need to
1) use Gnulib module 'getopt-gnu' - see the documentation
Hi Everyone,
I'm testing on gcc119, which is the AIX ppc64be machine. One of the
source files fails to compile (see below).
According to the getopt(3) man page, the function is available. The
man page says the only include needed is .
I don't use getopt for my programs so I don't have much exper