bug-gnulib
[Top][All Lists]
Advanced

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

Re: glob.c build failure on RH el6


From: Paul Eggert
Subject: Re: glob.c build failure on RH el6
Date: Wed, 24 Feb 2021 11:37:31 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 2/24/21 9:38 AM, Tom Tromey wrote:

../../../binutils-gdb/gnulib/import/glob.c:89: error: expected declaration 
specifiers before ‘__THROWNL’

Possibly this is due to glob.c not including libc-config.h first thing, which it should do anyway. I fixed that by installing the attached.

If this doesn't suffice, please investigate why the gnulib cdefs.h is not being used. libc-config includes gnulib cdefs.h if __attribute_maybe_unused__ is not defined; does /usr/include/sys/cdefs.h define that macro on your platform? That sort of thing.

Thanks.

Attachment: 0001-glob-include-libc-config.h-in-a-more-standard-way.patch
Description: Text Data

Attachment: 0002-glob-include-libc-config.h-only-if-needed.patch
Description: Text Data


reply via email to

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