This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: undefined reference to `std::strchr(char const*, int)'
- To: gcc at gcc dot gnu dot org, carlo at alinoe dot com
- Subject: Re: undefined reference to `std::strchr(char const*, int)'
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Wed, 23 May 2001 20:03:40 -0700
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