From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7D8C13893668; Fri, 24 Apr 2020 13:34:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7D8C13893668 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1587735289; bh=phkRXb0zEwCcCh4IBdhFHkiCUA1sU7LEfN+T6ug9jKg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=w8IohnIYPAHDWhnvXbDbv/yn8ueoTOZWuiZbYChfkQiXCEToPm97V8iDBc6yUCj/N QQTFGZ07Glqg5/q7IOplwo7zSpkCAmOD16/KdhiQwPsEh8aBGEmxNp4P14fVjApRd8 UeO26NYLuqVFerEJNsFMpz5XVziP47DMXpfWr0KI= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/94745] No error emitted for unknown -Wno-meow argument Date: Fri, 24 Apr 2020 13:34:49 +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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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 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: Fri, 24 Apr 2020 13:34:49 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94745 --- Comment #1 from Jonathan Wakely --- This is by design. It means that makefiles written for different versions of GCC do not trigger spurious diagnostics. If somebody says "I don't want warnings about cat noises" and their version= of GCC doesn't support -Wmeow then their request is granted. Warning about it would cause valid compilations to fail. If other diagnostics are being emitted anyway, then adding one to point out= the unrecognized option isn't going to make a build go from passing to failing.=