libmysqlclient-dev compilation error -- wrong header definition at client_plugin.h
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.7 (Ubuntu) |
Fix Released
|
High
|
Norvald H. Ryeng |
Bug Description
The following file has a bug inside the header definition that causes gcc (4.9 and 5.3.1) to fail:
>> dpkg -S /usr/include/
libmysqlclient-dev: /usr/include/
The fix introduced is the following:
>> diff -u /usr/include/
--- /usr/include/
+++ /usr/include/
@@ -89,7 +89,7 @@
const char *license; \
void *mysql_api; \
int (*init)(char *, size_t, int, va_list); \
- int (*deinit)(); \
+ int (*deinit)(void); \
int (*options)(const char *option, const void *);
The fix resolves the following concrete compilation error:
/usr/include/
MYSQL_
^
In file included from /usr/include/
/usr/include/
MYSQL_
Changed in mysql-5.7 (Ubuntu): | |
assignee: | nobody → Norvald H. Ryeng (nryeng) |
milestone: | none → ubuntu-16.06 |
Changed in mysql-5.7 (Ubuntu): | |
milestone: | ubuntu-16.06 → none |
Bug discovered while building packages for Ubuntu 16.04 Xerus for Turbulence