undefined reference to `std::strchr(char const*, int)'

Benjamin Kosnik bkoz@redhat.com
Wed May 23 20:03:00 GMT 2001


Carlo this problem is fixed with this:

2001-05-21  Stephen M. Webb  <stephen@bregmasoft.com>

	    * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
	    __glibcpp_memchr.
	    (strchr): Same, but to __glibcpp_strchr.
	    (strpbrk): Same.
	    (strrchr): Same.
	    (strstr): Same.  
	    * include/c_std/bits/std_cwchar.h (wcschr): Same.
	    (wcsbrk): Same.
	    (wcsrchr): Same.
	    (wcsstr): Same.
	    (wmemchr): Same.

You might want to make sure that you've got this patch in your
libstdc++-v3/ChangeLog

-benjamin



More information about the Gcc mailing list