Bug #75716 Switch to C++11 and C99
Submitted: 2 Feb 2015 1:42 Modified: 24 Apr 2018 13:26
Reporter: Anitha Gopi Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.7 OS:Any
Assigned to: CPU Architecture:Any

[2 Feb 2015 1:42] Anitha Gopi
Description:
This is a request from webscale

https://github.com/webscalesql/webscalesql-5.6/commit/a57e031ed17f89ca8fd8c1e80c2da3ea05c9...

Feature: Basic Build Fixes

Adds -std=c++11 to gcc and clang C++ builds,
and -std=c99 to gcc and clang C builds.

Also, -Wdeclaration-after-statement isn't compatible with C99 (since
it's a warning about a feature now allowed in C99), so this diff also
removes this.

How to repeat:
Examine cmake files
[24 Apr 2018 13:26] Yngve Svendsen
Posted by developer:
 
Implemented in 8.0.11 (initial 8.0 GA)