This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]