This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/24060] Build failure on macOS


https://sourceware.org/bugzilla/show_bug.cgi?id=24060

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Simon Marchi <simark@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cfeadda545c4961877969e6a66be79278696e012

commit cfeadda545c4961877969e6a66be79278696e012
Author: Tom Tromey <tom@tromey.com>
Date:   Sun Jan 6 09:49:11 2019 -0700

    Fix build failure with macOS bison

    PR gdb/24060 points out a compilation failure of the C, Fortran and Pascal
    parsers when they are built using the macOS system bison.  The bug is a
name
    clash between the VARIABLE token name and the VARIABLE enumerator in
ui-out.h.

    This patch renames VARIABLE in c-exp.y, f-exp.y and p-exp.y to
DOLLAR_VARIABLE
    to avoid the clash.  It also renames similar variables in other .y files so
    that all languages use the same name.

    gdb/ChangeLog
    2019-01-07  Tom Tromey  <tom@tromey.com>
    2019-01-07  Simon Marchi  <simon.marchi@ericsson.com>

        PR gdb/24060:
        * ada-exp.y (DOLLAR_VARIABLE): Rename from SPECIAL_VARIABLE.
        * ada-lex.l (DOLLAR_VARIABLE): Likewise.
        * c-exp.y (DOLLAR_VARIABLE): Rename from VARIABLE.
        * f-exp.y (DOLLAR_VARIABLE): Likewise.
        * m2-exp.y (DOLLAR_VARIABLE): Rename from INTERNAL_VAR.
        * p-exp.y (DOLLAR_VARIABLE): Rename from VARIABLE.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]