small warning and compilation adjustments

This commit is contained in:
dockes 2005-10-20 08:34:51 +00:00
parent cbfb93d53e
commit b55e443c91
9 changed files with 41 additions and 30 deletions

View File

@ -1,14 +1,16 @@
all:
cd lib;make
cd bincimapmime;make
cd index;make
cd qtgui;qmake recoll.pro ; rm -f recoll;make
clean:
cd common;make clean
cd index;make clean
cd lib;make clean
cd bincimapmime;make clean
cd qtgui;rm -f recoll;make clean
cd query;make clean
cd utils;make clean
test -f mk/sysconf || ./configure
cd lib; $(MAKE)
cd bincimapmime; $(MAKE)
cd index; $(MAKE)
cd qtgui; qmake recoll.pro; rm -f recoll; $(MAKE)
clean:
cd common; $(MAKE) clean
cd index; $(MAKE) clean
cd lib; $(MAKE) clean
cd bincimapmime; $(MAKE) clean
cd qtgui; rm -f recoll; $(MAKE) clean
cd query; $(MAKE) clean
cd utils; $(MAKE) clean

View File

@ -1 +1 @@
1.0
1.01

View File

@ -27,8 +27,7 @@ trbinc: trbinc.o
clean:
rm -f *.o $(LIBS)
alldeps:depend
depend:
depend: alldeps
alldeps: $(SRCS)
$(CXX) $(CXXFLAGS) -M $(SRCS) > alldeps
include alldeps

View File

@ -1,14 +1,21 @@
CVS
*/.#*
*/CVS
Changelog
*/alldeps
*/.moc
*/.ui
*/.obj
*/*/.moc
*/*/.ui
*/*/.obj
.#*
./autom4*
CVS
TAGS
aux/CVS
config.cache
config.log
config.status
excludefile
makedist.sh
.#*
*/*.#*
mk/sysconf
qtgui/Makefile

View File

@ -87,8 +87,10 @@ unacpp.o : ../common/unacpp.cpp
clean:
rm -f *.o $(LIBS)
alldeps:depend
depend:
depend: alldeps
alldeps: $(SRCS)
$(CXX) $(CXXFLAGS) -M $(SRCS) > alldeps
include alldeps

View File

@ -1,4 +1,5 @@
CXXFLAGS = -pthread -Wall -g -I. -I../index -I../utils -I../common \
CXXFLAGS = -pthread -Wall -Wno-unused-variable -g \
-I. -I../index -I../utils -I../common \
-I../unac -I../bincimapmime -I/usr/local/include \
\
-DHAVE_VASPRINTF=1

View File

@ -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(),

View File

@ -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));

View File

@ -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
}
}