small warning and compilation adjustments
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef lint
|
||||
static char rcsid[] = "@(#$Id: plaintorich.cpp,v 1.3 2005-10-19 10:21:48 dockes Exp $ (C) 2005 J.F.Dockes";
|
||||
static char rcsid[] = "@(#$Id: plaintorich.cpp,v 1.4 2005-10-20 08:34:51 dockes Exp $ (C) 2005 J.F.Dockes";
|
||||
#endif
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ class myTextSplitCB : public TextSplitCB {
|
||||
}
|
||||
|
||||
// Callback called by the text-to-words breaker for each word
|
||||
virtual bool takeword(const std::string& term, int pos, int bts, int bte) {
|
||||
virtual bool takeword(const std::string& term, int, int bts, int bte) {
|
||||
string dumb;
|
||||
Rcl::dumb_string(term, dumb);
|
||||
//LOGDEB(("Input dumbbed term: '%s' %d %d %d\n", dumb.c_str(),
|
||||
|
||||
@@ -106,7 +106,6 @@ void Preview::doSearch(bool next, bool reverse)
|
||||
}
|
||||
} else {
|
||||
// Forward search: start from end of selection
|
||||
int bogus;
|
||||
mspara = mepara;
|
||||
msindex = meindex;
|
||||
//LOGDEB(("New para: %d index %d\n", mspara, msindex));
|
||||
|
||||
@@ -26,14 +26,15 @@ unix {
|
||||
UI_DIR = .ui
|
||||
MOC_DIR = .moc
|
||||
OBJECTS_DIR = .obj
|
||||
LIBS += ../lib/librcl.a ../bincimapmime/libmime.a -L/usr/local/lib -lxapian -liconv \
|
||||
-lfontconfig -lfreetype -lexpat -lz
|
||||
LIBS += ../lib/librcl.a ../bincimapmime/libmime.a \
|
||||
-L/usr/local/lib -lxapian -liconv \
|
||||
-lz
|
||||
INCLUDEPATH += ../common ../index ../query ../unac ../utils
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
UNAME = $$system(uname -s)
|
||||
contains( UNAME, [lL]inux ) {
|
||||
LIBS -= -liconv
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user