Bug #71363 happlier does not compile under 2011 C++ standard
Submitted: 13 Jan 2014 14:45 Modified: 21 Mar 2014 21:50
Reporter: Michael Albert Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Utilities: Binlog Events Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[13 Jan 2014 14:45] Michael Albert
Description:
The applier does not compile under the 2011 C++ standard.

How to repeat:
Try to compile with a compiler that uses the new standard (e.g., use g++ with the --std=c++0x flag).

Suggested fix:
This seems to be a really small but obscure issue.

In tcp_driver.cpp, add "#include <utility>", and in the "make_pair()" call, do not explicitly use the template parameters.

For the later, see:
http://stackoverflow.com/questions/9641960/c11-make-pair-with-specified-template-parameter...

Thanks!
[16 Jan 2014 10:34] Mats Kindahl
Hi Michael,

Although we do not support C++ 2011, the change is so small that it is reasonable to implement.

Thank you for the bug report!
[21 Mar 2014 21:50] Paul DuBois
Fixed in 0.2.0.

Bug fix for unreleased product. No changelog entry needed.