Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-768

mariadb-connector-c build error when gcc-15 is used

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.3.15, 3.4.5
    • 3.3.16, 3.4.6
    • Build

    Description

      trying to build current mariadb-connector-c-3.4.5 using gcc-15. have applied the commit from PR 272. one issue remains: top level CMakeLists.txt by default sets compiler flags such that the project is built with compiler warnings treated as errors. gcc-15 throws a warning "unused parameter 'myFlags'" when trying to compile libmariadb/ma_alloc.c and so default build of mariadb-connector-c (i.e. 3.4.5 + PR272) fails when gcc-15 is used.
      libmariadb/ma_alloc.c needs a fix or an explicit unset of COMPILE_WARNING_AS_ERROR.

      Attachments

        Issue Links

          Activity

            People

              georg Georg Richter
              hsk Friedrich Haubensak
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.