diff --git a/src/RideSummaryWindow.cpp b/src/RideSummaryWindow.cpp index cad2868a8..71d8a03cf 100644 --- a/src/RideSummaryWindow.cpp +++ b/src/RideSummaryWindow.cpp @@ -102,6 +102,7 @@ RideSummaryWindow::RideSummaryWindow(MainWindow *mainWindow, bool ridesummary) : setChartLayout(vlayout); } +#ifdef GC_HAVE_LUCENE void RideSummaryWindow::clearFilter() { @@ -117,6 +118,7 @@ RideSummaryWindow::setFilter(QStringList list) filtered = true; refresh(); } +#endif void RideSummaryWindow::rideSelected() diff --git a/src/Serial.cpp b/src/Serial.cpp index 2c1a8e445..06108e096 100644 --- a/src/Serial.cpp +++ b/src/Serial.cpp @@ -75,7 +75,6 @@ bool Serial::open(QString &err) { #ifndef Q_OS_WIN32 -Q_UNUSED(err); // // Linux and Mac OSX use stdio / termio / tcsetattr // @@ -115,7 +114,7 @@ Q_UNUSED(err); } return true; #else - +Q_UNUSED(err); // // Windows uses CreateFile / DCB / SetCommState // @@ -216,7 +215,6 @@ int Serial::read(void *buf, size_t nbyte, QString &err) { #ifndef Q_OS_WIN32 -Q_UNUSED(err); // // Mac and Linux use select and timevals to // do non-blocking reads with a timeout @@ -256,6 +254,7 @@ Q_UNUSED(err); } return count; #else +Q_UNUSED(err); // // Win32 API uses readfile diff --git a/src/gcconfig.pri.in b/src/gcconfig.pri.in index db2e007e6..23e4b5482 100644 --- a/src/gcconfig.pri.in +++ b/src/gcconfig.pri.in @@ -179,7 +179,7 @@ #two lines once you habve installed clucene developer libraries #and runtimes. See the INSTALL guide for your platform. #CLUCENE_INCLUDE = /usr/include/CLucene -#CLUCENE_LIBS = -lclucene +#CLUCENE_LIBS = -lclucene-core # *** Mac users NOTE ***