summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/c_std/bits/std_cstddef.h
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-10 23:50:39 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-10 23:50:39 +0000
commitc95bb16211a79d1a897ab2b4184608ca8cef818b (patch)
tree2b0d68fe0d88e4667b60241906cee89a82313711 /libstdc++-v3/include/c_std/bits/std_cstddef.h
parent726805978823f288d1ede812c20ada7fb1d9acdc (diff)
downloadppe42-gcc-c95bb16211a79d1a897ab2b4184608ca8cef818b.tar.gz
ppe42-gcc-c95bb16211a79d1a897ab2b4184608ca8cef818b.zip
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* Makefile.am (LIBSUPCXX_INCLUDES): Adjust. * libsupc++/include: Remove * libsupc++/include/*: Move to ... * libsupc++: Here. * libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers. (glibcppinstalldir): New. * src/Makefile.am (c_base_headers): New. (c_shadow_headers): New (c_headers): New. (myinstallheaders): Correct install issues. * src/Makefile.in: Regenerate. * Makefile.am (CSHADOW_INCLUDES): Simplify. * Makefile.in: Regenerate. * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir. * aclocal.m4: Regenerate. * mkcheck.in (SRC_DIR): Use it. * include/bits/std_stdexcept.h: And here. * include/bits/std_ios.h: Change std_exception.h to exception. * src/locale.cc: And here. * src/locale-inst.cc: And here. * include/bits/valarray_array.h: And here. * include/bits/stl_alloc.h: And here. * include/bits/stl_algobase.h: And here. * include/bits/pthread_allocimpl.h: And here. * include/bits/stl_construct.h: Change to std_new.h to new. * include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo. * src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES. (headers): Remove duplicated headers. (std_headers): And here. * src/Makefile.in: Regenerate. * libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove. * libsupc++/Makefile.in: Regenerate. * Makefile.am (LIBSUPCXX_INCLUDES): Add here. (AM_MAKEFLAGS): And here. * Makefile.in: Regenerate. * include/bits/std_typeinfo.h: Remove. * include/bits/std_new.h: Remove * include/bits/std_exception.h: Remove. * std/new: Remove. * std/typeinfo: Remove. * std/exception: Remove. * libio/_G_config.h (__need_ptrdiff_t): Add. * libsupc++/include/new: Change stddef.h to cstddef. * libsupc++/tinfo.h: Change limits.h to climits. * libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this renders the file uncompilable. Add copyright. * include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std namespace, as it is a fundamental type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36833 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/c_std/bits/std_cstddef.h')
-rw-r--r--libstdc++-v3/include/c_std/bits/std_cstddef.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/libstdc++-v3/include/c_std/bits/std_cstddef.h b/libstdc++-v3/include/c_std/bits/std_cstddef.h
index 713253768b1..a0c1f2c0194 100644
--- a/libstdc++-v3/include/c_std/bits/std_cstddef.h
+++ b/libstdc++-v3/include/c_std/bits/std_cstddef.h
@@ -47,12 +47,8 @@ namespace _C_legacy {
# define _IN_C_LEGACY_
# pragma GCC system_header
- // XXX
- // glibc 2.1.x time.h is on crack
-# define __need_wchar_t
-# define __need_ptrdiff_t
-# define __need_size_t
-
+//# define __need_ptrdiff_t
+//# define __need_size_t
# include_next <stddef.h>
}
} // namespace _C_legacy
@@ -64,7 +60,6 @@ namespace _C_legacy {
namespace std {
using _C_legacy::ptrdiff_t;
using _C_legacy::size_t;
- using _C_legacy::wchar_t;
} // namespace std
# undef _IN_C_LEGACY_
@@ -73,7 +68,11 @@ namespace std {
// some names and types with the std:: C++ version.
using std::ptrdiff_t;
using std::size_t;
- using std::wchar_t;
+
+ // 3.9.1 Fundamental Types
+ // p 5
+ // wchar_t is a fundamental type
+ // using std::wchar_t;
# ifdef _STDDEF_NEED_C_LEGACY_
// dive back into the "swamp"
OpenPOWER on IntegriCloud