Kaydet (Commit) 835a063c authored tarafından Catalin Iacob's avatar Catalin Iacob Kaydeden (comit) Stephan Bergmann

WaE: patch CLucene to avoid Clang unused parameter warning

üst 8eb9c441
......@@ -66,6 +66,7 @@ $(CLSO)/done : $(cl_FIXED_TARFILE_LOCATION) \
$(GNUPATCH) -p0 < $(SRCDIR)/clucene/patches/clucene-gcc-atomics.patch && \
$(GNUPATCH) -p0 < $(SRCDIR)/clucene/patches/clucene-debug.patch && \
$(GNUPATCH) -p0 < $(SRCDIR)/clucene/patches/clucene-narrowing-conversions.patch && \
$(GNUPATCH) -p0 < $(SRCDIR)/clucene/patches/clucene-multimap-put.patch && \
for i in `find $(CLSO)/ -name "*.cpp"`; do mv $$i $${i%%cpp}cxx; done)
#FIXME ?, our rules expect .cxx
ifneq ($(OS),WNT)
......
--- src/core/CLucene/util/VoidMap.h
+++ src/core/CLucene/util/VoidMap.h
@@ -316,6 +316,7 @@ public:
if ( _this::dk || _this::dv )
_this::remove(k);
+ (*this)[k] = v;
}
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment