#8710 closed Bugs (wontfix)
auto_ptr warnings when building boost
Reported by: | Owned by: | Artyom Beilis | |
---|---|---|---|
Milestone: | To Be Determined | Component: | locale |
Version: | Boost 1.54.0 | Severity: | Cosmetic |
Keywords: | Cc: |
Description
When compiling boost1.54 beta using gcc 4.7.2 in C++11, several warnings about the deprecated auto_ptr shows up.
This is truly a cosmetic (for now) but since there are almost no other warnings it would be nice to fix.
examples: libs/locale/src/shared/localization_backend.cpp:54 libs/locale/src/shared/mo_lambda.cpp:42 libs/locale/src/util/codecvt_converter.cpp:194
I used ./b2 --prefix=/tmp/boostbuild/ variant=debug threading=multi link=shared runtime-link=shared toolset=gcc cxxflags=-std=gnu++11
Change History (5)
comment:1 by , 9 years ago
Component: | None → locale |
---|---|
Owner: | set to |
comment:2 by , 9 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:3 by , 7 years ago
Is there some way in which these warnings specifically could be suppressed?
comment:5 by , 7 years ago
it's said c++11 provided unique_ptr to replace auto_ptr, will that be fixed on a separate branch? http://stackoverflow.com/questions/3697686/why-is-auto-ptr-being-deprecated
The boost.locale supports non C++11 compilers as well and only auto_ptr supports the required move semantics.
So it would not be fixed