bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Bjarni Ingi Gislason <bjarniig@simnet.is>, bug-gnulib@gnu.org
Subject: Re: lib/unictype/bitmap.h, different signs of integers; with clang and groff
Date: Sat, 3 Feb 2024 22:34:52 -0800	[thread overview]
Message-ID: <3cec8931-388b-4580-b853-79575f701bfc@cs.ucla.edu> (raw)
In-Reply-To: <Zb5CZyPjF_Iedj6B@localhost>

On 2024-02-03 05:40, Bjarni Ingi Gislason wrote:
>    CC       lib/uniwidth/libgnu_a-width.o
> In file included from ../lib/uniwidth/width.c:51:
> ../lib/unictype/bitmap.h:31:14: warning: comparison of integers of
> different signs: 'unsigned int' and 'const int' [-Wsign-compare]
>    if (index1 < ((const int *) table)[0])
>        ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
> 1 warning generated.

This appears to be another -Wsign-compare false alarm.



      reply	other threads:[~2024-02-04  6:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-03 13:40 lib/unictype/bitmap.h, different signs of integers; with clang and groff Bjarni Ingi Gislason
2024-02-04  6:34 ` Paul Eggert [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3cec8931-388b-4580-b853-79575f701bfc@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=bjarniig@simnet.is \
    --cc=bug-gnulib@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).