Bug #94349 cmake cleanup: gcc/clang compiler warning suppressions

Submitted: 15 Feb 2019 15:00 Modified: 11 Jul 2019 12:37
Reporter: Tor Didriksen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.17 OS:Any
Assigned to: CPU Architecture:Any

[15 Feb 2019 15:00] Tor Didriksen
Description:
Unify the handling of testing for compiler warning suppressions.

How to repeat:
Read the code.
We have
CHECK_CXX_COMPILER_FLAG("-Wxxxxx" HAVE_XXXXX)
spread all over the cmake codebase.
This leads to inconsistent, and duplicated code.

Suggested fix:
Add a new MY_CHECK_CXX_COMPILER_WARNING function, which caches results.
[11 Jul 2019 12:37] Paul DuBois
Posted by developer:
 
Fixed in 8.0.18.

Configuration cleanup. No changelog entry required.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.