From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C685E384AB44; Fri, 19 Apr 2024 02:53:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C685E384AB44 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713495216; bh=3AUgFHgvTY8cIzlk/1lyNb1t0BPg6ysS0qomTZyu8t8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FItgKt8K006AMrrJu73EEmysdgJviak4UK2GOinyNBRfc/eHFRVl9BLIC3sEQbqkg WfWHRUZaThN+2grgLEKOdBCAlk1e40t4chJJ9o6yD7fpjFjZ89rs2SdUtyhAPts76X fzwwnTNPyonxzBZSDNxRRV7mSOlC5JwhpxsWcaWQ= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/95130] GCC ignoring attribute(format(gnu_printf)) on printf in mingw Date: Fri, 19 Apr 2024 02:53:32 +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: 9.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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=3D95130 --- Comment #23 from Andrew Pinski --- Note since MSVC 2015 runtime, printf has support %ll so ms_printf should be fixed to incldue that. https://learn.microsoft.com/en-us/cpp/c-runtime-library/format-specificatio= n-syntax-printf-and-wprintf-functions?view=3Dmsvc-140 I think for GCC 15, we should just update ms_printf to the 2015 version of = what is supported ...=