[Bug build/24060] New: Build failure on macOS
simon.marchi at ericsson dot com
sourceware-bugzilla@sourceware.org
Thu Jan 3 20:36:00 GMT 2019
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.
More information about the Gdb-prs
mailing list