From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BB6323858D33; Fri, 29 Mar 2024 03:07:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BB6323858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711681631; bh=hC6iQZG9dPpukYNUFhIEbqAP1eRT1QYB7aBiup9cguQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=L5g9ytP3BgYSiRyhEa0SVPPrlFQEOeoiSCYz5Y3EAuFjDGr008PlwJP3PqTJQWNgg lbwkXu3328LSvKbPRU9w7cokP5trloBp4qLxFRtoq/ZCT1F6DLQFCUxLF7y8XTg03U tfv5Ht/1t+ClkrL6QuIFY23zGhSQVewKPeiA8G50= From: "kkylheku at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/114526] ISO C does not prohibit extensions: fix misconception. Date: Fri, 29 Mar 2024 03:07:10 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kkylheku at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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=3D114526 --- Comment #7 from Kaz Kylheku --- Also, it would be useful for the documentation to list all the -W-* options that are implied by -Wpedantic. The function/object pointer conversion diagnostics, unfortunately, are tied= to -Wpedantic itself, which is unhelpful. -Wpedantic serves both as a diagnostic option, and a container for diagnost= ic options. E.g if you don't want the extension of void * pointer arithmetic, = you can use -Wpointer-arith to diagnose it; that is turned on by -Wpedantic.=