From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6F71A3858D1E; Wed, 29 Mar 2023 14:15:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6F71A3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1680099328; bh=izcJRGYofI6N5h2ybgPdWs2fvPCuo1gSQVEylJvxJrk=; h=From:To:Subject:Date:From; b=K74bGdgffWOhq/yX1fr/B7iLJGZn+XLjik7MEg3BkU6VnS80LcsyOhQFzR7ijJ4gp aLqKvsC/ZzF71FipKloSmwCfIZ/4vJz3ex+9AFAV4PBfi6ch3BMbZmdv9kz/OpQTff 2DKohJJLwijrw0GgGdSUUM08WEKOD+8KXRBSprr0= From: "lu.xinyu0121 at foxmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/30286] New: Build error in split-name.h macro DOT Date: Wed, 29 Mar 2023 14:15:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: lu.xinyu0121 at foxmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30286 Bug ID: 30286 Summary: Build error in split-name.h macro DOT Product: gdb Version: 3.0 Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: lu.xinyu0121 at foxmail dot com Target Milestone: --- When I build gdb in Mac OS 13.2.1 (22D68), it report error here. The macro DOT is conflate with enum split_style::DOT. Maybe we=20 should replace one of the ./split-name.h:34:3: error: expected identifier DOT, ^ m2-exp.c:163:13: note: expanded from macro 'DOT' #define DOT 302 ^ In file included from m2-exp.y:42: In file included from ./language.h:26: ./symtab.h:308:23: error: expected unqualified-id style =3D split_style::DOT; ^ m2-exp.c:163:13: note: expanded from macro 'DOT' #define DOT 302 --=20 You are receiving this mail because: You are on the CC list for the bug.=