On Tue, 29 Sep 2009, Andreas Jaeger wrote:
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>
c) do not include <string.h> in C++ code Richard. -- Richard Guenther <rguenther@suse.de> Novell / SUSE Labs SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 - GF: Markus Rex -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org