[Top][All Lists]

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

Re: Compilation error in glob.c with gcc 4.8

From: Reuben Thomas
Subject: Re: Compilation error in glob.c with gcc 4.8
Date: Sat, 18 Aug 2018 22:40:05 +0100

On 18 August 2018 at 22:38, Bruno Haible <address@hidden> wrote:
Reuben Thomas wrote:
> OK, globfree.c should already have seen libc-config.h via glob.h, so I
> don't see why it's *not* working.

We have a new optimization that omits the generated glob.h when it would
not add relevant standardized declarations. Since glob.h is not supposed
to define the macros 'weak_alias', 'libc_hidden_def', etc. you cannot
count on '#include <glob.h>' to provide these macros.

Many thanks for the explanation. (Testing the patch now.)


reply via email to

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