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
MDEV-38499: cmake and compile errors on MacOSX when compiling
mariadb from a git tree
Fix the warnings issued by a normal MacOSX compile.
Problems:
1. sprintf is deprecated in favor of snprintf
2. bison incorrectly issues a warning when it sees "b4_bin"
3. MacOSX linker issues a warning about duplicate mysys/dbug/etc libraries.
On 1: replaced the relevant sprintf with snprintf.
On 2: worked around by adding a compiler define with a different name
aliasing the character set variable used with a name that
won't trigger the bison warning
On 3: This is due to the fact that there's a circular dependecy between
mysys and dbug (among others). Turned the warning off by suppressing
the duplicate library warning.
0 commit comments