-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Direct use of Allocator::allocate
is deprecated in C++17
#67
Comments
Right. LibreOffice uses the following patch :
|
The issue title is misleading: only the two argument form of Using |
While that's true, as noted in the original description at least MSVC's STL does generate a deprecation warning on direct calls to Related, there are also no calls to It also doesn't follow the allocator propagation rules and doesn't have a allocator instance constructor, which might be a bigger deal. As such it doesn't qualify as an |
Yeah, this code looks like it takes an allocator argument, but only actually works when that argument is |
Resolved in 5884c3d. |
gnss-sdr needs it: boostorg/format#67 . uhd and gnuradio need to use the same boost version to avoid incompatibilities issues. icu is needed from some reason with boost17x.
format/include/boost/format/alt_sstream_impl.hpp
Lines 40 to 45 in 7f4131b
Should use
allocator_traits
when at least C++11 is detected instead; the above code produces a deprecation warning in some compiler configurations.There might be some other code that should be updated as well, but this was the only one that I noticed a warning being flagged on (when compiling with VS2017 in C++17 mode).
The text was updated successfully, but these errors were encountered: