[PATCH] Use gcc -finput-charset=ascii for check-installed-headers.

Zack Weinberg zackw@panix.com
Wed Feb 12 16:12:00 GMT 2020


On Wed, Feb 12, 2020 at 10:55 AM Stefan Liebler <stli@linux.ibm.com> wrote:
>
> A non-ascii character in the installed headers leads now to:
> error: failure to convert ascii to UTF-8
>
> Such a finding in s390 specific fenv.h leads to fails in GCC testsuite.
> See glibc commit 08aea89ef67c5780ae734073494df0a451bce20f.
>
> Adding this gcc option also to our tests was proposed by Florian Weimer.
>
> This change also found a hit in resource.h where now "us" is used for
> microseconds. I've adjusted all the resource.h files.

Would you mind changing all of these to the word "microseconds"
instead?  "µs" was already a cryptic abbreviation, but at least it was
an official SI cryptic abbreviation that people could look up easily.
"us" is not easy to look up, because there are lots of other meanings
that are much more common (see e.g.
https://en.wikipedia.org/wiki/US_(disambiguation) -- microseconds are
mentioned but only at the very bottom of the page).

Otherwise, LGTM.

zw



More information about the Libc-alpha mailing list