From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EFAC9385840F; Thu, 23 Feb 2023 20:38:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EFAC9385840F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677184709; bh=pCfqv8hQOEUkcY3N6NZM2CwJKQkHS7PRA0D8FLkOucY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LhZQvVuZ3TCI92jY/UR9LO0LxNZEdXG81xsW12T/5nKU/1s9PrWFcbIryChs7oczH SQ3FzjFAd/jfrNw8SL7vxOSIZHnq+dKsS8MBGZgXez3vYEKS1/qGnE4S3eKOqb5ow7 SZGJ7scyPCojMjSb2lVYSk2CFuybT5KDYQORg3XU= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/48839] #error should terminate compilation - similar to missing #include Date: Thu, 23 Feb 2023 20:38:28 +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: 4.6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org 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: assigned_to bug_status 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=3D48839 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|paolo.carlini at oracle dot com |unassigned at gcc d= ot gnu.org Status|ASSIGNED |NEW --- Comment #12 from Andrew Pinski --- Paolo has not been around for the last 3 years so unassigning this bug repo= rt from him so someone else can take it if they want. The patch against libcpp= is simple but the testsuite needs to updated or improved. It also might make sense to have this as an option instead; though -Wfatal-errors might be enough for that ... (maybe just an improved documentation for #error in the cpp manual is needed for this change in the end).=