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 <string.h> Andreas -- Andreas Jaeger, Program Manager openSUSE, aj@{novell.com,opensuse.org} Twitter: jaegerandi | Identica: jaegerandi SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126