This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: glibc-2.2.93 can't compile gcc-3.2
- From: Kaoru Fukui <k_fukui at highway dot ne dot jp>
- To: jchua at fedex dot com
- Cc: GNU libc <libc-alpha at sources dot redhat dot com>
- Date: Thu, 5 Sep 2002 16:37:51 +0900 (JST)
- Subject: Re: glibc-2.2.93 can't compile gcc-3.2
On 5 Sep, Jeff Chua wrote:
>
> __ctype_b
> __ctype_toupper
> __ctype_tolower
>
> ... undeclared while recompiling gcc-3.2 with glibc-2.2.93 using gcc-3.2
> (originally compiled with glibc-2.2.5)
Get current gcc from cvs, which probably is fixed.
Or Jakub.s that patches are in gcc-patches@gcc.gnu.org.
There are some patches.
Look for in archive.
Kaoru
------------------------------------------------------------
2002-09-01 Jakub Jelinek <jakub@redhat.com>
* config/os/gnu-linux/bits/ctype_noninline.h
(ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
_S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
and return __ctype_b.
(ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
_GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
initialize using __ctype_{b,tolower,toupper}.
(ctype<char>::ctype(const mask*, bool, size_t)): If
_GLIBCPP_C_LOCALE_GNU, initialize using
_S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.