[sword-devel] Build problems with CVS
Daniel Glassey
sword-devel@crosswire.org
Thu, 10 Jan 2002 20:16:53 +0000
I've got hold of gcc 3.0.3 and tried it and it compiles the library ok, maybe
versekey.h got corrupted on a cvs update. try deleting versekey.h, doing a
cvs update and try again.
Unfortunately I get problems once it gets to tests:
g++-3.0 -DHAVE_CONFIG_H -I. -I../../tests -I.. -I ../../include -g -O2 -c
-o testblocks.o `test -f ../../tests/testblocks.cpp || echo
'../../tests/'`../../tests/testblocks.cpp
../../tests/testblocks.cpp: In function `void addEntry(EntriesBlock*)':
../../tests/testblocks.cpp:8: `string' undeclared (first use this function)
../../tests/testblocks.cpp:8: (Each undeclared identifier is reported only
once
for each function it appears in.)
../../tests/testblocks.cpp:8: parse error before `;' token
../../tests/testblocks.cpp:15: `input' undeclared (first use this function)
../../tests/testblocks.cpp:17: `body' undeclared (first use this function)
../../tests/testblocks.cpp: In function `int main(int, char**)':
../../tests/testblocks.cpp:52: parse error before `;' token
8: string input;
STL problems?
Daniel
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com