From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C8C4D3858039; Thu, 16 Mar 2023 15:51:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C8C4D3858039 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678981891; bh=yQv1TFLbv/b1xwuosSc9Ucsl4+/6PBo7e7END1qplXQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=YhdwTfsvCwEPclzIPOqwniPB59Of/2QUuWHaY1pCLb1UQhQPrhm7QEIW3O2WIL086 mxaq0eaz9MgeLG7WGxhFiCs+4eWvXljs6Db5Y6aFYMUsvbVsxqxlMezQqI8Y056Xih 5tdtl3uWIOgzahVGk0WbySW/ruNX+aco3IEA3tjQ= From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107532] [13 Regression] -Werror=dangling-reference false positives in libcamera-0.0.1 Date: Thu, 16 Mar 2023 15:51:29 +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: 13.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 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=3D107532 --- Comment #25 from Marek Polacek --- Maybe it would help to say that *any* class that has a reference member is a reference-wrapper and don't warn.=