Bug #96991 New compilation warnings with XCode 11
Submitted: 24 Sep 2019 10:18 Modified: 25 Sep 2019 2:10
Reporter: Jon Olav Hauglid Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.19 OS:Any
Assigned to: CPU Architecture:Any

[24 Sep 2019 10:18] Jon Olav Hauglid
Description:
With XCode 11 and new version of Apple's Clang, we get new compilation warnings when compiling the server.

These are related to the deprecation of std::random_shuffle() in C++14.

How to repeat:
Build the server with XCode 11

Suggested fix:
Use std::shuffle() instead.
[25 Sep 2019 2:10] Paul DuBois
Posted by developer:
 
Fixed in 8.0.19.

Configuration/code cleanup. No changelog entry required.