From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E242F3858CDB; Thu, 30 Mar 2023 18:11:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E242F3858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680199907; bh=qmb8hnPYgAwjwS1vNmV8kYLP7NbWDAETq2tRdT3N6po=; h=From:To:Subject:Date:In-Reply-To:References:From; b=twosH6IXa5vVYo/Ex2nsOieSsc7t8OheEUUhkatuVpjQ8OT5ApzSX4HmPJeDcd3t7 /NFUvfhGWBbsWD+o8MMzxVRBRWMUIHUgrbb1yotmF2fToiNXzvwguR3EgVtnEwjYUF v5EtjwFdSkIsIDY+EZ8GJVKAns2XpyLNjrBlh0BQ= From: "enricomaria.dean6elis at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109323] No error when neither of return_value or return_void is defined Date: Thu, 30 Mar 2023 18:11:47 +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: 12.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: enricomaria.dean6elis at gmail dot com X-Bugzilla-Status: WAITING 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=3D109323 --- Comment #3 from Enrico Maria De Angelis --- However, I'm not entirely sure (not anymore now that I've read the standard more carefully) that not having any of those two memebrs is an error.=