You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WL#5825: Using C++ Standard Library with MySQL code
This patch will make it possible to use the C++
Standard Library by removing the min/max macros
from the code.
The patch makes the following changes:
- Define macros MY_MIN and MY_MAX instead of min and max.
- Use MY_MIN/MY_MAX in C code
- Use MY_MIN/MY_MAX in array declarations
- Include <algorithm> to get min/max from std
- Add using-declarations in source files
- Use std:: prefix for min/max in header files
- Turning some constant declarations unsigned
- Removing an overloaded use of 'min' as both
macro name and variable.
- It enables C++ builds for all files
0 commit comments