Boost logo

Boost :

From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2023-11-10 01:28:28


On Nov 9, 2023, at 3:28 PM, Peter Dimov via Boost <boost_at_[hidden]> wrote:
>
> Marshall Clow wrote:
>> The libraries were built successfully using C++11/14/17/20/2B.
>>
>> However, when building for C++03, the following libraries failed to build
>>
>> * Any
>> * lexical_cast
>> * thread
>> * type_index
>
> These libraries don't support C++03 anymore.

Apparently not everyone has gotten the message.
lexical_cast.h is included from boost/graph/graphml.hpp
any.h is included from contract.

Here are the files that failed to compile:
 ...failed clang-darwin.compile.c++ bin.v2/libs/contract/build/clang-darwin-15/release/cxxstd-03-iso/link-static/threading-multi/visibility-hidden/contract.o...
 ...failed clang-darwin.compile.c++ bin.v2/libs/contract/build/clang-darwin-15/release/cxxstd-03-iso/threading-multi/visibility-hidden/contract.o...
 ...failed clang-darwin.compile.c++ bin.v2/libs/graph/build/clang-darwin-15/release/cxxstd-03-iso/link-static/threading-multi/visibility-hidden/graphml.o...
 ...failed clang-darwin.compile.c++ bin.v2/libs/graph/build/clang-darwin-15/release/cxxstd-03-iso/link-static/threading-multi/visibility-hidden/read_graphviz_new.o...
 ...failed clang-darwin.compile.c++ bin.v2/libs/graph/build/clang-darwin-15/release/cxxstd-03-iso/threading-multi/visibility-hidden/graphml.o...
 ...failed clang-darwin.compile.c++ bin.v2/libs/graph/build/clang-darwin-15/release/cxxstd-03-iso/threading-multi/visibility-hidden/read_graphviz_new.o...
 ...failed clang-darwin.compile.c++ bin.v2/libs/program_options/build/clang-darwin-15/release/cxxstd-03-iso/link-static/threading-multi/visibility-hidden/cmdline.o...
 ...failed clang-darwin.compile.c++ bin.v2/libs/program_options/build/clang-darwin-15/release/cxxstd-03-iso/link-static/threading-multi/visibility-hidden/options_description.o...
 ...failed clang-darwin.compile.c++ bin.v2/libs/program_options/build/clang-darwin-15/release/cxxstd-03-iso/link-static/threading-multi/visibility-hidden/parsers.o...
 ...failed clang-darwin.compile.c++ bin.v2/libs/program_options/build/clang-darwin-15/release/cxxstd-03-iso/link-static/threading-multi/visibility-hidden/split.o...
 ...failed clang-darwin.compile.c++ bin.v2/libs/program_options/build/clang-darwin-15/release/cxxstd-03-iso/link-static/threading-multi/visibility-hidden/value_semantic.o...
 ...failed clang-darwin.compile.c++ bin.v2/libs/program_options/build/clang-darwin-15/release/cxxstd-03-iso/link-static/threading-multi/visibility-hidden/variables_map.o...
 ...failed clang-darwin.compile.c++ bin.v2/libs/program_options/build/clang-darwin-15/release/cxxstd-03-iso/link-static/threading-multi/visibility-hidden/winmain.o...
 ...failed clang-darwin.compile.c++ bin.v2/libs/program_options/build/clang-darwin-15/release/cxxstd-03-iso/threading-multi/visibility-hidden/cmdline.o...
 ...failed clang-darwin.compile.c++ bin.v2/libs/program_options/build/clang-darwin-15/release/cxxstd-03-iso/threading-multi/visibility-hidden/options_description.o...
 ...failed clang-darwin.compile.c++ bin.v2/libs/program_options/build/clang-darwin-15/release/cxxstd-03-iso/threading-multi/visibility-hidden/parsers.o...
 ...failed clang-darwin.compile.c++ bin.v2/libs/program_options/build/clang-darwin-15/release/cxxstd-03-iso/threading-multi/visibility-hidden/split.o...
 ...failed clang-darwin.compile.c++ bin.v2/libs/program_options/build/clang-darwin-15/release/cxxstd-03-iso/threading-multi/visibility-hidden/value_semantic.o...
 ...failed clang-darwin.compile.c++ bin.v2/libs/program_options/build/clang-darwin-15/release/cxxstd-03-iso/threading-multi/visibility-hidden/variables_map.o...
 ...failed clang-darwin.compile.c++ bin.v2/libs/program_options/build/clang-darwin-15/release/cxxstd-03-iso/threading-multi/visibility-hidden/winmain.o...
 ...failed clang-darwin.compile.c++ bin.v2/libs/thread/build/clang-darwin-15/release/cxxstd-03-iso/link-static/threading-multi/visibility-hidden/pthread/thread.o...
 ...failed clang-darwin.compile.c++ bin.v2/libs/thread/build/clang-darwin-15/release/cxxstd-03-iso/threading-multi/visibility-hidden/pthread/thread.o...

Looking at the meta/libraries.json files.
Boost.Contract has no language requirement
Boost.Graph requires C++03.
Boost.ProgramOptions requires C++11 — so why is it getting built?
Boost.Thread requires C++11 — so why is it getting built?

— Marshall


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk