Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
3.1.20
-
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
- is caused by
-
CONC-624 Macro SET_CLIENT_STMT_ERROR doesn't support mariadb specific client errors
- Closed