From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 827F6385840E; Tue, 8 Nov 2022 19:37:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 827F6385840E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667936266; bh=hJ85i4fFCM4RMSqdDP7EuIK3wOqdaBbgTZGnJR5kBXs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=PtvsDDwliEarZUO1kEWRCc+fhmkbYjR4T+6gArGU4UNrO5zKfEANEAjYiexUs3kcq ZPb89OTOMcQClHOudEfjKDATck7SU2NdJvVFOb2hzkw8cK62AE0u+aIqc+JwiIMF/V AjGY6dSnt2hAFtIKogZZA6MxVrRhLUdjq3LYSy6g= From: "david at westcontrol dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/82922] Request: add -Wstrict-prototypes to -Wextra as K&R style is obsolescent Date: Tue, 08 Nov 2022 19:37:01 +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: unknown X-Bugzilla-Keywords: diagnostic, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: david at westcontrol dot com X-Bugzilla-Status: NEW 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=3D82922 --- Comment #9 from David Brown --- Could -Wstrict-prototypes be added to -Wall, or even considered enabling by default? The next C standard will make "void foo()" mean the same as "void foo(void)", like in C++, which makes the scope for confusion high.=