Hi Paul,

Paul Eggert <egg...@cs.ucla.edu> writes:

> Why not instead encourage callers of these modules to use the
> C23-style modules instead? For example, mark ffs as obsolescent and
> suggest stdc_trailing_zeros as its replacement. This should improve
> overall maintainability in the long run, while lessening opportunities
> for bugs in the short term.

Makes sense to me.

But, from my understanding of gnulib/doc/obsolete.texi I don't think
ffs[l,ll] should be marked obsolete. They are a part of POSIX and
missing on some platforms.

I think the count-* modules should be fine to deprecate though. In
maint-tools/used-modules:

    $ grep count- *
    coreutils:  count-leading-zeros
    diffutils:count-leading-zeros
    emacs:  count-leading-zeros count-one-bits count-trailing-zeros
    pspp:count-one-bits
    pspp:count-leading-zeros

And I believe you have updated coreutils, diffutils, and emacs to use
the C23 versions.

Collin

Reply via email to