From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 496233860770; Thu, 29 Sep 2022 22:42:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 496233860770 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664491340; bh=v/HjS9tyfofgEdvC7eK27fwN4ocHpH58d3EjkHYLIJ8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JSdGBHn33Tn0A+LmAi4mNG+2Tf3+c6VX9GAR315Kay8O2rGRlpSwQhitAncLFyqdL cGMMXyGxr/UKqCwguapa1ishaJjqByRszUUuD04GXJfrwtFoYnMGEu+enHTLy2BmE+ eYlqdnJPn6rV8DH7JVhIUElo95pgqBiV3ghFH/h4= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/107089] Line-terminating '\' leaves the characters when the next-line is a multi-line comment Date: Thu, 29 Sep 2022 22:42:20 +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: 11.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107089 --- Comment #1 from Andrew Pinski --- >I found it when I tried to use the CPP as a general-purpose macro. Well it is not designed to be a general purpose macro processor. You might want to try something like m4 instead. https://en.wikipedia.org/wiki/M4_(computer_language) Or any other that are already general-purpose macro processors: https://en.wikipedia.org/wiki/General-purpose_macro_processor=