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)

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

Page generated in 0.050 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.