Details
-
Task
-
Status: Open (View Workflow)
-
Trivial
-
Resolution: Unresolved
-
None
Description
server-main/include/violite.h has the following fragment for MacOSX:
/* apple deprecated openssl in MacOSX Lion */
|
#ifdef __APPLE__
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
#endif
|
The MacOSX versions that actually do have openssl headers are long being deprecated. Nowadays MacOSX binaries are compiled against the stock openssl library and headers and these do not have deprecation warnings built into them.
It's time to remove this warning suppression.
But the removal results in 100 or so "sprintf is deprecated" warnings.
So these should be fixed as well.
Attachments
Issue Links
- is part of
-
MDEV-33714 sprintf deprecated on macOS, replace with snprintf
-
- Stalled
-
- relates to
-
MDEV-35299 Server build failure on MacOS Monterey with clang version 14.0.0
-
- Closed
-