Skip to content

Fails to build with boost >= 1.87 #208

@berolinux

Description

@berolinux

Boost versions up to 1.86 are ok.
Building with boost 1.87 results in

In file included from /home/bero/abf/luceneplusplus/BUILD/lucene++-3.0.9-build/LucenePlusPlus-rel_3.0.9/src/core/document/NumericField.cpp:1:
In file included from /home/bero/abf/luceneplusplus/BUILD/lucene++-3.0.9-build/LucenePlusPlus-rel_3.0.9/build/src/core/cotire/lucene++_CXX_prefix.hxx:4:
In file included from /home/bero/abf/luceneplusplus/BUILD/lucene++-3.0.9-build/LucenePlusPlus-rel_3.0.9/build/src/core/cotire/lucene++_CXX_prefix.cxx:4:
In file included from /home/bero/abf/luceneplusplus/BUILD/lucene++-3.0.9-build/LucenePlusPlus-rel_3.0.9/src/core/include/LuceneInc.h:23:
In file included from /home/bero/abf/luceneplusplus/BUILD/lucene++-3.0.9-build/LucenePlusPlus-rel_3.0.9/include/lucene++/Lucene.h:26:
In file included from /usr/include/boost/variant.hpp:17:
In file included from /usr/include/boost/variant/variant.hpp:2308:
/usr/include/boost/variant/detail/variant_io.hpp:57:14: error: invalid operands to binary expression ('std::basic_ostream<wchar_t>' and 'const boost::shared_ptr<Lucene::Reader>')
   57 |         out_ << operand;
      |         ~~~~ ^  ~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions