From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A2EF23858C52; Thu, 27 Apr 2023 22:29:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A2EF23858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682634592; bh=MAbQsAl7BgNRCiTmMsXeth+hQg7Wc+bCqW29/7501zg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mRAlOpqkuVwokYMlZnQrYSf47WkEMEnEBwVz42CJp0VTX7nmTqOILx25fV/GzmzYP xdzku8mO2kTT/Q51oZRA+SPwSF8quTfJ82uE513u+UD/nYtURcgbbgOLcYysgQnW52 13ReTd74tHFID0XYHTL8qe/sSX/E7sY9RgFvirNQ= From: "cuzdav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107532] [13 Regression] -Werror=dangling-reference false positives in libcamera-0.0.1 Date: Thu, 27 Apr 2023 22:29:51 +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: cuzdav at gmail dot com 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: cc 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 Chris Uzdavinis changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cuzdav at gmail dot com --- Comment #33 from Chris Uzdavinis --- Could an attribute or annotation be added so we can mark our classes to opt= -out of this warning for them? I like the warning in general but it is hitting one of our core "span-like" classes that stores pointers, and is going off so much that I'm going to ne= ed to disable it. I'd be much happier disabling it on a per-object basis, rat= her than globally.=