Help with a simple gcc4.3 build error

Dan Horák dan at danny.cz
Sun Mar 16 10:56:58 UTC 2008


Tim Jackson píše v Ne 16. 03. 2008 v 10:47 +0000:
> I'd really like to get the latest version of RapidSVN into Fedora 9. 
> However one of the files from it fails to build on gcc 4.3. I'm pretty 
> sure it's a trivial error; can anyone help? The basic error is:
> 
> ..
> In member function "void PathTestCase::testInit()":
> error: "strcmp" was not declared in this scope
> ..
> 
> where string.h *is* included.
> 

The test_path.cpp file contains #include <string>, but you need #include
<string.h> too.


		Dan





More information about the fedora-devel-list mailing list