Date: Sat, 20 Apr 2024 16:29:23 +0200 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org> To: Souradeep Chakrabarti <schakrabarti@microsoft.com> Cc: Wei Hu <weh@microsoft.com>, Konstantin Belousov <kostikbel@gmail.com>, Warner Losh <imp@bsdimp.com>, "freebsd-hackers@FreeBSD.org" <freebsd-hackers@freebsd.org> Subject: Re: [EXTERNAL] Re: How to add a -W flag in local Makefile Message-ID: <86ttjw9kfw.fsf@ltc.des.dev> In-Reply-To: <TYZP153MB039748B6AEF65764034DD3F7CC0C2@TYZP153MB0397.APCP153.PROD.OUTLOOK.COM> (Souradeep Chakrabarti's message of "Sat, 20 Apr 2024 12:01:13 %2B0000") References: <TYZP153MB0399580B98D5F790C0A551C3BB0E2@TYZP153MB0399.APCP153.PROD.OUTLOOK.COM> <CANCZdfoJD1gb1SVb9xiyUAPe8mWL1SZBB%2BtJ3ZOASMWxO6nmbg@mail.gmail.com> <TYZP153MB039998D645FD84C28A9A057EBB0E2@TYZP153MB0399.APCP153.PROD.OUTLOOK.COM> <ZiFe_A6takkhcyL7@kib.kiev.ua> <TYZP153MB03991E84C684145A94EA306ABB0D2@TYZP153MB0399.APCP153.PROD.OUTLOOK.COM> <86cyqlbovo.fsf@ltc.des.dev> <TYZP153MB039748B6AEF65764034DD3F7CC0C2@TYZP153MB0397.APCP153.PROD.OUTLOOK.COM>
next in thread | previous in thread | raw e-mail | index | archive | help
Souradeep Chakrabarti <schakrabarti@microsoft.com> writes: > Dag-Erling Sm=C3=B8rgrav <des@FreeBSD.org> writes: > > Wei Hu <weh@microsoft.com> writes: > > > The same code already exists in Linux and Windows. Linux also added a > > > compiling flag to suppress similar warnings. > >That's not an excuse. The code makes no sense. > The way it works is as follows: I don't care, it's bad code and the compiler is right to complain about it. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ttjw9kfw.fsf>