21 Jun
2017
21 Jun
'17
9:56 p.m.
Vinnie Falco wrote:
For reference, here is the ONE .cpp file which makes Boost.System not header-only: https://github.com/boostorg/system/blob/develop/src/error_code.cpp#L14
and here's that one header it includes https://github.com/boostorg/system/blob/develop/include/boost/system/detail/...
We make people link against Boost.System just for that?
No, for that: https://github.com/boostorg/system/blob/master/include/boost/system/detail/e... Or, in general, we use separate compilation to isolate the users of the library from the header dependencies required to build (but not use) the library.
Boost.System should be header-only by default.
In this case, after the recent fixes, maybe.