Bug #82598 Warnings with GCC 7.0 prerelease

Submitted: 16 Aug 2016 14:11 Modified: 17 Aug 2016 15:02
Reporter: Steinar Gunderson Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.1-dmr OS:Any
Assigned to: CPU Architecture:Any

[16 Aug 2016 14:11] Steinar Gunderson
Description:
Compiling MySQL with GCC 7.0 prerelease yields a few new warnings, which in maintainer mode results in a compile error. We should fix these to be ahead of the curve in time for the actual 7.0 release.

How to repeat:
sudo apt install gcc-snapshot/unstable
cmake .. -DDOWNLOAD_BOOST=1 -DWITH_BOOST=$WITH_BOOST -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/lib/gcc-snapshot/bin/gcc -DCMAKE_CXX_COMPILER=/usr/lib/gccsnapshot/bin/g++ -DMYSQL_MAINTAINER_MODE=1
ninja
[17 Aug 2016 15:02] Paul DuBois
Posted by developer:
 
Fixed in 8.0.1.

Code cleanup. No changelog entry required.

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

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