[bt-devel] Compile-failure

Joachim Ansorg bt-devel@crosswire.org
Sat, 30 Dec 2000 22:08:24 +0100


Hi!

Are you using Sword 1.51a or current CVS (1.52pre) ?
I think we should use some #ifdefs for this, I'll try to work around the 
problem.

--Joachim

> Hi all
>
> I can't compile the current cvs-snapshot on my SuSE-Linux 7.0
>
> Here is what make says:
>
> In file included from /usr/local/sword/include/sword/swmodule.h:29,
>                  from /usr/local/sword/include/sword/swmgr.h:30,
>                  from cswordbackend.h:30,
>                  from cswordbackend.cpp:19:
> /usr/local/sword/include/sword/listkey.h: In method `long int
> ListKey::Index(long int)': /usr/local/sword/include/sword/listkey.h:57:
> warning: unused parameter `long int iindex' In file included from
> /usr/local/sword/include/sword/swmodule.h:30, from
> /usr/local/sword/include/sword/swmgr.h:30,
>                  from cswordbackend.h:30,
>                  from cswordbackend.cpp:19:
> /usr/local/sword/include/sword/swfilter.h: In method `void
> SWFilter::setOptionValue(const char *)':
> /usr/local/sword/include/sword/swfilter.h:36: warning: unused parameter
> `const char * ival' /usr/local/sword/include/sword/swfilter.h: In method
> `char SWFilter::ProcessText(char *, int, const SWKey *)':
> /usr/local/sword/include/sword/swfilter.h:38: warning: unused parameter
> `const class SWKey * key' In file included from
> /usr/local/sword/include/sword/swmgr.h:30,
>                  from cswordbackend.h:30,
>                  from cswordbackend.cpp:19:
> /usr/local/sword/include/sword/swmodule.h: In function `static char
> SWModule::createModule(const char *)':
> /usr/local/sword/include/sword/swmodule.h:91: warning: unused parameter
> `const char * path' In file included from cswordbackend.cpp:44:
> /usr/local/sword/include/sword/localemgr.h: At top level:
> /usr/local/sword/include/sword/localemgr.h:52: warning: extra qualification
> `LocaleMgr::' on member `getDefaultLocaleName' ignored cswordbackend.cpp:
> In method `bool CSwordBackend::shutdownModules()': cswordbackend.cpp:193:
> warning: control reaches end of non-void function
> `CSwordBackend::shutdownModules()' cswordbackend.cpp: In method `void
> CSwordBackend::Load()':
> cswordbackend.cpp:280: no method `FileMgr::existsDir'
> cswordbackend.cpp: In method `bool
> CSwordBackend::setBooknameLanguage(QString)': cswordbackend.cpp:323:
> warning: unused variable `bool ret'
> make[4]: *** [cswordbackend.lo] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive-am] Error 2
>
>
>
> Any hints?
>
>
> Thank you
>
> Beda