gen-num-limits.cc: Instantiate for wchar_t.
authorRichard Henderson <rth@redhat.com>
Tue, 20 Mar 2001 19:39:45 +0000 (11:39 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 20 Mar 2001 19:39:45 +0000 (11:39 -0800)
        * src/gen-num-limits.cc: Instantiate for wchar_t.
        * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.

From-SVN: r40666

libstdc++-v3/ChangeLog
libstdc++-v3/config/os/aix/bits/ctype_base.h
libstdc++-v3/src/Makefile.in
libstdc++-v3/src/gen-num-limits.cc

index 7ab9839fc8cff6f0cf036c04e1a656cdd0a9164f..63312e86a596951264ccf8746853f2dd58c1df11 100644 (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.
index 166e5d063072a0c6cbc964dce18c8f1c3e9322f9..ed414408dbb494151a31218eb561ea2995c6790c 100644 (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;
index 9010f3bc4372c16a3a2da05bee31a8cd8cd822ef..e8f36cd8906d80ef563757a5a12985f2df5db6ec 100644 (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 \
index 00dfc850ac676e811218af3706db6d1b35bdde8d..96cd7eab00b872509391fd6933381359ee14af47 100644 (file)
@@ -830,4 +830,6 @@ INSTANTIATIONS (unsigned long);
 INSTANTIATIONS (float);
 INSTANTIATIONS (double);
 INSTANTIATIONS (long double);
-
+#ifdef _GLIBCPP_USE_WCHAR_T
+INSTANTIATIONS (wchar_t);
+#endif