Bug #81688 Remove unnecessary compiler warning option checks
Submitted: 2 Jun 2016 13:13 Modified: 9 Jun 2016 8:20
Reporter: Jon Olav Hauglid Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.0 OS:Any
Assigned to: CPU Architecture:Any

[2 Jun 2016 13:13] Jon Olav Hauglid
Description:
When running CMake we currently do a lot of unnecessary work when checking if the compiler supports a given warning option:
- Checks are run on Windows and Solaris even if we only check for GCC/Clang warnings
- We check for warning options which are supported by all our used versions of GCC/Clang
- We check of the same option twice (not using CMake cache properly).

How to repeat:
Study CMake output
[9 Jun 2016 8:20] Paul DuBois
Posted by developer:
 
Fixed in 5.8.0.

Code cleanup. No changelog entry needed.
[18 Jun 2016 21:38] Omer Barnir
Posted by developer:
 
Reported version value updated to reflect release name change from 5.8 to 8.0