Bug #75251 Add C++11 support and replace (deprecated in C++11) auto_ptr
Submitted: 17 Dec 2014 16:24 Modified: 5 Feb 2015 23:16
Reporter: Hemant Dangi Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / C++ Severity:S3 (Non-critical)
Version:1.1.5 OS:Any
Assigned to: Hemant Dangi CPU Architecture:Any

[17 Dec 2014 16:24] Hemant Dangi
Description:
Added new cmake option CMAKE_ENABLE_C++11 to enable C++11 compilation.
And replac auto_ptr as it is deprecated in C++11.

How to repeat:
No option in cmake for C++11 compilation.
[17 Dec 2014 16:34] Hemant Dangi
patch

Attachment: patch_auto_ptr_4.diff (application/octet-stream, text), 161.78 KiB.

[17 Dec 2014 16:34] Hemant Dangi
Committed as revision 1017.

Deprecated std::auto_ptr has been replaced with boost::scoped_ptr/shared_ptr and cmake option CMAKE_ENABLE_C++11 is added for C++11 support.
[5 Feb 2015 23:16] Paul DuBois
Noted in 1.1.6 changelog.

The std::auto_ptr class template is deprecated in C++11, and its
usage has been replaced with boost::scoped_ptr/shared_ptr.

The CMAKE_ENABLE_C++11 CMake option has been added to permit enabling
C++11 support.