bug-gettext
[Top][All Lists]
Advanced

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

Re: [PATCH] error: Fix clang -Winclude-next-absolute-path warnings.


From: Bruno Haible
Subject: Re: [PATCH] error: Fix clang -Winclude-next-absolute-path warnings.
Date: Tue, 20 Feb 2024 00:17:54 +0100

Hello Collin,

Collin Funk wrote:
> Hello. Here is the patch to silence the -Winclude-next-absolute-path warnings

Thanks, but I prefer to do it slightly differently. The #include <...> block
is supposed to consist only of standard header files; at this point one cannot
consider <error.h> a standard header file since only glibc and Android have it.

> Currently "gnulib-local/lib/closeout.c" will still cause the warning but
> I assume you will update the sources eventually. It should be fixed by Paul
> Eggert's commit here:

gnulib-local/lib/closeout.c is an *override*, not a copy, of 
gnulib/lib/closeout.c.

Fix committed:
https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=958b9797e530d27e3f7198db06a789806203877c

Bruno






reply via email to

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