[sword-devel] Build problems with CVS
Daniel Glassey
sword-devel@crosswire.org
Fri, 11 Jan 2002 21:21:38 +0000
ok, it compiles cleanly on gcc 3.0 now, fixes in cvs
Daniel
On Thursday 10 Jan 2002 8:16 pm, you wrote:
> 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
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com