The current version of next_stable fails when compiled in C++11 mode
due to std::make_unique not being in that version.  This is pretty
easy to fix(Herb Sutter has an implementation of this for C++11 which
seems to be the same as GCC's: https://herbsutter.com/gotw/_102/)

I see three options here:
1. Continue to use C++11 for next_stable, reverting any make_unique calls
2. Use a custom log4cxx::make_unique function for C++11 compilers
3. Use C++14(or later)

Does anybody have any thoughts on this?  At this point I feel it is
perfectly reasonable to do any of these options, as my general rule of
thumb is to support whatever compiler the 'oldstable' version of
Debian uses(so anything released in the past ~5 years).  RHEL has a
much longer release cycle; I believe RHEL 7(which is still supported
for at least 1.5 years) would only be able to be compiled with a C++11
compiler.

-Robert Middleton

Reply via email to