Help with a simple gcc4.3 build error
Mamoru Tasaka
mtasaka at ioa.s.u-tokyo.ac.jp
Sun Mar 16 10:56:37 UTC 2008
Tim Jackson wrote, at 03/16/2008 07:47 PM +9:00:
> 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.
>
> Bug here:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=434474
>
No. src/tests/svncpp/test_path.cpp contains "#include <string>",
this is different fro string.h
And for c++ source, you should "#include <cstring>" instead of
"#include <string.h>".
Regards,
Mamoru
More information about the fedora-devel-list
mailing list