Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-4902

sql_yacc.yy incompatible with bison 3

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 5.5.32
    • 5.5.33
    • None
    • None
    • Arch Linux, gcc 4.8.1, bison 3.0

    Description

      As in summary. Build fails due to changes in the newest Bison, i.e.:

      /build/mariadb/src/mariadb-5.5.32/sql/sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
      #define YYTHD ((THD *)yythd)
      ^
      /build/mariadb/src/mariadb-5.5.32/sql/sql_yacc.yy:39:14: note: in expansion of macro 'YYTHD'
      #define Lex (YYTHD->lex)
      ^
      /build/mariadb/src/mariadb-5.5.32/sql/sql_yacc.yy:15324:23: note: in expansion of macro 'Lex'
      LEX *lex= Lex;
      ^

      Attachments

        Activity

          People

            svoj Sergey Vojtovich
            barthalion Bartłomiej Piotrowski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.