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)
Change History (4)
comment:1 by , 10 years ago
comment:2 by , 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 , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Backported to 1.2 branch in r18270.
Note:
See TracTickets
for help on using tickets.
Could you attach a log of the errors?