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

Warning on deprecated directive in sql_yacc.yy during build

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 10.2(EOL), 10.3(EOL), 10.4(EOL), 10.5, 10.6
    • N/A
    • Parser
    • None

    Description

      At rev 3402184ce3d235788455c30a2d2dae3c32d15af9 in 10.6 (may affect earlier versions in same way as well)

      /test/10.6_dbg/sql/sql_yacc.yy:332.1-12: warning: deprecated directive: '%pure-parser', use '%define api.pure' [-Wdeprecated]
        332 | %pure-parser                                    /* We have threads */
            | ^~~~~~~~~~~~
      

      Attachments

        Issue Links

          Activity

            Roel Roel Van de Paar added a comment - - edited

            Tested this further, and the issue exists on 10.2-10.5 also, and on CS. Moving this to a MDEV ticket.

            Roel Roel Van de Paar added a comment - - edited Tested this further, and the issue exists on 10.2-10.5 also, and on CS. Moving this to a MDEV ticket.
            abychko Alexey Bychko (Inactive) added a comment - - edited

            IIRC it depends on bison version and can't be fixed easily to work smoothly on every distribution. see MDEV-21286

            abychko Alexey Bychko (Inactive) added a comment - - edited IIRC it depends on bison version and can't be fixed easily to work smoothly on every distribution. see MDEV-21286

            Thank you

            $ bison --version
            bison (GNU Bison) 3.5.1
            Written by Robert Corbett and Richard Stallman.
             
            Copyright (C) 2020 Free Software Foundation, Inc.
            This is free software; see the source for copying conditions.  There is NO
            warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
            

            Roel Roel Van de Paar added a comment - Thank you $ bison --version bison (GNU Bison) 3.5.1 Written by Robert Corbett and Richard Stallman.   Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

            People

              sanja Oleksandr Byelkin
              Roel Roel Van de Paar
              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.