From nobody Sat Apr 20 14:29:23 2024 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VMDRT57x9z5HsxK for ; Sat, 20 Apr 2024 14:29:25 +0000 (UTC) (envelope-from des@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VMDRT3kC9z4Zbm; Sat, 20 Apr 2024 14:29:25 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713623365; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KtscXpfRl8R8dcwgUX87rtgY8wmpBMY79B7jYifCXmw=; b=rU6KG/tlKHkuTAlnIeL9ABi5p4bhmISCqPH2JdWdK3cuj94od7t/KHVSouGlhHBHNS3C5B uSqILIkrlJ7X91JITiMVpu4XlOsmShwlvS+Ffvq2zPzcz+tHiS9+nbqPkOgAPDtD4ydOVL kUATfntxut2bRg758RlZwb7iDgHlbtYaU53UVa6EcWAte9NuwIJbOZ1WtEfyFOdXcaM0X0 +sHfoVs7cL2ZHjAFoL4oOFVqLW9+EVuCNizFZfsJ05F9ENc/DlmVQofAmTqllOGRZomZ16 P2+w3JDcsAbyyRIJUzfNlBjgzu2RXKecNGboTdC7V1ndfft5UrvckMWJGltNlg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713623365; a=rsa-sha256; cv=none; b=MosiQR4yzBdpYA48YBqqBWjV97Nml3E9Xfz9ASjZSe8Mq6yqsroT26w8YZ4NlSboNyLnBs YtalmnHpxSMA5M+weEhSFic8e+HChr7Eli6gFl49oHxAmpNiFPNThiERRRzgwUWlIZVMn1 vz29h1ehFSJbLXJPpJ4Y+2d9Ts9QMHN/2PKvJbXlnq2y45VMTeKjmhUvTXtaoeaqpuMZcb IH1zjwQl65z4+mWXcnb4NEyuqj+aF7mb9AqRHqC5ljGpeYzMhtvJ3bEf//VmntyGg4u2u7 KualH6zrnvR+U5HaM9RQNy3CP1C2FSGfuCsXODbAuFCLb+91Z79xbRdoK9WjtQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713623365; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KtscXpfRl8R8dcwgUX87rtgY8wmpBMY79B7jYifCXmw=; b=mPFm11iAMdTEJTqGEguNvnQ8Kl75Ytt1nqcYC9HsLrTmqKQQpJlLUvI8SJ+7Ko9K84/Wph dXs/pXTkJYSjm/L8uVbOrmLSzdqBJerCwr4B8/M4H4xaC4BTNtoT3vjXZvyMwJULdFQ+PC HigdpkM+e6jub4wL6WdfmHWVI2FsY85AF8ab3TrOWpd+1/QwwhXy/TGmBXu2qZw+IwOwiE hsSls7mRZqh3tbdX8DDYbJoj4BZKobKL7Qk1sA02HonnqUkDRxLls9KH1LjTE/h1VXdhPd fbbD/jKH8jBGmBBrJlXcSxsMUhsAS+/pqujAnqTI9NARnty9OmzuWav/fQhtTg== Received: from ltc.des.dev (163.23.65.37.rev.sfr.net [37.65.23.163]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: des) by smtp.freebsd.org (Postfix) with ESMTPSA id 4VMDRT22n0z1LkR; Sat, 20 Apr 2024 14:29:25 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.dev (Postfix, from userid 1001) id 1A4FD1F10E; Sat, 20 Apr 2024 16:29:23 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Souradeep Chakrabarti Cc: Wei Hu , Konstantin Belousov , Warner Losh , "freebsd-hackers@FreeBSD.org" Subject: Re: [EXTERNAL] Re: How to add a -W flag in local Makefile In-Reply-To: (Souradeep Chakrabarti's message of "Sat, 20 Apr 2024 12:01:13 +0000") References: <86cyqlbovo.fsf@ltc.des.dev> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Sat, 20 Apr 2024 16:29:23 +0200 Message-ID: <86ttjw9kfw.fsf@ltc.des.dev> List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Souradeep Chakrabarti writes: > Dag-Erling Sm=C3=B8rgrav writes: > > Wei Hu 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