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

Fix for CONC-624 broke support for C++03

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.20
    • 3.1.21, 3.3.5
    • API
    • None
    • C++03

    Description

      With the fix for CONC-624, usage of an anonymous variadic macro was introduced to the MariaDB 3.1.x code base, which has the effect of now requiring C++11 or newer (as C++03 does not support anonymous variadic macros)

      This results in the following compilation warning/error when using C++03

      usr/include/mysql/mariadb_stmt.h:37:43: warning: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros]
         37 | #define SET_CLIENT_STMT_ERROR(a, b, c, d, ...) \
            |                                           ^~~
      

      It is unclear if this change to break support (I'm assuming as the client used to compile cleanly this is a break) was intentional or not.

      Attachments

        Issue Links

          Activity

            People

              georg Georg Richter
              dritter David Ritter
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.