gen-num-limits.cc: Instantiate for wchar_t.

* src/gen-num-limits.cc: Instantiate for wchar_t.
        * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.

From-SVN: r40666
This commit is contained in:
Richard Henderson 2001-03-20 11:39:45 -08:00 committed by Richard Henderson
parent 17da603cf2
commit f64805b6e9
4 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2001-03-20 Richard Henderson <rth@redhat.com>
* src/gen-num-limits.cc: Instantiate for wchar_t.
* config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
2001-03-20 Jason Merrill <jason@redhat.com>
* libsupc++/vec.cc (__cxa_vec_cleanup): New fn.

View File

@ -40,7 +40,7 @@
// NB: Offsets into ctype<char>::_M_table force a particular size
// on the mask type. Because of this, we don't use an enum.
typedef unsigned char mask;
typedef unsigned int mask;
static const mask upper = _ISUPPER;
static const mask lower = _ISLOWER;
static const mask alpha = _ISALPHA;

View File

@ -375,7 +375,7 @@ distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
cp -pr $$/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \

View File

@ -830,4 +830,6 @@ INSTANTIATIONS (unsigned long);
INSTANTIATIONS (float);
INSTANTIATIONS (double);
INSTANTIATIONS (long double);
#ifdef _GLIBCPP_USE_WCHAR_T
INSTANTIATIONS (wchar_t);
#endif