Boost logo

Boost :

From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2019-11-18 19:56:30


On my Mac, I the version of LZMA that I have installed (via homebrew) does
not have the multi-tasking calls (_lzma_cputhreads and
_lzma_stream_encoder_mt).
It identifies itself:

$ cat junk.cpp
#include <iostream>
#include "lzma.h"

int main() {
std::cout << LZMA_VERSION << std::endl;
}

$ clang++ junk.cpp && ./a.out
50020042
$

Changing libs/iostreams/src/lzma.cpp thus solves enables things to build:

#ifndef BOOST_IOSTREAMS_LZMA_NO_MULTITHREADED
- #if LZMA_VERSION < 50020002
+ #if LZMA_VERSION <= 50020042
        #define BOOST_IOSTREAMS_LZMA_NO_MULTITHREADED
    #endif
#endif

-- Marshall


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