[MDEV-20767] writable-string error on OSX with 10.4.8 Created: 2019-10-07 Updated: 2019-10-09 Resolved: 2019-10-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling |
| Affects Version/s: | 10.4.8, 10.3 |
| Fix Version/s: | 10.3.19, 10.4.9 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Seth Shelnutt | Assignee: | Anel Husakovic |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
MacOS 10.13, Clang 10 |
||
| Description |
|
The error we are seeing on OSX is:
It looks like this was fixed in 10.5 with a merge from 10.4. branch but I can't find the actual change included in the 10.4. branch.
The cast to `(char *)` is all that is needed to remove this error from OSX builds. I will push a PR to github shortly with this fix for the 10.4 branch. |