[Xapian-tickets] [Xapian] #799: Issue with enable-log option failing while building

Xapian nobody at xapian.org
Thu Jan 2 11:45:29 GMT 2020


#799: Issue with enable-log option failing while building
---------------------------------+------------------------
        Reporter:  Gaurav Arora  |      Owner:  Olly Betts
            Type:  defect        |     Status:  new
        Priority:  normal        |  Milestone:
       Component:  Other         |    Version:
        Severity:  normal        |   Keywords:
      Blocked By:                |   Blocking:
Operating System:  All           |
---------------------------------+------------------------
 ```
 :
 ./common/pretty.h:59:11:   required from ‘PrettyOStream<S>&
 operator<<(PrettyOStream<S>&, const T&) [with S =
 std::__cxx11::basic_ostringstream<char>; T = Xapian::KeyMaker]’
 ./common/pretty.h:87:15:   required from ‘PrettyOStream<S>&
 operator<<(PrettyOStream<S>&, const T*) [with S =
 std::__cxx11::basic_ostringstream<char>; T = Xapian::KeyMaker]’
 api/registry.cc:448:5:   required from here
 /usr/include/c++/8/ostream:682:5: error: no type named ‘type’ in ‘struct
 std::enable_if<false, std::basic_ostream<char>&>’
 make[2]: *** [Makefile:3259: api/registry.lo] Error 1
 ```

 When build is configured with --enable-log option, building xapian fails.
 Because newlu KeyMaker class doesn't have get_description method which is
 probably used for logging.

 I was get away with error while adding a dummy get_description method. It
 will be good to fix this issue.
-- 
Ticket URL: <https://trac.xapian.org/ticket/799>
Xapian <https://xapian.org/>
Xapian


More information about the Xapian-tickets mailing list