bug#79567: [PATCH] maint: pacify -Werror=trailing-whitespace

Collin Funk <[email protected]>
Newsgroups gmane.comp.gnu.core-utils.bugs
Message-ID <[email protected]>
Grisha Levit <[email protected]> writes:

> There is code [1] in gnulib that disables this warning for config.h but
> it is meant to be temporary and once removed would cause this snippet to
> trigger a failure.
>
> [1] https://cgit.git.savannah.gnu.org/cgit/gnulib.git/commit/?id=ff19eeafbee

Was it supposed to be temporary?

My understanding was the Bruno added it to Gnulib to avoid common
autoconf idioms from throwing the warning/error [1].

I really dislike that option and wish it was never added. Lots of system
headers, such as <selinux/selinux.h>, have trailing white space. Having
them break your build is annoying.

Collin

[1] https://lists.gnu.org/archive/html/bug-gnulib/2025-04/msg00164.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.