* lib/unictype/bitmap.h, different signs of integers; with clang and groff
@ 2024-02-03 13:40 Bjarni Ingi Gislason
2024-02-04 6:34 ` Paul Eggert
0 siblings, 1 reply; 2+ messages in thread
From: Bjarni Ingi Gislason @ 2024-02-03 13:40 UTC (permalink / raw)
To: bug-gnulib
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: lib/unictype/bitmap.h, different signs of integers; with clang and groff
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
0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggert @ 2024-02-04 6:34 UTC (permalink / raw)
To: Bjarni Ingi Gislason, bug-gnulib
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-04 6:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).