Bug #79964 InnoDB: Fix compiler warnings found with MSVS 2015
Submitted: 13 Jan 2016 21:26 Modified: 18 Feb 2016 14:51
Reporter: Kevin Lewis Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: InnoDB storage engine Severity:S3 (Non-critical)
Version:5.7 OS:Any
Assigned to: CPU Architecture:Any

[13 Jan 2016 21:26] Kevin Lewis
Description:
Microsoft Deveolper Studio 2015 has new warnings not exhibited in older compilers.  Clean up the InnoDB codebase to avoid these warnings.

How to repeat:
Compile mysql-5.7 with MSVS 2015

Suggested fix:
Use ULINTPF in format strings for ulint vars instead of "%lu" in many places.
Make appropriate typecasts in other cases.
[18 Feb 2016 14:51] Daniel Price
Posted by developer:
 
Fixed as of the upcoming 5.7.12, 5.8.0 release, and here's the changelog entry:

Modifications were made to InnoDB code to handle warnings when compiling
with Microsoft Visual Studio 2015.