From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E06513857727; Mon, 16 Oct 2023 20:44:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E06513857727 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697489076; bh=EmgV6P6mj5fVWLKb16PfP2W0H8fC0AtHbMuvQcvDpkE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=T3O2gWlhUDbpWmmJYgyDd/Unj2aOE/UAeYPyARI7GvIvo6vAIHd9mIumfRIDJ1WPO 42N1xv3BLkOzSZb4kgEMhMorMikAkWX0SeZE2Pr/B+OhQBqAgRIngwVMAVahyrihhf qTwk5XsXdtTCjwkWK13gFgK3Z3JI3CQlUwluZdU4= From: "roland.illig at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/109105] Error-prone format string building in resolve.cc Date: Mon, 16 Oct 2023 20:44:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: translation X-Bugzilla-Severity: normal X-Bugzilla-Who: roland.illig at gmx dot de X-Bugzilla-Status: WAITING 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=3D109105 --- Comment #3 from Roland Illig --- Nothing has changed yet. There is no built-in validation in the translated messages that each '%%L' = from the msgid matches a '%%L' from the msgstr. I suggest to replace the label 'bad_op' with a function named 'bad_op', so = that the format strings contain '%L' instead of the current '%%L', so that gette= xt can validate the format strings in the translations.=