[sword-devel] Compile problems with new config stuff
Joachim Ansorg
sword-devel@crosswire.org
Thu, 15 Mar 2001 19:21:15 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Martin!
I fixed this some minutes ago.
Untill tomorrow!
Joachim
> Hi Troy,
>
> I'm not sure whether my compiler is ok; what I know is that I use
>
> gcc --version
> 2.95.2
>
> and when I try to compile BibleTime, I see
>
> /usr/local/sword/include/sword/swconfig.h: In method `T &
> multimapwithdefault<Key,T,Compare>::operator [](const Key &)':
> /usr/local/sword/include/sword/swconfig.h:42: parse error before `='
>
> I hope this is not my fault; The compiler installation is directly from the
> SuSE 7.0 distro. Sword itself compiles now -- how can this be?
> I attached a more detailed output.
>
> Martin
>
> P.S. please see my last 2 postings.
>
> ------------------------------------
> g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/opt/kde2/include
> -I/usr/lib/qt2/include -I/usr/X11R6/include -D_REENTRANT
> -I/usr/local/sword/include/sword -DQT_NO_ASCII_CAST -g -ansi
> -D_XOPEN_SOURCE -D_BSD_SOURCE -Wbad-function-cast -Wcast-align -Wundef
> -Wconversion -pg -fno-check-new -Wall -pedantic -W -Wpointer-arith
> -Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin
> -Wp,-MD,.deps/cswordmodulesearch.pp -c cswordmodulesearch.cpp -fPIC -DPIC
> -o .libs/cswordmodulesearch.o
> In file included from /usr/local/sword/include/sword/swkey.h:27,
> from /usr/local/sword/include/sword/swmodule.h:28,
> from /usr/local/sword/include/sword/swmgr.h:30,
> from cswordbackend.h:30,
> from cswordmoduleinfo.h:23,
> from cswordmodulesearch.h:22,
> from cswordmodulesearch.cpp:19:
> /usr/local/sword/include/sword/swobject.h:5: warning: carriage return in
> preprocessing directive
> 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 cswordmoduleinfo.h:23,
> from cswordmodulesearch.h:22,
> from cswordmodulesearch.cpp:19:
> /usr/local/sword/include/sword/listkey.h: In method `long int
> ListKey::Index(long int)':
> /usr/local/sword/include/sword/listkey.h:113: 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 cswordmoduleinfo.h:23,
> from cswordmodulesearch.h:22,
> from cswordmodulesearch.cpp:19:
> /usr/local/sword/include/sword/swfilter.h: In method `void
> SWFilter::setOptionValue(const char *)':
> /usr/local/sword/include/sword/swfilter.h:79: 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:92: warning: unused parameter
> `const class SWKey * key'
> In file included from /usr/local/sword/include/sword/swmgr.h:30,
> from cswordbackend.h:30,
> from cswordmoduleinfo.h:23,
> from cswordmodulesearch.h:22,
> from cswordmodulesearch.cpp:19:
> /usr/local/sword/include/sword/swmodule.h: In function `static char
> SWModule::createModule(const char *)':
> /usr/local/sword/include/sword/swmodule.h:276: warning: unused parameter
> `const
> char * path'
> In file included from /usr/local/sword/include/sword/swmgr.h:31,
> from cswordbackend.h:30,
> from cswordmoduleinfo.h:23,
> from cswordmodulesearch.h:22,
> from cswordmodulesearch.cpp:19:
> /usr/local/sword/include/sword/swconfig.h: In method `T &
> multimapwithdefault<Key,T,Compare>::operator [](const Key &)':
> /usr/local/sword/include/sword/swconfig.h:42: parse error before `='
> cswordmodulesearch.cpp: In method `void
> CSwordModuleSearch::percentUpdate(char,
> void *)':
> cswordmodulesearch.cpp:65: warning: unused parameter `void * p'
> make[4]: *** [cswordmodulesearch.lo] Error 1
> make[4]: Leaving directory
> `/home/Martin/bibletime-2/bibletime/backend/sword_backend'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/Martin/bibletime-2/bibletime/backend'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/Martin/bibletime-2/bibletime'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/Martin/bibletime-2'
> make: *** [all-recursive-am] Error 2
- --
Joachim Ansorg
BibleTime - www.bibletime.de - info@bibletime.de
BibleTime is an easy to use Bible study tool for KDE / Linux.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1e-SuSE (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE6sQgcXu8IiUJO3NcRApfbAJ4kjK+phmTRAT4TbaL5q/oEswT4DQCeIqIA
ZsRi2kDpQ22xSEfMLMFTUDM=
=zYhF
-----END PGP SIGNATURE-----