Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The gzip.html example from the website doesn't compile #79

Closed
yurivict opened this issue Feb 18, 2019 · 0 comments
Closed

The gzip.html example from the website doesn't compile #79

yurivict opened this issue Feb 18, 2019 · 0 comments

Comments

@yurivict
Copy link

Example from the bottom of this page: https://www.boost.org/doc/libs/1_69_0/libs/iostreams/doc/classes/gzip.html fails to compile:

$ c++ -o gunzip gunzip.cpp -I /usr/local/include/
gunzip.cpp:12:5: error: no template named 'filtering_streambuf'; did you mean 'boost::iostreams::filtering_streambuf'?
    filtering_streambuf<input> in;
    ^~~~~~~~~~~~~~~~~~~
    boost::iostreams::filtering_streambuf
/usr/local/include/boost/iostreams/filtering_streambuf.hpp:60:41: note: 'boost::iostreams::filtering_streambuf' declared here
BOOST_IOSTREAMS_DEFINE_FILTER_STREAMBUF(filtering_streambuf, boost::iostreams::chain, char)
                                        ^

The example looks like it should produce an executable.

boost-libs-1.69.0_1 on FreeBSD 11.2

@mclow mclow transferred this issue from boostorg/boost Feb 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant