From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 87CCC38313A7; Fri, 21 Jun 2024 22:50:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 87CCC38313A7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1719010242; bh=AFuk+O7Z1LZ+SsCwyD2EJyFK3IY+hmk2SO0RZtkhOcQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ijh2vlLPWhXF1GsMX7ZfmXOESYCW9kQ489i+d9EE5FXEEB6L7oR0KSZOTbBxA1lmk Az/1giozfUigso2FOVLgiSZ7Z7aRo7J1yvWe4JsU+ebues3tG/xMNvLd1xdIoWq4vt JOODAsNY/fZUsqwOt9/KfBZrmhMYJz5vsKA5I82w= From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/28492] -Wsuggest-attribute=format points to vsnprintf() or related functions instead of the function that needs the attribute added Date: Fri, 21 Jun 2024 22:50:40 +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: 4.1.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: minor 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: short_desc 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=3D28492 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|-Wmissing-format-attribute |-Wsuggest-attribute=3Dform= at |points to vsnprintf() or |points to vsnprintf() or |related functions instead |related functions instead |of the function that needs |of the function that needs |the attribute added |the attribute added --- Comment #7 from Eric Gallager --- (In reply to Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez from comment #6) > The option is called now -Wsuggest-attribute=3Dformat OK, I fixed this part of the title now, too=