Opened 10 years ago

Closed 10 years ago

#657 closed defect (fixed)

Logging (--enable-log) doesn't work with clang

Reported by: German M. Bravo Owned by: Olly Betts
Priority: normal Milestone: 1.2.19
Component: Other Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: All

Description

Trying to compile xapian with logging enabled under OS X results in errors from PrettyOStream. (operator<< for the typenames are being used before they're declared, by PrettyOStream::operator|)

The problem I think could be related to: "Unqualified lookup in templates" (http://clang.llvm.org/compatibility.html#dep_lookup)

Attachments (1)

xapian-clang-log-error.log (4.4 KB ) - added by German M. Bravo 10 years ago.
Log of clang errors

Download all attachments as: .zip

Change History (4)

comment:1 by Olly Betts, 10 years ago

Could you attach a log of the errors?

by German M. Bravo, 10 years ago

Attachment: xapian-clang-log-error.log added

Log of clang errors

comment:2 by Olly Betts, 10 years ago

Milestone: 1.2.19

Fixed in trunk r18264 (at least for clang++ 3.6 on Debian - testing on OS X would be appreciated).

Marking to backport for 1.2.19.

comment:3 by Olly Betts, 10 years ago

Resolution: fixed
Status: newclosed

Backported to 1.2 branch in r18270.

Note: See TracTickets for help on using tickets.