![]() |
|
Message-ID: <60832bd1-4f99-97fc-306a-240a782d9d3c@mirbsd.de> Date: Fri, 6 Jun 2025 00:17:19 +0200 (CEST) From: Thorsten Glaser <tg@...bsd.de> To: musl@...ts.openwall.com Subject: Re: Sign conversion warning in FD_ISSET() On Thu, 5 Jun 2025, Rich Felker wrote: >In general, it looks like -Wsign-conversion is a very badly-behaved >warning that's not interacting right with the normal logic to suppress >warnings from system headers. I thought so at first, too. But this is not code that is contained wholly in the system header: the warning thinks the macro must be called with an unsigned type, but the user calls it with signed int, so it triggers. bye, //mirabilos
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.