On Tuesday 29 September 2009 19:44:22 Sascha 'saigkill' Manns wrote:
Hello Mates,
In file included from cpu_sched.cpp:45: .../lib/str_util.h:41: error: new declaration 'const char* strcasestr(const char*, const char*)' /usr/include/string.h:218: error: ambiguates old declaration 'char* strcasestr(const char*, const char*)' make[2]: *** [boinc_client-cpu_sched.o] Error 1
Does anyone know what to do?
a) remove from lib/str_util.h the declation of strcasestr.
b) if the package implements strcasestr: Rename the function to avoid a
conflict with the system header