Bug #89695 backport to 5.7 Bug #26826272: REMOVE GCC 8 WARNINGS
Submitted: 16 Feb 2018 12:22 Modified: 17 Apr 2018 16:50
Reporter: Tor Didriksen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.7.22 OS:Any
Assigned to: CPU Architecture:Any

[16 Feb 2018 12:22] Tor Didriksen
Description:
MySQL should compile warning-free (ie., maintainer mode should work) also
with GCC 8.

According to our "supported platforms" document, MySQL 5.7 should be built with native gcc on several Linux distros. We expect Fedora to upgrade to GCC 8, and have GA release in May 2018

How to repeat:
Build MySQL 5.7 with GCC 8, *lots* of warnings.

Suggested fix:
Backport patches from MySQL trunk, but in a simplified form.
Trunk is C++11, MySQL 5.7 is C++03, so patches must be re-written.
[17 Apr 2018 16:50] Paul DuBois
Posted by developer:
 
Fixed in 5.7.23.

Code cleanup. No changelog entry needed.