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

gcc 16 error with error=parentheses on mysql/service_encryption.h

    XMLWordPrintable

Details

    • Bug
    • Status: In Review (View Workflow)
    • Major
    • Resolution: Unresolved
    • 11.4, 11.8, 12.3
    • 11.4
    • Plugins
    • None
    • Fedora 44
      $ gcc --version
      gcc (GCC) 16.1.1 20260515 (Red Hat 16.1.1-2)

    Description

      fails to compile:

      include/mysql/service_encryption.h:124:3: error: suggest parentheses around assignment used as truth value [-Werror=parentheses]
        124 |   assert((dst[*dlen - 1]= 1));
            |   ^~~~~~
      cc1: all warnings being treated as errors
      

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              danblack Daniel Black
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

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