Bug #82825 Remove #defines with global influence from my_global.h
Submitted: 31 Aug 2016 14:58 Modified: 2 Sep 2016 16:14
Reporter: Steinar Gunderson Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.1 OS:Any
Assigned to: CPU Architecture:Any

[31 Aug 2016 14:58] Steinar Gunderson
my_global.h should not have #defines that modify behavior of system
headers; this is brittle, and better suited to CMake options, 
so move it there.

It should also not try to #undef symbols from other files, which is
again brittle (especially as these symbols tend to change without
people remembering to update my_global.h -- it seems to already have
happened during the introduction of yaSSL). Instead, make sure these
symbols are simply not added during compilation in the first place.

How to repeat:

Suggested fix:
See description
[2 Sep 2016 16:14] Paul DuBois
Posted by developer:
Fixed in 8.0.1.

Code cleanup. No changelog entry needed.