[MDEV-12244] C API header file contains C++ comment for COM_BINLOG_DUMP_GTID Created: 2017-03-13  Updated: 2017-03-13  Resolved: 2017-03-13

Status: Closed
Project: MariaDB Server
Component/s: Scripts & Clients
Affects Version/s: 10.2.4
Fix Version/s: 10.2.5

Type: Bug Priority: Minor
Reporter: FLAESCH Sebastien Assignee: Oleksandr Byelkin
Resolution: Fixed Votes: 0
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


Generated at Thu Feb 08 07:56:13 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.