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

C API header file contains C++ comment for COM_BINLOG_DUMP_GTID

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.2.4
    • Fix Version/s: 10.2.5
    • Component/s: Scripts & Clients
    • Labels:
      None
    • Environment:
      Linux Debian 8

      Description

      The mysql.h header file contains a C++ comment that produces a compiler warning when using gcc. Only C comments should be used:

      In file included from /opt3/dbs/mdb/10.2/include/mysql/mysql.h:73:0,
                       from mys.c:39:
      /opt3/dbs/mdb/10.2/include/mysql/mysql_com.h:114:22: error: C++ style comments are not allowed in ISO C90 [-Werror]
         COM_UNIMPLEMENTED, // COM_BINLOG_DUMP_GTID in MySQL
      

        Attachments

          Activity

            People

            • Assignee:
              sanja Oleksandr Byelkin
              Reporter:
              sebflaesch FLAESCH Sebastien
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: