graph icon indicating copy to clipboard operation
graph copied to clipboard

Boost.Graph no longer builds with C++03

Open mclow opened this issue 2 years ago • 6 comments

It includes lexical_cast.h which no longer supports C++03.

mclow avatar Nov 10 '23 17:11 mclow

Discovered in Boost 1.84.0 Beta 1 Release Candidate 1

mclow avatar Nov 10 '23 17:11 mclow

Is that actually an issue though? I thought all libraries were free to dispense with supporting pre-C++11 now? I've already taken the C+98 and C++03 CI builders out of the configurations for Drone and GitHub actions.

jeremy-murphy avatar Nov 12 '23 05:11 jeremy-murphy

If you decide that Boost.Graph is no longer supporting c++03, that's your call.

But when I look at the docs and the meta/library.json file, I don't see any suggestion of that.

Many libraries have (or are in the process of) dispensing with C++03 support. I see messages like this in my build logs:

./boost/smart_ptr/detail/requires_cxx11.hpp:19:1: warning: C++03 support was deprecated in Boost.SmartPtr 1.82 and will be removed in Boost.SmartPtr 1.84. Please open an issue in https://github.com/boostorg/smart_ptr if you want it retained. [-W#pragma-messages]

mclow avatar Nov 12 '23 15:11 mclow

OK, good point, I should communicate it more explicitly.

jeremy-murphy avatar Nov 12 '23 22:11 jeremy-murphy

What has been the decision here? I see still 03 in the meta/library.json file.

andrea-cassioli-maersk avatar Apr 17 '24 09:04 andrea-cassioli-maersk

The decision is to drop C++03, the fact is I haven't had time to figure out how to do it.

jeremy-murphy avatar Apr 17 '24 10:04 jeremy-murphy