From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 943F5385843C; Wed, 27 Oct 2021 05:09:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 943F5385843C From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/16358] -Wno-system-headers hides warning caused by user header vs system header conflict [i.e. add -Wmacro-redefined] Date: Wed, 27 Oct 2021 05:09:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 3.2.2 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2021 05:09:42 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D16358 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egallager at gcc dot gnu.o= rg Summary|-Wno-system-headers hides |-Wno-system-headers hides |warning caused by user |warning caused by user |header vs system header |header vs system header |conflict |conflict [i.e. add | |-Wmacro-redefined] --- Comment #12 from Eric Gallager --- (In reply to niva from comment #11) > (in reply to Martin Sebor in comment #10) >=20 > Implementation of -Wmacro-redefined (with possibility of turning this > warning to error) would solve the problem of our users. Retitling accordingly=