From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 318383858C50; Sat, 18 Mar 2023 02:27:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 318383858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679106440; bh=VPVDOeYIqHScVjwmGYyme8/gQJgeOcUC+eIBUO7YRmo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Qk9OywNhprtspv563zteF+op86BC0uvj3VddyQFP9Q/QVM6UhFAH6GJQcksZO6M6m h1Z5hzb44VFncse2UCQMgVWXkd9QY7FkZYeuEQMSo8BO6Y/Nl8s0gtEto+IJLQwi55 c5vZLl6f9vFR62T2AA5OrgPupgM81iIb3fO5WxGA= From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/69818] warn for C++ functional cast expression on pointer or reference (i.e. add -Wfunctional-cast) Date: Sat, 18 Mar 2023 02:27:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: diagnostic, easyhack X-Bugzilla-Severity: enhancement X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69818 --- Comment #9 from Eric Gallager --- I've learned that there's another name for function-style casts that people sometimes use: constructor-style casts. So, there might be some bikesheddin= g to do about the name of the option...=