GCC 12 defaults to C++17 which removes (not just deprecates)
std::auto_ptr<>. Trying to use CXXSTD of c++03 doesn't work with
libc++ headers, but c++11 does.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Should we look at updating kyua et al to avoid using auto_ptr? (e.g. as a project idea, perhaps)
Comment Actions
I looked and ran away screaming. It wasn't trivial in that you can't just do a giant s/auto_ptr/unique_ptr/. Or rather, it didn't seem like you could do it incrementally as they are all over the place. @brooks definitely has expressed a desire that Someone Else (tm) would drag kyua into the C+11 world.
Comment Actions
But sure, we should list it as a project idea in case someone is up for that kind of "fun"