On 12 March 2018 at 23:55, Paul Eggert <egg...@cs.ucla.edu> wrote:
> On 03/09/2018 04:25 PM, Reuben Thomas wrote:
>> According to this Open Group reference page
>> rlim_t: Unsigned integer type used for limit values.
> rlim_t is signed on some non-POSIX platforms so the comparison is needed
> there. Sorry, don't recall which platforms offhand, but a quick Google
> search suggests that older HP-UX is one such (this version was before the
> requirement in question was added to POSIX). See page 18 of:
> How about compiling with -Wno-tautological-compare instead, at least for
> code derived from Gnulib? In my experience, -Wtautological-compare is more
> trouble than it's worth, for Gnulib code.
Would it be acceptable to add a pragma to turn this warning off at that
point? (And explain why, against immediate appearances, it's needed?)