This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug build/24060] New: Build failure on macOS
- From: "simon.marchi at ericsson dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 03 Jan 2019 20:36:23 +0000
- Subject: [Bug build/24060] New: Build failure on macOS
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=24060
Bug ID: 24060
Summary: Build failure on macOS
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: simon.marchi at ericsson dot com
Target Milestone: ---
On macOS 10.14 with current master, I get:
CXX c-exp.o
In file included from /Users/simark/src/binutils-gdb/gdb/c-exp.y:38:
In file included from /Users/simark/src/binutils-gdb/gdb/defs.h:670:
In file included from /Users/simark/src/binutils-gdb/gdb/utils.h:24:
In file included from /Users/simark/src/binutils-gdb/gdb/exceptions.h:23:
/Users/simark/src/binutils-gdb/gdb/ui-out.h:80:3: error: expected identifier
VARIABLE,
^
c-exp.c:176:18: note: expanded from macro 'VARIABLE'
#define VARIABLE 299
^
c-exp.c is built using the default version of bison that comes with the OS,
which is quite old:
$ bison --version
bison (GNU Bison) 2.3
Written by Robert Corbett and Richard Stallman.
When installing and using a more recent version of bison using brew (3.2.4),
everything works fine.
The failure started at commit 80ae204359b707f2914132ed353d3cecbdb58b23, "Style
variable names".
--
You are receiving this mail because:
You are on the CC list for the bug.