Jason Merrill
afb0141fbd
vterminate.cc (__verbose_terminate_handler): Add leading underscores.
...
* src/vterminate.cc (__verbose_terminate_handler): Add leading
underscores.
From-SVN: r47292
2001-11-23 12:36:43 -05:00
Joseph Myers
c5504edb75
ChangeLog, [...]: Fix spelling errors.
...
* ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html,
docs/html/23_containers/howto.html,
docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
docs/html/27_io/binary_iostreams_kuehl.txt,
docs/html/ext/sgiexts.html, docs/html/faq/index.html,
docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
include/bits/basic_file.h, include/bits/locale_facets.h,
include/bits/locale_facets.tcc, include/bits/std_sstream.h,
include/ext/ropeimpl.h, include/ext/stl_rope.h,
libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
configure.target, ChangeLog-2000: Fix spelling errors.
From-SVN: r47291
2001-11-23 16:29:02 +00:00
Joseph Myers
754d92990a
predict.c, [...]: Fix spelling errors.
...
gcc:
* predict.c, reg-stack.c: Fix spelling errors.
libstdc++-v3:
* config/locale/moneypunct_members_gnu.cc,
include/bits/locale_facets.h: Fix spelling errors.
From-SVN: r47278
2001-11-23 01:37:07 +00:00
Stephen M. Webb
1fc610939a
list_capacity.cc: New file.
...
2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
* testsuite/23_containers/list_capacity.cc: New file.
* testsuite/23_containers/list_ctor.cc: New file.
* testsuite/23_containers/list_modifiers.cc: New file.
* testsuite/23_containers/list_operators.cc: New file.
2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
* include/bits/stl_list.h: Reformatted according to C++STYLE rules.
(size): Replaced nonstandard distance() call with the standard one.
(transfer): Uglified to _M_transfer.
From-SVN: r47277
2001-11-22 19:19:23 +00:00
Paolo Carlini
dcc61724f1
re PR libstdc++/4548 (When reserving a string to become smaller, program crashes)
...
2001-11-21 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/4548
* include/bits/basic_string.tcc (basic_string::reserve): Never shrink
below the current size.
* testsuite/21_strings/capacity.cc (test02): Add test.
From-SVN: r47246
2001-11-21 22:04:53 +00:00
Phil Edwards
1b4a6975f7
Intro.3: More notes.
...
2001-11-19 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/Intro.3: More notes.
* docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
* include/bits/stl_algobase.h: Add doxygen hooks for functions.
* include/ext/hash_map: Add @file hook.
* include/ext/hash_set: Likewise.
* include/ext/rope: Likewise.
* include/ext/ropeimpl.h: Likewise.
* include/ext/slist: Likewise.
* include/ext/stl_hash_fun.h: Likewise.
* include/ext/stl_hashtable.h: Likewise.
* include/ext/stl_rope.h: Likewise.
* docs/html/17_intro/license.html: Remove "experimental" sentence.
* docs/html/19_diagnostics/howto.html: Document new verbose
terminate handler.
* testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
to more visible (closer to description) position.
* libsupc++/eh_type.cc: Formatting tweak.
* libsupc++/exception: Likewise.
* src/vterminate.cc: Likewise.
* docs/html/17_intro/porting.html: Regenerate.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r47193
2001-11-20 00:51:37 +00:00
Jason Merrill
74a3070ffa
eh_personality.cc (__cxa_call_unexpected): Take void*.
...
* libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
* libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
* libsupc++/unwind-cxx.h: Adjust.
* src/Makefile.am (strstream.o): Pass -Wno-deprecated.
* libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
* libsupc++/cxxabi.h: Declare it.
* libsupc++/Makefile.am (sources): Add it.
* src/vterminate.cc (verbose_terminate_handler): New file.
* libsupc++/exception: Declare it.
* src/Makefile.am (sources): Add it.
* src/Makefile.am (VPATH): Check the src directory before the top one.
From-SVN: r47132
2001-11-17 21:09:23 -05:00
Paolo Carlini
9c8e9f6296
stl_deque.h (deque::erase()): Fix memory leak.
...
2001-11-16 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_deque.h (deque::erase()): Fix memory leak.
From-SVN: r47103
2001-11-16 21:00:59 +00:00
Loren J. Rittle
7dd4ba48c4
howto.html (Thread-safety): Rename section to ``The Standard C++ library and multithreading'' and update...
...
* docs/html/17_intro/howto.html (Thread-safety): Rename
section to ``The Standard C++ library and multithreading'' and
update information based on recent mailing list traffic. Move
all discussion of __USE_MALLOC to...
* docs/html/23_containers/howto.html (Containers and multithreading):
...here and rework it based on recent mailing list traffic.
From-SVN: r47102
2001-11-16 20:59:10 +00:00
Loren J. Rittle
87bc7fa6aa
index.html (Is libstdc++-v3 thread-safe?): Clarify wording.
...
* docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
wording.
From-SVN: r47045
2001-11-15 09:06:14 +00:00
Bjørn Wennberg
2a692463e5
stl_alloc.h (alloc): Update to use __mem_interface.
...
libstc++/4219
* include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
(single_client_alloc): Likewise.
From-SVN: r47044
2001-11-15 08:52:23 +00:00
Danny Smith
944effb637
configure.target: Add os_include_dir for mingw32* target.
...
* configure.target: Add os_include_dir for mingw32* target.
* docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting from
_GLIBCPP_AVOID_FSEEK.
* config/os/mingw32/bits/ctype_base.h: New file.
* config/os/mingw32/bits/ctype_inline.h: New file.
* config/os/mingw32/bits/ctype_noninline.h: New file.
* config/os/mingw32/bits/os_defines.h: New file.
From-SVN: r46857
2001-11-08 20:52:29 +00:00
Nathan Myers
2dac8f87e8
index.html (5.8): New entry on ABIs.
...
2001-11-07 Nathan Myers <ncm@cantrip.org>
* docs/html/faq/index.html (5.8): New entry on ABIs.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r46836
2001-11-07 21:08:53 +00:00
Phil Edwards
64ef1ee2d5
index.html: Explain libsupc++, mention 'long long' bugfixes on Solaris.
...
2001-11-07 Phil Edwards <pme@gcc.gnu.org>
* docs/html/faq/index.html: Explain libsupc++, mention 'long long'
bugfixes on Solaris.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r46828
2001-11-07 16:47:39 +00:00
Phil Edwards
f448ac15ff
acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in LANG_CPLUSPLUS mode.
...
2001-11-06 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
LANG_CPLUSPLUS mode.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r46815
2001-11-06 22:50:50 +00:00
Phil Edwards
eb6e2e5bef
porting.texi: Move...
...
2001-11-05 Phil Edwards <pme@gcc.gnu.org>
* porting.texi: Move...
* docs/html/17_intro/porting.texi: ...to here.
* docs/html/Makefile: Add rule to rebuild...
* docs/html/17_intro/porting.html: ...this. New file.
From-SVN: r46797
2001-11-06 00:18:37 +00:00
Felix Natter
a5356269d3
porting-howto.xml: check in v0.9.4
...
2001-11-05 Felix Natter <fnatter@gmx.net>
* docs/html/17_intro/porting-howto.xml: check in v0.9.4
* docs/html/17_intro/porting-howto.html: regenerate
From-SVN: r46793
2001-11-05 21:54:43 +00:00
Loren J. Rittle
1b5e9d7e1b
stl_threads.h (_Atomic_swap): Only enable path when platform supports __GTHREAD_MUTEX_INIT.
...
* include/bits/stl_threads.h (_Atomic_swap): Only enable path
when platform supports __GTHREAD_MUTEX_INIT.
From-SVN: r46725
2001-11-02 22:59:46 +00:00
Phil Edwards
222485455e
acconfig.h: Update comments.
...
2001-11-02 Phil Edwards <pme@gcc.gnu.org>
* acconfig.h: Update comments.
* acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
(GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* include/bits/boost_concept_check.h: Unconditionally compile uses
of 'long long' which require only compiler support, not C lib support.
* include/bits/cpp_type_traits.h: Likewise.
* include/bits/std_limits.h: Likewise.
* include/bits/type_traits.h: Likewise.
* src/concept-inst.cc: Likewise.
* src/limits.cc: Likewise.
* include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
instead of _GLIBCPP_USE_LONG_LONG.
* include/c_shadow/bits/std_cstdlib.h: Likewise.
From-SVN: r46723
2001-11-02 22:31:03 +00:00
Phil Edwards
729e3d3f01
c_io_stdio.h: Correct grammar in comments.
...
2001-11-02 Phil Edwards <pme@gcc.gnu.org>
* config/io/c_io_stdio.h: Correct grammar in comments.
* docs/doxygen/Intro.3: Expand "top-level" man page.
* docs/doxygen/doxygroups.cc: New module definitions (comments).
* docs/doxygen/mainpage.doxy: Tweaks.
* docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
Add @file hooks so that headers are considered to be documented.
* include/bits/basic_ios.h, include/bits/basic_file.h,
include/bits/basic_string.h, include/bits/boost_concept_check.h,
include/bits/char_traits.h, include/bits/codecvt.h,
include/bits/concept_check.h, include/bits/cpp_type_traits.h,
include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
include/bits/indirect_array.h, include/bits/ios_base.h,
include/bits/locale_facets.h, include/bits/localefwd.h,
include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
include/bits/slice.h, include/bits/slice_array.h,
include/bits/std_algorithm.h, include/bits/std_bitset.h,
include/bits/std_complex.h, include/bits/std_deque.h,
include/bits/std_fstream.h, include/bits/std_functional.h,
include/bits/std_iomanip.h, include/bits/std_ios.h,
include/bits/std_iosfwd.h, include/bits/std_iostream.h,
include/bits/std_istream.h, include/bits/std_iterator.h,
include/bits/std_limits.h, include/bits/std_list.h,
include/bits/std_locale.h, include/bits/std_map.h,
include/bits/std_memory.h, include/bits/std_numeric.h,
include/bits/std_ostream.h, include/bits/std_queue.h,
include/bits/std_set.h, include/bits/std_sstream.h,
include/bits/std_stack.h, include/bits/std_streambuf.h,
include/bits/std_string.h, include/bits/std_utility.h,
include/bits/std_valarray.h, include/bits/std_vector.h,
include/bits/stl_algo.h, include/bits/stl_alloc.h,
include/bits/stl_bvector.h, include/bits/stl_construct.h,
include/bits/stl_deque.h, include/bits/stl_heap.h,
include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
include/bits/stl_map.h, include/bits/stl_multimap.h,
include/bits/stl_multiset.h, include/bits/stl_numeric.h,
include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
include/bits/stl_relops.h, include/bits/stl_set.h,
include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
include/bits/stl_threads.h, include/bits/stl_tree.h,
include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
include/bits/stringfwd.h, include/bits/type_traits.h,
include/bits/valarray_array.h, include/bits/valarray_meta.h:
Add hooks, tweak comments only.
* include/bits/stl_algobase.h (swap, min, iter_swap): Also
document these functions.
* include/bits/stl_function.h: Tweak link comments.
From-SVN: r46717
2001-11-02 17:38:11 +00:00
Paolo Carlini
2dc8835ac8
ios_manip_fmtflags.cc: Fix for non-interactive output.
...
2001-11-01 Paolo Carlini <pcarlini@unitus.it>
Benjamin Kosnik <bkoz@redhat.com>
* testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
output.
* include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r46709
2001-11-02 03:48:09 +00:00
Egor Duda
b8a2a84bbe
ctype_noninline.h (ctype<char>::do_toupper(char __c)): Check for proper character class.
...
2001-11-01 Egor Duda <deo@logos-m.ru>
* config/os/newlib/bits/ctype_noninline.h
(ctype<char>::do_toupper(char __c)): Check for proper character class.
(ctype<char>::do_tolower(char __c)): Ditto.
From-SVN: r46708
2001-11-02 02:37:44 +00:00
Gabriel Dos Reis
2643b009f9
* include/bits/std_complex.h (abs): Fix thinko.
...
From-SVN: r46700
2001-11-01 18:42:13 +00:00
Phil Edwards
4d16bdbbf6
re PR libstdc++/3666 (Invalid concept-checking code.)
...
2001-11-01 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4: Fix spacing.
(GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
* configure.in: Call here.
* acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
* include/bits/boost_concept_check.h: Fix headers.
(__function_requires): Make inline.
* include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
Move trailing ';' inside macro, PR libstdc++/3666.
* include/bits/concept_check.h: Add semicolon.
* include/bits/stl_algo.h: Remove semicolon.
* include/bits/stl_algobase.h: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_heap.h: Likewise.
* include/bits/stl_iterator_base_funcs.h: Likewise.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_map.h: Likewise.
* include/bits/stl_multimap.h: Likewise.
* include/bits/stl_multiset.h: Likewise.
* include/bits/stl_numeric.h: Likewise.
* include/bits/stl_queue.h: Likewise.
* include/bits/stl_set.h: Likewise.
* include/bits/stl_stack.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/ext/hash_map: Likewise.
* include/ext/hash_set: Likewise.
* include/ext/slist: Likewise.
* src/concept-inst.cc: New file with explicit instantiations.
* src/Makefile.am (sources): Add here, with special build rules.
* src/Makefile.in: Regenerate.
From-SVN: r46697
2001-11-01 15:46:48 +00:00
Gabriel Dos Reis
b522a9ce44
* include/bits/std_complex.h (abs): Tweak.
...
From-SVN: r46693
2001-11-01 15:01:07 +00:00
Gabriel Dos Reis
3c4e7c5081
std_complex.h (_Norm_helper): New class template.
...
* include/bits/std_complex.h (_Norm_helper): New class template.
(norm): Tweak.
From-SVN: r46690
2001-11-01 11:00:57 +00:00
Benjamin Kosnik
c7e2dba59a
codecvt.h: Add virtual member function declarations.
...
2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/4749
* include/bits/codecvt.h: Add virtual member function declarations.
* src/codecvt.cc: Tweaks.
* testsuite/22_locale/codecvt.cc: Test compilation only,
non-required facets not required to have linkage.
From-SVN: r46685
2001-10-31 20:05:33 +00:00
Edward E. Meyer
51ad6d81f4
std_complex.h (complex::operator/=): Correct sign.
...
2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
libstdc++/4622
* include/bits/std_complex.h (complex::operator/=): Correct sign.
From-SVN: r46675
2001-10-31 08:45:57 +00:00
Paolo Carlini
9a304d1766
basic_string.h: Tweaks.
...
2001-10-30 Paolo Carlini <pcarlini@unitus.it>
Benjamin Kosnik <bkoz@redhat.com>
* include/bits/basic_string.h: Tweaks.
* include/bits/basic_string.tcc (string::_M_replace(iterator,
iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
* src/string-inst.cc: Tweaks, add instantiation.
* testsuite/21_strings/replace.cc (test02): Add test.
* testsuite/21_strings/assign.cc (test01): New file.
0
Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r46674
2001-10-31 08:27:20 +00:00
Jakub Jelinek
6446106eb7
stl_deque.h (_M_new_elements_at_front): Use __throw_exception_again.
...
* include/bits/stl_deque.h (_M_new_elements_at_front): Use
__throw_exception_again.
(_M_new_elements_at_back): Likewise.
From-SVN: r46647
2001-10-30 19:14:20 +01:00
Benjamin Kosnik
99e9125d77
fstream.tcc (filebuf::showmanyc): Simplify.
...
2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/3647
* include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
* testsuite/27_io/filebuf.cc (test07): New test.
(test03): Modify showmanyc test.
From-SVN: r46610
2001-10-29 19:29:29 +00:00
Benjamin Kosnik
1a808622b6
2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
...
libstdc++/4503
* config/locale/codecvt_specializations_ieee_1003.1-200x.h
(__enc_traits::~__enc_traits): Fix.
(__enc_traits::_M_init): Add error checking.
From-SVN: r46532
2001-10-26 07:21:56 +00:00
Benjamin Kosnik
013e8d9783
locale_facets.tcc (time_get::_M_extract_name): Fix.
...
2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/4542
* include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
From-SVN: r46529
2001-10-26 06:23:47 +00:00
Benjamin Kosnik
6cf5465d43
[multiple changes]
...
2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/4545
* include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
exceptions.
* include/bits/istream.tcc (istream::operator>>(streambuf*): Make
consistent, where possible.
* include/bits/streambuf.tcc: Tweak.
2001-10-25 Brendan Kehoe <brendan@zen.org>
libstdc++/4536
* bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
* bits/istream.tcc (seekg): Likewise.
From-SVN: r46528
2001-10-26 05:32:06 +00:00
Benjamin Kosnik
e37beb47ba
os_defines.h: Set to 64 bit longs with __s390x__ only.
...
2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
__s390x__ only.
* include/bits/std_limits.h: Fix wchar_t issues.
* config/os/aix/bits/os_defines.h: Fix.
Co-Authored-By: Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
Co-Authored-By: Ulrich Weigand <uweigand@de.ibm.com>
From-SVN: r46523
2001-10-26 02:13:31 +00:00
Benjamin Kosnik
1403221a88
locale_facets.tcc (collate::do_transform): Fix.
...
2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc (collate::do_transform): Fix.
From-SVN: r46500
2001-10-25 22:56:07 +00:00
Phil Edwards
f456d34528
documentation.html: Fix typo.
...
2001-10-25 Phil Edwards <pme@gcc.gnu.org>
* docs/html/documentation.html: Fix typo.
From-SVN: r46497
2001-10-25 21:17:34 +00:00
Benjamin Kosnik
322821b9ad
Make -fno-exceptions work.
...
2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
Make -fno-exceptions work.
* config/locale/c_locale_gnu.cc: Use functexcept.
* include/bits/c++config (__stl_assert): Remove.
(__STL_USE_EXCEPTIONS): Same.
(__STL_TRY): Same.
(__STL_CATCH_ALL): Same.
(__STL_THROW): Same.
(__STL_RETHROW): Same.
(__STL_NOTHROW): Same.
(__STL_UNWIND): Same.
* include/bits/pthread_allocimpl.h: Fix.
* include/bits/std_bitset.h: Same.
* include/bits/std_list.h: Same.
* include/bits/std_memory.h: Same.
* include/bits/std_queue.h: Same.
* include/bits/stl_alloc.h: Same.
* include/bits/stl_deque.h: Same.
* include/bits/stl_list.h: Same.
* include/bits/stl_queue.h: Same.
* include/bits/stl_tempbuf.h: Same.
* include/bits/stl_tree.h: Same.
* include/bits/stl_uninitialized.h: Same.
* include/bits/stl_vector.h: Same.
* include/ext/ropeimpl.h: Same.
* include/ext/slist: Same.
* include/ext/stl_hashtable.h: Same.
* include/ext/stl_rope.h: Same.
* libsupc++/new_op.cc: Include cstdlib.
* libsupc++/eh_personality.cc: Add exception_defines include. Use
__throw_exception_again, tweak.
* libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
* libsupc++/vec.cc: Tweak.
* src/functexcept.cc: Remove unused arguments.
* testsuite/23_containers/bitset_members.cc: Tweak.
From-SVN: r46455
2001-10-24 02:37:56 +00:00
Benjamin Kosnik
f295ecef02
limits.h: Move to...
...
2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
* config/cpu/i386/bits/limits.h: Move to...
* config/cpu/i386/bits/cpu_limits.h: ...here.
* config/cpu/cris/bits/cpu_limits.h: Same.
* config/cpu/powerpc/bits/cpu_limits.h: Same.
* config/cpu/x86-64/bits/cpu_limits.h: Same.
* config/cpu/alpha/bits/cpu_limits.h: New.
* config/cpu/m68k/bits/cpu_limits.h: New.
* config/cpu/s390/bits/cpu_limits.h: New.
* config/os/aix/bits/os_defines.h: Tweaks.
* config/os/bsd/freebsd/bits/os_defines.h: Same.
* config/os/bsd/netbsd/bits/os_defines.h: Same.
* config/os/djgpp/bits/os_defines.h: Same.
* config/os/generic/bits/os_defines.h: Same.
* config/os/gnu-linux/bits/os_defines.h: Same.
* config/os/hpux/bits/os_defines.h: Same.
* config/os/irix/irix5.2/bits/os_defines.h: Same.
* config/os/irix/irix6.5/bits/os_defines.h: Same.
* config/os/newlib/bits/os_defines.h: Same.
* config/os/solaris/solaris2.5/bits/os_defines.h: Same.
* config/os/solaris/solaris2.6/bits/os_defines.h: Same.
* config/os/solaris/solaris2.7/bits/os_defines.h: Same.
* include/bits/c++config: Remove include.
* include/bits/limits_generic.h: Remove.
* include/bits/std_limits.h: Include cpu_limits.h.
* include/Makefile.am: Fixup.
* src/limits.cc: Tweak.
* src/limits_generic.cc: Remove.
* src/gen-num-limits.cc: Remove.
* mknumeric_limits: Remove.
From-SVN: r46445
2001-10-23 21:40:31 +00:00
Hans-Peter Nilsson
fe90b4e623
Tweak last entry to that of the type_traits.h commit message
...
From-SVN: r46388
2001-10-20 19:45:41 +00:00
Brendan Kehoe
8829f27a76
type_traits.h (__Boolean): Renamed template from _Bool.
...
2001-10-20 Brendan Kehoe <brendan@zen.org>
* include/bits/type_traits.h (__Boolean): Renamed template from _Bool.
(__true_type, __false_type): Change usage.
* src/string-inst.cc (__destroy_aux): Change third parm to be
__false_type instead of _Bool<false>.
* src/misc-inst.cc (__uninitialized_fill_n_aux,
__uninitialized_copy_aux): Likewise.
From-SVN: r46387
2001-10-20 19:28:50 +00:00
Benjamin Kosnik
69bcf12417
mkcheck.in (static_fail): Remove older memory limit functionality.
...
2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
* mkcheck.in (static_fail): Remove older memory limit functionality.
Disable E_TIME due to formatting issues.
* README: Update.
From-SVN: r46367
2001-10-19 23:05:15 +00:00
Benjamin Kosnik
d51feceac1
std_complex.h: Default initialize second argument of polar to 0, as specified in Library DR #79
...
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/std_complex.h: Default initialize second argument
of polar to 0, as specified in Library DR #79
From-SVN: r46354
2001-10-19 18:43:34 +00:00
Brendan Kehoe
ba317c5236
[multiple changes]
...
2001-08-19 Brendan Kehoe <brendan@zen.org>
* include/bits/std_complex.h: Default initialize second argument
of polar to 0, as specified in Library DR #79
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/stl_raw_storage_iter.h (operator=): Fix to call
_Construct instead of construct.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/basic_string.tcc (find_first_not_of): Take out check for
__n being non-zero, since the standard does not mandate that.
e.g., a search for "" in "" should yield position 0, not npos.
(find_last_not_of): Likewise.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/stl_iterator.h (reverse_iterator::current): Rename
member from _M_current, and change all uses; thus sayeth $24.4.1.1.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/stl_algo.h (partial_sort): Add missing `>' on the
template parameter _ValueType.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/std_limits.h: Clean up extra semicolons.
* include/bits/locale_facets.h: Likewise.
* include/bits/type_traits.h: Likewise.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
* include/bits/locale_facets.tcc (locale::combine): Likewise.
From-SVN: r46353
2001-10-19 18:39:00 +00:00
Benjamin Kosnik
1ab8a33ed5
locale_facets.h (__timepunct::_M_put_helper): Declare specializations for char, wchar_t.
...
2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (__timepunct::_M_put_helper):
Declare specializations for char, wchar_t.
From-SVN: r46346
2001-10-19 09:35:19 +00:00
Andreas Jaeger
aa3340ba2a
* configure.target: Add x86-64.
...
From-SVN: r46343
2001-10-19 08:34:23 +02:00
Phil Edwards
aa2a8516ce
howto.html: Remove 1999 links (and explain why).
...
2001-10-17 Phil Edwards <pme@gcc.gnu.org>
* docs/html/17_intro/howto.html: Remove 1999 links (and explain
why). Add link to recent message.
* docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
markup.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r46321
2001-10-17 18:14:58 +00:00
Loren J. Rittle
cb580d5cac
index.html (Is libstdc++-v3 thread-safe?): Update based on Nathan's review.
...
* docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
based on Nathan's review. Use Nathan's words.
From-SVN: r46238
2001-10-13 00:06:21 +00:00
Matt Kraai
94e091c833
configopts.html: Quote StyleSheet attribute values.
...
* docs/html/configopts.html: Quote StyleSheet attribute values.
* docs/html/documentation.html: Likewise.
* docs/html/explanations.html: Likewise.
* docs/html/install.html: Likewise.
* docs/html/17_intro/howto.html: Likewise.
* docs/html/17_intro/license.html: Likewise.
* docs/html/18_support/howto.html: Likewise.
* docs/html/19_diagnostics/howto.html: Likewise.
* docs/html/20_util/howto.html: Likewise.
* docs/html/21_strings/howto.html: Likewise.
* docs/html/22_locale/howto.html: Likewise.
* docs/html/23_containers/howto.html: Likewise.
* docs/html/24_iterators/howto.html: Likewise.
* docs/html/25_algorithms/howto.html: Likewise.
* docs/html/26_numerics/howto.html: Likewise.
* docs/html/27_io/howto.html: Likewise.
* docs/html/ext/howto.html: Likewise.
* docs/html/ext/sgiexts.html: Likewise.
* docs/html/faq/index.html: Likewise.
From-SVN: r46194
2001-10-11 18:41:47 +00:00
Loren J. Rittle
ac3636f297
index.html (Is libstdc++-v3 thread-safe?): Rewrite.
...
* docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
* docs/html/23_containers/howto.html (Containers and multithreading):
Update.
From-SVN: r46175
2001-10-11 06:07:50 +00:00
Phil Edwards
60741f92b6
howto.html: Tweak markup and value type.
...
2001-10-09 Phil Edwards <pme@gcc.gnu.org>
* docs/html/17_intro/howto.html: Tweak markup and value type.
* docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
nonzero arguments, add new note on threading.
* docs/html/faq/index.html: Update.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r46130
2001-10-09 22:23:52 +00:00
Phil Edwards
0435269a76
configopts.html: More HTML->XHTML and lowercasing of tags.
...
2001-10-09 Phil Edwards <pme@gcc.gnu.org>
* docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
* docs/html/documentation.html: Likewise.
* docs/html/explanations.html: Likewise.
* docs/html/install.html: Likewise.
* docs/html/17_intro/howto.html: Likewise.
* docs/html/17_intro/license.html: Likewise. Tighten up language.
* docs/html/18_support/howto.html: Likewise.
* docs/html/19_diagnostics/howto.html: Likewise.
* docs/html/20_util/howto.html: Likewise.
* docs/html/21_strings/howto.html: Likewise.
* docs/html/22_locale/howto.html: Likewise.
* docs/html/23_containers/howto.html: Likewise.
* docs/html/24_iterators/howto.html: Likewise.
* docs/html/25_algorithms/howto.html: Likewise.
* docs/html/26_numerics/howto.html: Likewise.
* docs/html/27_io/howto.html: Likewise.
* docs/html/ext/howto.html: Likewise.
* docs/html/ext/sgiexts.html: Likewise.
* docs/html/faq/index.html: Likewise. Not so many absolute links.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r46128
2001-10-09 20:18:14 +00:00
Joseph Myers
cc712abf04
acinclude.m4: Fix spelling error of "separate" as "seperate".
...
config:
* acinclude.m4: Fix spelling error of "separate" as "seperate".
gcc:
* ChangeLog.2, c-decl.c, config/i386/i386.md, doc/gcc.texi, gcc.c,
genmultilib, toplev.c: Fix spelling errors of "separate" as
"seperate", and corresponding spelling errors of related words.
gcc/ada:
* 5oosinte.adb: Fix spelling error of "separate" as "seperate".
gcc/testsuite:
* gcc.c-torture/unsorted/unsorted.exp, lib/file-format.exp: Fix
spelling errors of "separate" as "seperate".
libffi:
* src/x86/ffi.c: Fix spelling error of "separate" as "seperate".
libjava:
* defineclass.cc, java/awt/image/ColorModel.java,
java/awt/image/SampleModel.java, java/lang/Package.java,
java/security/cert/X509Extension.java: Fix spelling errors of
"separate" as "seperate", and corresponding spelling errors of
related words.
libstdc++-v3:
* docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
spelling errors of "separate" as "seperate", and corresponding
spelling errors of related words.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r46063
2001-10-07 19:02:46 +01:00
Phil Edwards
744ee8b72b
atomicity.h (__compare_and_swap): Remove unused function.
...
2001-10-05 Phil Edwards <pme@gcc.gnu.org>
* config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
unused function.
* config/cpu/arm/bits/atomicity.h: Likewise.
* config/cpu/generic/bits/atomicity.h: Likewise.
* config/cpu/i486/bits/atomicity.h: Likewise.
* config/cpu/ia64/bits/atomicity.h: Likewise.
* config/cpu/mips/bits/atomicity.h: Likewise.
* config/cpu/powerpc/bits/atomicity.h: Likewise.
* config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
* config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
From-SVN: r46038
2001-10-05 18:43:43 +00:00
Phil Edwards
8a0915a4d3
index.html: Describe DR #22 , and a workaround.
...
2001-10-04 Phil Edwards <pme@gcc.gnu.org>
* docs/html/faq/index.html: Describe DR #22 , and a workaround.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r46016
2001-10-04 20:10:46 +00:00
Phil Edwards
c9fe10db6b
COPYING.DOC: New file, GFDL v1.1 from the FSF.
...
2001-10-04 Phil Edwards <pme@gcc.gnu.org>
* docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
* docs/html/17_intro/license.html: New file. Explain the licenses
in use.
* docs/html/configopts.html: Link to license.html.
* docs/html/documentation.html: Likewise.
* docs/html/explanations.html: Likewise.
* docs/html/install.html: Likewise.
* docs/html/17_intro/howto.html: Likewise.
* docs/html/18_support/howto.html: Likewise.
* docs/html/19_diagnostics/howto.html: Likewise.
* docs/html/20_util/howto.html: Likewise.
* docs/html/21_strings/howto.html: Likewise.
* docs/html/22_locale/howto.html: Likewise.
* docs/html/23_containers/howto.html: Likewise.
* docs/html/24_iterators/howto.html: Likewise.
* docs/html/25_algorithms/howto.html: Likewise.
* docs/html/26_numerics/howto.html: Likewise.
* docs/html/27_io/howto.html: Likewise.
* docs/html/ext/howto.html: Likewise.
* docs/html/ext/sgiexts.html: Likewise.
* docs/html/faq/index.html: Likewise. New question, linking to
the new license.html.
From-SVN: r46015
2001-10-04 20:03:22 +00:00
Phil Edwards
f79297a2fa
howto.html: Fix mis-sed in header from 20010917.
...
2001-10-04 Phil Edwards <pme@gcc.gnu.org>
* docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
* docs/html/18_support/howto.html: Likewise.
* docs/html/19_diagnostics/howto.html: Likewise.
* docs/html/20_util/howto.html: Likewise.
* docs/html/21_strings/howto.html: Likewise.
* docs/html/22_locale/howto.html: Likewise.
* docs/html/23_containers/howto.html: Likewise.
* docs/html/24_iterators/howto.html: Likewise.
* docs/html/25_algorithms/howto.html: Likewise.
* docs/html/26_numerics/howto.html: Likewise.
* docs/html/27_io/howto.html: Likewise.
* docs/html/ext/howto.html: Likewise.
* docs/html/faq/index.html: Likewise. Spacing fix.
From-SVN: r46014
2001-10-04 19:54:54 +00:00
Dimitris Vyzovitis
8bf4eeece3
stl_threads.h (_Atomic_swap): New function.
...
* include/bits/stl_threads.h (_Atomic_swap): New function.
(_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
* testsuite/ext/rope.cc: New file.
From-SVN: r45999
2001-10-03 21:19:31 +00:00
Benjamin Kosnik
da5c0f6ef5
time_members_gnu.h: Remove.
...
2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/time_members_gnu.h: Remove.
* config/locale/time_members_generic.h: Remove.
* config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
* config/locale/time_members_generic.cc: Same.
* include/bits/locale_facets.h: Add data members.
(__timepunct::_M_put_helper): Change signature.
(__timepunct::_M_date_formats): Same.
(__timepunct::_M_time_formats): Same.
(__timepunct::_M_ampm): Add.
(__timepunct::_M_date_time_formats): Add.
(time_get::_M_extract_via_format): Add.
(time_get::_M_extract_time): Change to...
(time_get::_M_extract_num): ... this, modify signature.
* include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
(time_get::do_get_time): Fix.
(time_get::do_get_date): Fix.
* acinclude.m4: Remove CTIME_H.
* aclocal.m4: Regenerate.
* include/Makefile.am: Same.
* include/Makefile.in: Regenerate.
* configure: Regenerate.
* testsuite/22_locale/time_get_members_char.cc: Fix.
* testsuite/22_locale/time_get_members_wchar_t.cc: Add.
* testsuite/22_locale/time_put_members_wchar_t.cc: Add.
From-SVN: r45966
2001-10-02 18:44:50 +00:00
Hans-Peter Nilsson
be55d07d6f
* config/cpu/cris/bits/atomicity.h: Correct file header.
...
From-SVN: r45929
2001-10-01 16:57:44 +00:00
Hans-Peter Nilsson
a78a69ba79
configure.target (LIMITSH): Set for cris.
...
* configure.target (LIMITSH): Set for cris.
(cpu_include_dir): Set for cris-*-*.
* config/cpu/cris/bits/atomicity.h: New file.
* config/cpu/cris/bits/limits.h: New file.
From-SVN: r45882
2001-09-29 16:49:20 +00:00
Benjamin Kosnik
1ab656771a
time_members_gnu.h (__timepunct::_M_get_helper): Add.
...
2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
(__timepunct::_M_put_helper): Add.
* config/locale/time_members_generic.h: Same.
* include/bits/locale_facets.h (__match_parallel): Remove. Format.
(__timepunct): Add data members.
(__timepunct::_M_days): Add.
(__timepunct::_M_days_abbreviated): Add.
(__timepunct::_M_months): Add.
(__timepunct::_M_months_abbreviated): Add.
(__timepunct::_M_initialize_timepunct): Add.
* include/bits/locale_facets.tcc: Same.
* src/locale-inst.cc: Remove instantiations for __match_parallel.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
* testsuite/22_locale/time_put_members_char.cc (test01): New file.
* testsuite/22_locale/time_get.cc: New file.
From-SVN: r45868
2001-09-28 23:44:48 +00:00
Rainer Orth
c20d89f553
libstdc++-v3-dg.exp (libstdc++-v3-init): Use correct multilib builddir.
...
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
correct multilib builddir.
Properly locate libgcc_s.
From-SVN: r45864
2001-09-28 19:42:12 +00:00
Phil Edwards
2f9d51b858
*: Add Doxygen hooks.
...
2001-09-27 Phil Edwards <pme@gcc.gnu.org>
* include/std/*: Add Doxygen hooks.
* docs/doxygen/Intro.3: New file, general intro to the man pages.
* docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
rather than using a generated index.
* docs/doxygen/user.cfg.in: Disable the index, enable man pages.
* docs/doxygen/run_doxygen: Massage the generated man pages, using...
* docs/doxygen/stdheader.cc: ...this new file.
From-SVN: r45850
2001-09-27 22:44:24 +00:00
Stan Shebs
8ddad08b9e
Makefile.am: Remove RCS Id strings.
...
* include/Makefile.am: Remove RCS Id strings.
* src/Makefile.am: Ditto.
* docs/doxygen/run_doxygen: Ditto.
* docs/html/configopts.html: Ditto.
* docs/html/documentation.html: Ditto.
* docs/html/explanations.html: Ditto.
* docs/html/install.html: Ditto.
* docs/html/17_intro/howto.html: Ditto.
* docs/html/18_support/howto.html: Ditto.
* docs/html/19_diagnostics/howto.html: Ditto.
* docs/html/20_util/howto.html: Ditto.
* docs/html/21_strings/howto.html: Ditto.
* docs/html/22_locale/howto.html: Ditto.
* docs/html/23_containers/howto.html: Ditto.
* docs/html/24_iterators/howto.html: Ditto.
* docs/html/25_algorithms/howto.html: Ditto.
* docs/html/26_numerics/howto.html: Ditto.
* docs/html/27_io/howto.html: Ditto.
* docs/html/ext/howto.html: Ditto.
* docs/html/ext/sgiexts.html: Ditto.
* docs/html/faq/index.html: Ditto.
* docs/html/faq/index.txt: Ditto.
From-SVN: r45836
2001-09-27 00:48:01 +00:00
Phil Edwards
4c1805d702
c_strings.cc (test01, test02): Increase `carray' size.
...
2001-09-25 Phil Edwards <pme@gcc.gnu.org>
* testsuite/21_strings/c_strings.cc (test01, test02): Increase
`carray' size.
From-SVN: r45817
2001-09-26 01:45:49 +00:00
Phil Edwards
77cd227ec3
howto.html: Add anchor name.
...
2001-09-25 Phil Edwards <pme@gcc.gnu.org>
* docs/html/20_util/howto.html: Add anchor name.
* docs/html/23_containers/howto.html: Line wrapping, another link.
* docs/html/25_algorithms/howto.html: Another note.
* docs/html/ext/howto.html: Link to SGI extensions. List DRs and
link to them...
* docs/html/ext/lwg-active.html: ...in this new file (from R19),
* docs/html/ext/lwg-defects.html: and this new file (from R19).
* docs/html/ext/sgiexts.html: New file. Mention SGI extensions
carried over to libstdc++-v3.
* docs/html/faq/index.html: Link to SGI extensions. Mention the
"missing .." pseudobug.
* docs/html/faq/index.txt: Regenerate.
* include/bits/ios_base.h: DR-related comment cleanup.
* include/bits/istream.tcc: Likewise.
* include/bits/locale_facets.h: Likewise.
* include/bits/locale_facets.tcc: Likewise.
* include/bits/ostream.tcc: Likewise.
* include/bits/std_bitset.h: Likewise.
* include/bits/std_iosfwd.h: Likewise.
* include/bits/std_istream.h: Likewise.
* include/bits/std_ostream.h: Likewise.
* include/bits/std_streambuf.h: Likewise.
* include/bits/stl_pair.h: Likewise.
* include/bits/streambuf_iterator.h: Likewise.
* include/bits/std_map.h: Remove unused header inclusion guard
_CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
* include/bits/std_set.h: Likewise.
* include/bits/stl_function.h: Doxygen markup.
* docs/doxygen/doxygroups.cc: New file, specifying module grouping.
* libsupc++/typeinfo: Doxygen markup tweak.
From-SVN: r45816
2001-09-25 23:51:17 +00:00
Benjamin Kosnik
5b66fcf9a9
[multiple changes]
...
2001-09-20 Scott Johnston <scott@accom.com>
Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* include/backward/alloc.h: Conditionally define malloc_alloc
* testsuite/backward/header_deque_h.cc: New file.
2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
* libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
change variable name so that it works with -fno-for-scope.
From-SVN: r45704
2001-09-20 09:48:24 +00:00
Benjamin Kosnik
9a92330f24
numpunct_members_char.cc (test01): Remove redundant sanity checks.
...
2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/numpunct_members_char.cc (test01): Remove
redundant sanity checks.
* testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
(test02): Same.
* testsuite/22_locale/money_put_members_char.cc (test01): Same.
(test02): Same.
* testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
* testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
* testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
(test02): Same.
* testsuite/22_locale/money_get_members_char.cc (test01): Same.
(test02): Same.
From-SVN: r45703
2001-09-20 09:07:37 +00:00
Benjamin Kosnik
e08138aae3
Implement std::time_put.
...
2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
Implement std::time_put.
* include/bits/locale_facets.h: Include time_members.h.
(__timepunct): New.
(time_put): Implement.
* include/bits/locale_facets.tcc (do_put): Put generic versions here.
* include/bits/localefwd.h: Bump number of facets.
* config/locale/time_members_generic.h: New file.
* config/locale/time_members_gnu.h: New file.
* config/locale/c_locale_generic.h: Include clocale.
* src/locale-inst.cc: Add use_facet instantiations for __timepunct.
* src/locale.cc: Add __timepunct initializations.
* src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
* include/Makefile.am (stamp-target): Add time_members.h.
* include/Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/22_locale/time_put.cc: New file.
* testsuite/22_locale/time_put_members_char.cc: New file.
* docs/html/22_locale/locale.html: Add note.
From-SVN: r45702
2001-09-20 08:30:01 +00:00
Phil Edwards
5d5e5e4e42
configopts.html: HTML to XHTML change.
...
2001-09-17 Phil Edwards <pme@gcc.gnu.org>
* docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
* docs/html/documentation.html: Likewise.
* docs/html/explanations.html: Likewise.
* docs/html/install.html: Likewise.
* docs/html/17_intro/howto.html: Likewise.
* docs/html/18_support/howto.html: Likewise.
* docs/html/19_diagnostics/howto.html: Likewise.
* docs/html/20_util/howto.html: Likewise.
* docs/html/21_strings/howto.html: Likewise.
* docs/html/22_locale/codecvt.html: Likewise.
* docs/html/22_locale/ctype.html: Likewise.
* docs/html/22_locale/howto.html: Likewise.
* docs/html/22_locale/locale.html: Likewise.
* docs/html/22_locale/messages.html: Likewise.
* docs/html/23_containers/howto.html: Likewise.
* docs/html/24_iterators/howto.html: Likewise.
* docs/html/25_algorithms/howto.html: Likewise.
* docs/html/26_numerics/howto.html: Likewise.
* docs/html/27_io/howto.html: Likewise.
* docs/html/ext/howto.html: Likewise.
* docs/html/faq/index.html: Likewise.
* docs/html/faq/index.txt: Regenerated.
From-SVN: r45668
2001-09-17 23:24:40 +00:00
Phil Edwards
0da1b7b516
headers_cc.txt: "Sync"/copy real file over.
...
2001-09-14 Phil Edwards <pme@sources.redhat.com>
* docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
* docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
* docs/html/18_support/howto.html: It won't compile; it's not code.
* docs/html/19_diagnostics/howto.html: Point diagram seekers to
doxygen'd pages.
* docs/html/22_locale/howto.html: Comment for future work.
* docs/html/23_containers/howto.html: More comments.
* docs/html/25_algorithms/howto.html: It's a comment, not a
blunt command to the reader. (English grammar.)
From-SVN: r45620
2001-09-15 00:41:11 +00:00
Benjamin Kosnik
55dea7b149
moneypunct_members_gnu.cc: Fix initialization of wchar_t members.
...
2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/moneypunct_members_gnu.cc: Fix initialization of
wchar_t members.
* testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
* testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
From-SVN: r45614
2001-09-14 22:09:35 +00:00
Alexandre Petit-Bianco
7330797589
money_get_members_char.cc: Fixed typo in comment.
...
2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
* testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
* testsuite/22_locale/money_put_members_char.cc: Likewise.
* testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
(If only spelling them right would make them go away...)
From-SVN: r45592
2001-09-14 01:38:18 -07:00
Benjamin Kosnik
96bbfafed8
locale_facets.tcc: Conditionalize use of strtold.
...
2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc: Conditionalize use of strtold.
From-SVN: r45591
2001-09-14 07:43:36 +00:00
Benjamin Kosnik
fb67885447
Implement std::money_get.
...
2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
Implement std::money_get.
* include/bits/locale_facets.tcc (money_get::do_get): Implement.
* include/bits/locale_facets.h (money_get): Correct signatures.
* testsuite/22_locale/money_get.cc: New file.
* testsuite/22_locale/money_get_members_char.cc: New file.
* include/bits/locale_facets.tcc (__verify_grouping): New
function. Consolidate num_get and money_get group checking into
one function.
(money_get): Use it.
* src/locale.cc (num_get::_M_extract): Use it.
* src/locale-inst.cc: Add instantiation.
From-SVN: r45585
2001-09-13 23:21:25 +00:00
Gabriel Dos Reis
a44d2c392f
std_limits.h (numeric_limits<float>::radix, [...]): Fix thinko.
...
* include/bits/std_limits.h (numeric_limits<float>::radix,
numeric_limits<float>::epsilon: Fix thinko.
From-SVN: r45559
2001-09-12 07:39:46 +00:00
Benjamin Kosnik
f280fdf44d
configure.in: Fix cross compiling math routines.
...
2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
* configure.in: Fix cross compiling math routines. Correct
comments for cross compiling and limits. Add floating point math
routines found in newlib.
* configure: Regenerate.
* acconfig.h: Add macros.
* config.h.in: Regenerate.
From-SVN: r45530
2001-09-11 00:12:57 +00:00
Benjamin Kosnik
a623ef6e71
2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
...
* config/locale/moneypunct_members_generic.cc
(money_base::_S_construct_pattern): Remove unused parameters.
From-SVN: r45518
2001-09-10 20:14:15 +00:00
Benjamin Kosnik
89c06d5007
Makefile.am (stamp-target): Remove link to self.
...
2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (stamp-target): Remove link to self.
* inclulde/Makefile.in: Regenerate.
From-SVN: r45514
2001-09-10 18:13:17 +00:00
Benjamin Kosnik
69971cd850
Implement std::money_put.
...
2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
Implement std::money_put.
* include/bits/locale_facets.h
(moneypunct::_M_initialize_moneypunct): Split up specializations
to account for _Intl. More grody hacking to get around the
ill-considered use of const bool as a template parameter.
* config/locale/moneypunct_members_gnu.cc: And here.
* config/locale/moneypunct_members_generic.cc: And here.
* testsuite/22_locale/moneypunct_members_char.cc: Add tests.
* testsuite/22_locale/moneypunct.cc: Add tests.
* testsuite/22_locale/money_put_members_wchar_t.cc: New file.
* testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
* src/locale.cc (money_base::_S_construct_pattern): Move into
gnu-specific file.
* config/locale/moneypunct_members_gnu.cc: Add here.
* config/locale/moneypunct_members_generic.cc: Add generic version
here.
* include/bits/locale_facets.tcc (money_put::do_put): Move member
function definitions here.
* include/bits/locale_facets.h (money_put): Implement.
* src/locale-inst.cc: Add use_facet instantiations for moneypunct.
Correct money_get, money_put instantiations.
* src/locale.cc (money_base::_S_construct_pattern): Handle case
where __posn == 0.
* testsuite/22_locale/money_put_members_char.cc: Add tests.
From-SVN: r45496
2001-09-10 01:00:27 +00:00
Phil Edwards
2d25bf5d52
testsuite_flags.in: No longer need to search testsuite builddir.
...
2001-09-05 Phil Edwards <pme@sources.redhat.com>
* testsuite_flags.in: No longer need to search testsuite builddir.
* src/stl-inst.cc (__sink_unused_warning): Unused, remove.
* Makefile.am: The testsuite directory never needs to be made here.
* Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.in: Regenerate.
* po/Makefile.in: Regenerate.
* src/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
From-SVN: r45426
2001-09-05 22:38:06 +00:00
Scott Johnston
45932d27fb
iterator.h: Include <bits/std_iterator.h>, remove reverse_bidirectional_iterator.
...
2001-09-04 Scott Johnston <scott@accom.com>
Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* include/backward/iterator.h: Include <bits/std_iterator.h>,
remove reverse_bidirectional_iterator.
* testsuite/backward: New directory.
* testsuite/backward/header_iterator_h.cc: New file.
Co-Authored-By: Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
From-SVN: r45389
2001-09-04 22:05:33 +00:00
Benjamin Kosnik
c0dae541cf
std_c*.h: Don't use include_next.
...
2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_c*.h: Don't use include_next.
From-SVN: r45387
2001-09-04 21:42:24 +00:00
Richard Sandiford
320daf529e
eh_personality.cc (parse_lsda_header): Change type of tmp from _Unwind_Ptr to _Unwind_Word.
...
* libsupc++/eh_personality.cc (parse_lsda_header): Change type of
tmp from _Unwind_Ptr to _Unwind_Word.
From-SVN: r45360
2001-09-03 12:24:24 +00:00
Jason Merrill
a9985a921e
unwind-pe.h (read_uleb128, [...]): Move actual reading code here.
...
* unwind-pe.h (read_uleb128, read_sleb128): Move actual reading
code here. Take _Unwind_{W,Sw}ord*.
(read_encoded_value_with_base): Use them.
* unwind-dw2.c (_Unwind_FrameState): Make cfa_offset and cfa_reg
words.
(extract_cie_info): Simplify read_?leb128 handling.
(execute_stack_op, execute_cfa_program): Likewise.
* unwind-dw2-fde.c (get_cie_encoding): Likewise.
* libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
leb128 handling.
From-SVN: r45315
2001-08-31 05:49:13 -04:00
Loren J. Rittle
533ab4d1f3
Makefile.am: Use toplevel_srcdir to refer to src files outside this component.
...
* include/Makefile.am: Use toplevel_srcdir to refer to src files
outside this component.
* include/Makefile.in: Regenerate.
From-SVN: r45248
2001-08-29 00:32:49 +00:00
Benjamin Kosnik
72e2386f87
c_locale_gnu.cc: Move facet info to separate files...
...
2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/c_locale_gnu.cc: Move facet info to separate files...
* config/locale/c_locale_generic.cc: Same.
* config/locale/moneypunct_members_gnu.cc: New file.
* config/locale/moneypunct_members_generic.cc: New file.
* config/locale/numpunct_members_gnu.cc: New file.
* config/locale/numpunct_members_generic.cc: New file.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
options.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* src/Makefile.am (sources): And here.
* src/Makefile.in: Regenerate.
Rename for consistency with rest of testsuite.
* testsuite/22_locale/codecvt.cc: New file.
* testsuite/22_locale/money_put.cc: New file.
* testsuite/22_locale/money_put_members_char.cc: New file.
From-SVN: r45224
2001-08-28 06:19:35 +00:00
Phil Edwards
b969a5d7d1
re PR libstdc++/4143 (--disable == --enable for version-specific-runtime-libs)
...
2001-08-27 Phil Edwards <pme@sources.redhat.com>
PR libstdc++/4143
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
correctly for version-specific-runtime-libs.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r45206
2001-08-27 19:40:02 +00:00
Loren J. Rittle
405bfc410e
limits.h (__glibcpp_long_double_bits): Only define if not already provided by per-OS file.
...
* config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
define if not already provided by per-OS file.
* config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
Define.
From-SVN: r45165
2001-08-24 21:57:15 +00:00
Jan van Male
11a584be8d
C++STYLE: Fix typo.
...
2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
* docs/html/17_intro/C++STYLE: Fix typo.
From-SVN: r45163
2001-08-24 20:50:53 +00:00
Phil Edwards
b5796814d0
howto.html: Describe implementation of insertion with hints.
...
2001-08-24 Phil Edwards <pme@sources.redhat.com>
* docs/html/23_containers/howto.html: Describe implementation of
insertion with hints.
From-SVN: r45161
2001-08-24 20:34:34 +00:00
Kenny Simpson
bfa7321375
std_sstream.h (basic_ostringstream): Fix ctor.
...
2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
libstdc++/3740
* include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
From-SVN: r45159
2001-08-24 18:52:03 +00:00
Sylvain Pion
f2c333a19d
re PR libstdc++/3349 (bug in map::insert(p,t))
...
2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
Phil Edwards <pme@sources.redhat.com>
PR libstdc++/3349
* include/bits/stl_tree.h (insert_unique): Revert last change.
Values inserted at begin() must be less, not greater, than *begin()'s.
* testsuite/23_containers/map_insert.cc: New file.
Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>
From-SVN: r45155
2001-08-24 17:40:31 +00:00
Benjamin Kosnik
575dd831c7
c_locale_gnu.cc: Minor tweaks.
...
2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/c_locale_gnu.cc: Minor tweaks.
(moneypunct<wchar_t>): Implement.
* include/bits/locale_facets.h: Same.
* testsuite/22_locale/moneypunct.cc: New file.
* testsuite/22_locale/moneypunct_byname.cc: New file.
* testsuite/22_locale/moneypunct_char_members.cc: New file.
From-SVN: r45142
2001-08-24 04:11:23 +00:00
David Edelsohn
a9e7dc6cdf
Fix PowerPC long double as well.
...
From-SVN: r45141
2001-08-23 19:02:01 -04:00
David Edelsohn
be3ebbbb9e
Correct __s390__ definitions.
...
From-SVN: r45140
2001-08-23 18:49:20 -04:00
Jason Merrill
d22ec5294d
testsuite_flags.in (build-includes): Re-add backward.
...
* testsuite_flags.in (build-includes): Re-add backward.
(and back out earlier aclocal change)
From-SVN: r45139
2001-08-23 18:35:52 -04:00
Jason Merrill
cbf0bc8370
* aclocal.m4 (GLIBCPP_INCLUDES): Include backward.
...
From-SVN: r45129
2001-08-23 07:38:07 -04:00
Benjamin Kosnik
0bab15bb70
collate_wchar_t_members.cc: Guard with _GLIBCPP_USE_WCHAR_T.
...
2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/collate_wchar_t_members.cc: Guard
with _GLIBCPP_USE_WCHAR_T.
From-SVN: r45118
2001-08-23 04:50:55 +00:00
Benjamin Kosnik
d1b30231db
collate_byname.cc (test01): Fix.
...
2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/collate_byname.cc (test01): Fix.
From-SVN: r45094
2001-08-22 05:47:35 +00:00
Vladimir A Merzliakov
b36d8fb47a
locale_facets.tcc (collate::do_transform): Add typename.
...
2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
* include/bits/locale_facets.tcc (collate::do_transform): Add typename.
From-SVN: r45016
2001-08-19 00:29:01 +00:00
Benjamin Kosnik
9f530faf18
operators.cc: Add test.
...
2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/operators.cc: Add test.
From-SVN: r45015
2001-08-19 00:20:07 +00:00
Benjamin Kosnik
ea0c0b6e1b
Implement std::collate.
...
2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
Implement std::collate.
* config/locale/collate_specializations_gnu.cc: Add here, implement in
MT-safe way.
* config/locale/collate_specializations_generic.cc: Add here, but
in a less sophisticated manner.
* include/bits/locale_facets.tcc (collate): Add generic definition.
* include/bits/locale_facets.h (~collate): Mark virtual.
(collate::_M_compare_helper): New.
(collate::_M_transform_helper): New.
* src/locale.cc: Remove unnecessary specializations.
* src/string-inst.cc: Tweak instantiation of ctors.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* src/Makefile.am (sources): Add collate.cc.
* src/Makefile.in: Regenerate.
* testsuite/22_locale/collate_byname.cc: New.
* testsuite/22_locale/collate.cc: New file.
* testsuite/22_locale/collate_char_members.cc: New file.
* testsuite/22_locale/collate_wchar_t_members.cc: New file.
From-SVN: r44996
2001-08-18 02:53:13 +00:00
Franz Sirl
9567d32780
configure.target: Set LIMITSH for powerpc-*-*.
...
2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* configure.target: Set LIMITSH for powerpc-*-*.
* config/cpu/powerpc/bits/limits.h: New file.
From-SVN: r44944
2001-08-16 19:19:09 +00:00
Marc Espie
c8f9b30251
configure.in: Check for <sys/types.h>.
...
2001-08-16 Marc Espie <espie@openbsd.org>
* configure.in: Check for <sys/types.h>.
* configure: Rebuild.
* config.h.in: Rebuild.
* libmath/mathconf.h: Include <sys/types.h> prior to
<machine/endian.h> if available.
From-SVN: r44935
2001-08-16 12:49:19 +00:00
Andreas Schwab
b8f73826af
configure.target (cpu_include_dir): Set to `config/cpu/m68k' for m68k and m680[246]0.
...
* configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
m68k and m680[246]0.
* config/cpu/m68k/bits/atomicity.h: New file.
From-SVN: r44925
2001-08-15 16:00:45 +00:00
Andreas Schwab
2e0aa8179f
std_limits.h [...]: Define appropriate long double limits for m68k extended floating point.
...
* include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
Define appropriate long double limits for m68k extended floating
point.
(__glibcpp_f32_digits10): Corrected, off by one.
(__glibcpp_f80_digits10): Likewise.
(__glibcpp_f128_digits10): Likewise.
* config/os/gnu-linux/bits/os_defines.h
(__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
From-SVN: r44924
2001-08-15 15:57:41 +00:00
Gabriel Dos Reis
1489e3241e
numeric_limits.cc: Add more tests.
...
* testsuite/18_support/numeric_limits.cc: Add more tests.
* include/bits/std_limits.h (numeric_limits<char>::max): Fix
typo.
From-SVN: r44911
2001-08-14 23:34:04 +00:00
Ulrich Weigand
354953125e
Added atomicity.h header for s390.
...
From-SVN: r44907
2001-08-14 23:16:57 +00:00
Gabriel Dos Reis
8e0bcac8f3
* include/bits/std_limits.h: Fix thinko.
...
From-SVN: r44901
2001-08-14 21:06:48 +00:00
Benjamin Kosnik
3119bd48cc
Makefile.am: Consolidate target rules.
...
2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am: Consolidate target rules. Don't clean stamp
files. Tweak target build directory stamp.
* include/Makefile.in: Regenerate.
From-SVN: r44889
2001-08-14 08:46:37 +00:00
Benjamin Kosnik
843312be57
Makefile.am: Consolidate target rules.
...
2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am: Consolidate target rules. Don't clean stamp
files. Tweak target build directory stamp.
* include/Makefile.in: Regenerate.
2
From-SVN: r44888
2001-08-14 08:42:19 +00:00
Peter Schmid
abfc6eb13b
stubs.c: Fix PR/3988, replace _GBLICPP_HAVE_LOGL with HAVE_LOGL
...
2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
_GBLICPP_HAVE_LOGL with HAVE_LOGL
From-SVN: r44884
2001-08-14 06:50:58 +00:00
Benjamin Kosnik
4e10943dda
configure.in (libtool_VERSION): Add.
...
2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
* configure.in (libtool_VERSION): Add.
(VERSION): Change to
(release_VERSION): This.
* configure: Regenerate.
* src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
libtool_VERSION.
* src/Makefile.in: Regenerate.
* intl/Makefile.am: Remove.
* intl/Makefile.in: Remove.
* intl: Remove.
* Makefile.am (SUBDIRS): Remove intl.
* po/Makefile.am (DISTFILES): Add string_literals.cc
(MSGFMT): Add.
* po/string_literals.cc: Add.
* po/POTFILES.in: Fix path.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
* aclocal.m4: Regenerate.
* configure.in: Remove AC_OUTPUT of intl/Makefile.
* include/backward/backward_warning.h: Clarify message.
* testsuite_flags.in (--cxxflags): Use same debug flags for
library and testsuite.
* include/Makefile.am (c_compatibility): Remove.
* include/Makefile.in: Regenerate.
From-SVN: r44880
2001-08-14 01:24:30 +00:00
Mark Mitchell
9f3c078ea9
configure.in (LIMITS_INC_SRCDIR): New variable.
...
* configure.in (LIMITS_INC_SRCDIR): New variable.
* configure.target (LIMITSH): New variable.
* porting.texi: Discuss numeric limits.
* config/cpu/generic/bits/limits.h: New file.
* config/cpu/i386/bits/limits.h: New file.
* include/Makefile.am: Install bits/limits.h.
* include/bits/c++config: Include bits/limits.h.
From-SVN: r44877
2001-08-13 22:26:11 +00:00
H.J. Lu
7db1993723
libstdc++-v3-dg.exp (libstdc++-v3-copy-files): New.
...
2001-08-13 H.J. Lu (hjl@gnu.org )
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
New. Copy files.
(libstdc++-v3-init ): Use it.
From-SVN: r44866
2001-08-13 13:43:13 -07:00
Gabriel Dos Reis
fe45ab59ca
ostream.tcc (__pad_char): Change toplevel '__fmt' to '__adjust' to avoid shadowing in nested scope.
...
* include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
to '__adjust' to avoid shadowing in nested scope.
From-SVN: r44849
2001-08-13 12:59:38 +00:00
Gabriel Dos Reis
63814ec191
std_limits.h (__glibcpp_char_is_signed): Use __CHAR_UNSIGNED__.
...
* include/bits/std_limits.h(__glibcpp_char_is_signed): Use
__CHAR_UNSIGNED__.
* config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
Likewise.
* config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
Remove.
From-SVN: r44791
2001-08-11 08:36:52 +00:00
Loren J. Rittle
ff14442814
Makefile.am: Use relative file path in rule to allow colon in $(objdir).
...
bootstrap/3963
* include/Makefile.am: Use relative file path in rule to allow
colon in $(objdir).
* include/Makefile.in: Rebuilt.
From-SVN: r44776
2001-08-10 20:44:53 +00:00
Loren J. Rittle
b5e58904ae
testsuite_hooks.h (__set_testsuite_memlimit): Add dummy default argument to the non-limit implementation.
...
* testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
dummy default argument to the non-limit implementation.
From-SVN: r44775
2001-08-10 20:29:41 +00:00
Gunter Winkler
07fe2dec7a
2001-08-10 Gunter Winkler gunter.winkler@mathematik.tu-chemnitz.de
...
* include/bits/std_complex.h (complex<long double>::operator*=,
complex<long double>::operator/=): Fix thinko.
From-SVN: r44767
2001-08-10 15:51:00 +00:00
Gabriel Dos Reis
aa2408185d
std_limits.h: New file.
...
2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
Mark Mitchell <mark@codesourcery.com>
* include/bits/std_limits.h: New file.
* include/Makefile.am (bits_headers): Add std_limits.h
(all-local): std_limits.h is no longer built.
(${target_builddir}/std_limits.h): Remove.
* include/Makefile.in: Regenerate.
* src/limits.cc: New file.
* src/Makefile.am (sources): Add limits.cc in replacement of
limitsMEMBERS.cc.
* src/Makefile.in: Regenerate.
From-SVN: r44766
2001-08-10 15:47:22 +00:00
Benjamin Kosnik
0b293f29ab
Makefile.am (check-no): Add.
...
2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
* po/Makefile.am (check-no): Add.
(check-yes): Same.
* po/Makefile.in: Regenerate.
From-SVN: r44756
2001-08-10 07:39:21 +00:00
Benjamin Kosnik
58b08ac3e1
acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
...
2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
* acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
* config.h.in: Regenerate.
* acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
function.
* aclocal.m4: Regenerate.
* configure.in: Remove duplicate AM_CONFIG_HEADER.
(AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
* configure: Regenerate.
* testsuite_hooks.h.in: Move to...
* testsuite_hooks.h: Here, include c++config.h. Use it.
* Makefile.am (SUBDIRS): Move testsuite to last directory.
* Makefile.in: Regenerate.
* po/Makefile.am (stamp-po): Add.
From-SVN: r44752
2001-08-10 06:50:34 +00:00
David Edelsohn
3b87de3d00
os_defines.h: Define std_limits.h macros.
...
* config/os/aix/bits/os_defines.h: Define std_limits.h macros.
* config/os/generic/bits/os_defines.h: Likewise.
* config/os/gnu-linux/bits/os_defines.h: Likewise.
* config/os/hpux/bits/os_defines.h: Likewise.
* config/os/irix/irix6.5/bits/os_defines.h: Likewise.
* config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
From-SVN: r44745
2001-08-09 14:01:36 -04:00
Benjamin Kosnik
e8406c89d1
Makefile.am (libstdc___la_LDFLAGS): Use -release instead of -version-info, use substituted VERSION info.
...
2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
* src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
-version-info, use substituted VERSION info.
* src/Makefile.in: Regenerate.
From-SVN: r44730
2001-08-08 22:39:28 +00:00
Benjamin Kosnik
33590f13b2
Implement std::messages.
...
2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
Implement std::messages.
Make config a fully-nested directory.
* config/locale: New directory.
* config/c_locale_generic.cc: Move into locale subdirectory.
* config/c_locale_generic.h: Same.
* config/c_locale_gnu.cc: Same.
* config/c_locale_gnu.h: Same.
* config/c_locale_ieee_1003.1-200x.cc: Same.
* config/c_locale_ieee_1003.1-200x_.h: Same.
* config/codecvt_specializations_generic.h: Same.
* config/codecvt_specializations_ieee_1003.1-200x.h: Same.
* config/messages_members_gnu.h: Same.
* config/messaages_members_gnu.cc: Same.
* config/messages_members_generic.h: Same.
* config/messaages_members_generic.cc: Same.
* config/messages_members_ieee_1003.1-200x.h: Same.
* config/messaages_members_ieee_1003.1-200x.cc: Same.
* config/io: New directory.
* config/basic_file_libio.h: Move into io subdirectory.
* config/basic_file_libio.cc: Same.
* config/c_io_libio.h: Same.
* config/c_io_libio_codecvt.c: Same.
* config/basic_file_stdio.h: Same.
* config/basic_file_stdio.cc: Same.
* config/c_io_stdio.h: Same.
* po: New directory.
* po/POTFILES.in: New file.
* po/Makefile.am: New file.
* po/Makefile.in: New file.
* po/libstdc++.pot: Generic translation file.
* po/fr.po: Preliminary French translation.
* po/de.po: Preliminary German translation.
* intl: New directory.
* intl/Makefile.am: New file.
* intl/Makefile.in: New file.
* intl/string_literals.cc: New file.
* acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
requisite setup for gettext. Re-arrange.
* aclocal.m4: Regenerate.
* configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
Output Makefile bits for po and intl.
* configure: Regenerate.
* Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
* Makefile.in: Regenerate.
* acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
* config.h.in: Regenerate.
* acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
* include/Makefile.am (install-data-local): Don't install Makefile.
* include/Makefile.in: Regenerate.
* include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
Add member.
* config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
* config/locale/c_locale_generic.cc: Same.
* config/locale/c_locale_ieee_1003.1-200x.cc: Same.
* include/bits/codecvt.h: Excise non-standard, non-required
bits. This includes __enc_traits, and partial specializations of
codecvt for __enc_traits.
* src/codecvt.cc (__enc_traits::_S_max_size): Guard
* config/codecvt_partials_ieee_1003.1-200x.h: New file.
* config/codecvt_partials_generic.h: New file.
* include/Makefile.am (allstamps): Add stamp-codecvt_model.
(stamp-codecvt_model): Add.
* include/Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
* testsuite/22_locale/codecvt_unicode_char.cc: Same.
* testsuite/22_locale/ctor_copy_dtor.cc: And here.
* include/bits/localefwd.h (class locale::facet): Add __enc_traits
as a friend for _S_*_c_locale functions.
* include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
argument to default constructor so that CODESET information can be
deduced.
* include/bits/locale_facets.h (messages_byname):
Re-implement. Remove specializations.
* src/locale.cc (messages_byname<char>): Remove specialization.
(messages_byname<wchar_t>): Same.
* config/locale/c_locale_ieee_1003.1-200x.cc: New file.
* config/locale/c_locale_ieee_1003.1-200x.h: New file.
* config/locale/messages_members_ieee_1003.1-200x.cc: New file.
* config/locale/messages_members_ieee_1003.1-200x.h: New file.
* config/locale/messages_members_gnu.cc: New file.
* config/locale/messages_members_gnu.h: New file.
* config/locale/messages_members_generic.cc: New file.
* config/locale/messages_members_generic.h: New file.
* docs/html/configopts.html: Add documentation for new locale
model, ieee_1003.1. Adjust other flags for current defaults.
* docs/html/22_locale/locale.html: Update.
* docs/html/22_locale/howto.html: Add link to messages.html. Organize.
* docs/html/22_locale/messages.html: New.
* src/Makefile.am (sources): Add messages_virtuals.cc.
* src/Makefile.in: Regenerate.
* include/Makefile.am (allstamps): Add stamp-messages_model.
(stamp-messages_model): Add.
* include/Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite_flags.in (--cxxflags): Add LOCALEDIR.
* testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
bits for Irix.
* acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
build directories message catalog base directory, and export.
Eventually this should probably be made to deal with build and
install directories. For now, punt on this as the library itself
doesn't use message catalogs (yet).
* testsuite/22_locale/messages.cc: New file.
* testsuite/22_locale/messages_char_members.cc: New file.
* testsuite/22_locale/messages_byname.cc: New file.
From-SVN: r44702
2001-08-08 02:49:01 +00:00
Phil Edwards
fe413112f8
acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
...
2001-08-06 Phil Edwards <pme@sources.redhat.com>
* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
(GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
(GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
* configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
Call GLIBCPP_CONFIGURE_TESTSUITE.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
of old header.
* testsuite_flags.in: Add build dir's testsuite to INCLUDES.
* testsuite/debug_assert.h: Removed; contents merged into...
* testsuite/testsuite_hooks.h.in: ...here. New file.
* testsuite/17_intro/header_ciso646.cc: No longer include
debug_assert.h, include testsuite_hooks.h instead.
* testsuite/17_intro/header_fstream.cc: Likewise.
* testsuite/17_intro/header_iomanip.cc: Likewise.
* testsuite/17_intro/header_ios.cc: Likewise.
* testsuite/17_intro/header_iosfwd.cc: Likewise.
* testsuite/17_intro/header_iostream.cc: Likewise.
* testsuite/17_intro/header_istream.cc: Likewise.
* testsuite/17_intro/header_ostream.cc: Likewise.
* testsuite/17_intro/header_sstream.cc: Likewise.
* testsuite/17_intro/header_streambuf.cc: Likewise.
* testsuite/18_support/numeric_limits.cc: Likewise.
* testsuite/19_diagnostics/stdexceptions.cc: Likewise.
* testsuite/20_util/allocator_members.cc: Likewise.
* testsuite/20_util/auto_ptr.cc: Likewise.
* testsuite/20_util/pairs.cc: Likewise.
* testsuite/21_strings/append.cc: Likewise.
* testsuite/21_strings/capacity.cc: Likewise.
* testsuite/21_strings/char_traits_requirements.cc: Likewise.
* testsuite/21_strings/compare.cc: Likewise.
* testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
call to (disabled) __set_testsuite_memlimit() wrapper.
* testsuite/21_strings/element_access.cc: Likewise.
* testsuite/21_strings/find.cc: Likewise.
* testsuite/21_strings/insert.cc: Likewise. Also set up call to
(disabled) __set_testsuite_memlimit() wrapper.
* testsuite/21_strings/inserters_extractors.cc: Likewise.
* testsuite/21_strings/invariants.cc: Likewise.
* testsuite/21_strings/nonmember.cc: Likewise.
* testsuite/21_strings/operations.cc: Likewise.
* testsuite/21_strings/replace.cc: Likewise.
* testsuite/21_strings/rfind.cc: Likewise.
* testsuite/21_strings/substr.cc: Likewise.
* testsuite/22_locale/codecvt_char_char.cc: Likewise.
* testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
* testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
* testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
* testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
* testsuite/22_locale/ctype_char_members.cc: Likewise.
* testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
* testsuite/22_locale/facet.cc: Likewise.
* testsuite/22_locale/global_templates.cc: Likewise.
* testsuite/22_locale/members.cc: Likewise.
* testsuite/22_locale/numpunct_byname.cc: Likewise.
* testsuite/22_locale/numpunct_char_members.cc: Likewise.
* testsuite/22_locale/operators.cc: Likewise.
* testsuite/22_locale/static_members.cc: Likewise.
* testsuite/23_containers/bitset_ctor.cc: Likewise.
* testsuite/23_containers/bitset_members.cc: Likewise.
* testsuite/23_containers/bitset_shift.cc: Likewise.
* testsuite/23_containers/vector_capacity.cc: Likewise.
* testsuite/23_containers/vector_ctor.cc: Likewise.
* testsuite/23_containers/vector_element_access.cc: Likewise.
* testsuite/23_containers/vector_modifiers.cc: Likewise.
* testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
* testsuite/24_iterators/iterator.cc: Likewise.
* testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
* testsuite/25_algorithms/binary_search.cc: Likewise.
* testsuite/25_algorithms/copy.cc: Likewise.
* testsuite/25_algorithms/heap.cc: Likewise.
* testsuite/25_algorithms/lower_bound.cc: Likewise.
* testsuite/25_algorithms/min_max.cc: Likewise.
* testsuite/25_algorithms/partition.cc: Likewise.
* testsuite/25_algorithms/rotate.cc: Likewise.
* testsuite/25_algorithms/sort.cc: Likewise.
* testsuite/26_numerics/c_math.cc: Likewise.
* testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
* testsuite/26_numerics/complex_value.cc: Likewise.
* testsuite/27_io/filebuf.cc: Likewise.
* testsuite/27_io/filebuf_members.cc: Likewise.
* testsuite/27_io/filebuf_virtuals.cc: Likewise.
* testsuite/27_io/fpos.cc: Likewise.
* testsuite/27_io/fstream_members.cc: Likewise.
* testsuite/27_io/ifstream_members.cc: Likewise.
* testsuite/27_io/ios_base_callbacks.cc: Likewise.
* testsuite/27_io/ios_base_members_static.cc: Likewise.
* testsuite/27_io/ios_base_storage.cc: Likewise.
* testsuite/27_io/ios_ctor.cc: Likewise.
* testsuite/27_io/ios_init.cc: Likewise.
* testsuite/27_io/ios_manip_basefield.cc: Likewise.
* testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
* testsuite/27_io/ios_members.cc: Likewise.
* testsuite/27_io/istream_extractor_arith.cc: Likewise.
* testsuite/27_io/istream_extractor_char.cc: Likewise.
* testsuite/27_io/istream_extractor_other.cc: Likewise.
* testsuite/27_io/istream_manip.cc: Likewise.
* testsuite/27_io/istream_seeks.cc: Likewise.
* testsuite/27_io/istream_sentry.cc: Likewise.
* testsuite/27_io/istream_unformatted.cc: Likewise.
* testsuite/27_io/istringstream_members.cc: Likewise.
* testsuite/27_io/narrow_stream_objects.cc: Likewise.
* testsuite/27_io/ofstream_members.cc: Likewise.
* testsuite/27_io/ostream_inserter_arith.cc: Likewise.
* testsuite/27_io/ostream_inserter_char.cc: Likewise.
* testsuite/27_io/ostream_inserter_other.cc: Likewise.
* testsuite/27_io/ostream_manip.cc: Likewise.
* testsuite/27_io/ostream_seeks.cc: Likewise.
* testsuite/27_io/ostream_unformatted.cc: Likewise.
* testsuite/27_io/ostringstream_members.cc: Likewise.
* testsuite/27_io/streambuf.cc: Likewise.
* testsuite/27_io/stringbuf.cc: Likewise.
* testsuite/27_io/stringbuf_virtuals.cc: Likewise.
* testsuite/27_io/stringstream.cc: Likewise.
* testsuite/27_io/stringstream_members.cc: Likewise.
* testsuite/27_io/wide_stream_objects.cc: Likewise.
From-SVN: r44679
2001-08-07 03:38:33 +00:00
Loren J. Rittle
67926e5216
* src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
...
From-SVN: r44518
2001-07-31 19:33:43 +00:00
Benjamin Kosnik
3fe670a469
configure.target: Remove mips from cpu table.
...
2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
* configure.target: Remove mips from cpu table.
* config/cpu/mips/bits/atomicity.h: Remove generic
versions. Comment sgidefs include.
From-SVN: r44493
2001-07-31 01:49:30 +00:00
H.J. Lu
3f19669a7c
configure.target (cpu_include_dir): Set to `config/cpu/mips' for mips.
...
2001-07-25 H.J. Lu <hjl@gnu.org>
* configure.target (cpu_include_dir): Set to `config/cpu/mips'
for mips.
* config/cpu/mips/bits/atomicity.h: New.
From-SVN: r44375
2001-07-25 22:04:48 -07:00
Gabriel Dos Reis
d38cd8ae50
acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf, hypotl, atan2f, atan2l.
...
* acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
* aclocal.m4: Regenerate.
* config.h.in: Likewise.
* configure: Likewise.
* libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
(EXTRA_DIST): Remove hypot.c hypotf.c.
* libmath/Makefile.am: Regenerate.
* libmath/hypotf.c: Remove.
* libmath/hypot.c: Likewise.
* libmath/hypotl.c: Likewise.
* libmath/stubs.c: The macros seen here are HAVE_xxx, not
_GLIBCPP_HAVE_xxx. Add long double versions.
From-SVN: r44334
2001-07-25 08:06:47 +00:00
David Edelsohn
cba6dfc843
limits_generic.h (int): Set digits and digits10 appropriately for word size.
...
* include/bits/limits_generic.h (int): Set digits and digits10
appropriately for word size.
(unsigned int,long,unsigned long): Likewise.
From-SVN: r44271
2001-07-23 12:41:03 -04:00
Peter Schmid
3b73bce168
stl_algo.h: Fix typos.
...
2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* include/bits/stl_algo.h : Fix typos.
* testsuite/25_algorithms/unique.cc: New file.
From-SVN: r44169
2001-07-20 01:17:13 +00:00
Phil Edwards
31bfa17776
backport: basic_string.h: Qualify symbols with 'template'.
...
2001-07-19 Phil Edwards <pme@sources.redhat.com>
Mark Mitchell <mark@codesourcery.com>
Merge from cp-parser-branch.
* include/bits/basic_string.h: Qualify symbols with 'template'.
* include/bits/basic_string.tcc: Likewise.
* include/bits/fstream.tcc: Likewise.
* include/bits/istream.tcc: Likewise.
* include/bits/sstream.tcc: Likewise.
* include/bits/std_istream.h: Likewise.
* include/bits/stl_iterator.h: Likewise.
* include/bits/streambuf.tcc: Likewise.
* src/gen-num-limits.cc: Add 'template<>' to specializations.
* src/locale.cc: Likewise.
Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r44167
2001-07-20 00:09:31 +00:00
Gabriel Dos Reis
b2a4c43c0d
gen-num-limits.cc (set_signals_handler): New function.
...
* src/gen-num-limits.cc (set_signals_handler): New function.
Factor out signals setting. Set signal handler for SIGILL.
Co-Authored-By: Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
From-SVN: r44139
2001-07-19 03:06:01 +00:00
Phil Edwards
4b92a3bf21
howto.html: Fix typo.
...
2001-07-18 Phil Edwards <pme@sources.redhat.com>
* docs/html/27_io/howto.html: Fix typo.
* docs/html/faq/index.html: Minor updates for 3.0 all around.
* docs/html/faq/index.txt: Regenerated.
From-SVN: r44135
2001-07-18 21:37:06 +00:00
Stephen M. Webb
fed3b7b431
ostream.tcc (ostream::put): Fixed error condition check.
...
2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
Roman Sulzhyk <roman_sulzhyk@yahoo.com>
libstdc++/3599
* include/bits/ostream.tcc (ostream::put): Fixed error condition check.
* testsuite/27_io/streambuf.cc (test07): Added new regression test.
Co-Authored-By: Roman Sulzhyk <roman_sulzhyk@yahoo.com>
From-SVN: r44122
2001-07-18 17:58:37 +00:00
Stephen M. Webb
02d92e3b70
All occurrences of the __value_type() and __distance_type() functions...
...
2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
All occurrences of the __value_type() and __distance_type()
functions, which were required to support the HP STL, have been
removed along with all the auxiliary forwarding functions that
were required to support their use.
The __iterator_category() function was pretty much left alone
because there was no benefit to removing it and its use made code
just a little more readable.
Incidences of distance() with nonstandard argument list were
replaced by calls to the standard function (only in the files
affected by the removal of the other HP functions).
The signature of the rotate() algorithm was changed to match the
standard.
Headers were reformatted under C++STYLE guidelines (indentation,
linebreaks, typename keyword).
* include/bits/stl_algo.h: replaced __value_type() and
__distance_type() with iterator_traits, eliminated auxiliary
support functions required to support said function usage.
Changed nonstandard distance() call to standard call.
* include/bits/stl_algobase.h: Same.
* include/bits/stl_heap.h: Same.
* include/bits/stl_numeric.h: Same.
* include/bits/stl_uninitialized.h: Same.
* include/bits/stl_iterator_base_types.h (__value_type()):
Removed.
(__distance_type()): Removed.
(value_type()): Gone.
(distance_type()): Done in.
(iterator_category()): Hasta la vista, baby.
* include/bits/stl_iterator_base_funcs.h (iterator_category()):
Replaced with __iterator_category().
* include/backward/iterator.h: moved definition of value_type(),
distance_type(), and iterator_category() out of std:: and into
here.
* testsuite/23_containers/vector_ctor.cc (test03): New testcases.
* testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
* testsuite/25_algorithms/rotate.cc: New testcase.
* testsuite/25_algorithms/copy.cc: New testcase.
* testsuite/25_algorithms/sort.cc: Same.
* testsuite/25_algorithms/heap.cc: Same.
* testsuite/25_algorithms/partition.cc: Same.
* testsuite/25_algorithms/binary_search.cc: Same.
* testsuite/26_numerics/sum_diff.cc: Ditto.
From-SVN: r44117
2001-07-18 17:09:02 +00:00
Benjamin Kosnik
2965361b9e
README: Add notes on naming test cases.
...
2001-07-17 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/README: Add notes on naming test cases.
* testsuite/22_locale/members.cc: Mark as xfail.
* testsuite/22_locale/numpunct_char_members.cc: Same.
From-SVN: r44074
2001-07-17 18:43:28 +00:00
Stephen M. Webb
fb124b992c
acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when setting C_INCLUDE_DIR.
...
2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
* acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
setting C_INCLUDE_DIR.
* configure.in: Revert yesterday's LN_S change.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r44052
2001-07-16 17:43:54 +00:00
Phil Edwards
25dfa34d50
configure.in: Temporarily force LN_S to copy instead of symlink.
...
2001-07-15 Phil Edwards <pme@sources.redhat.com>
* configure.in: Temporarily force LN_S to copy instead of symlink.
* configure: Regenerate.
From-SVN: r44028
2001-07-15 22:17:43 +00:00
Phil Edwards
48fe3de0c3
std_sstream.h (basic_stringbuf::basic_stringbuf(string): Initialize _M_string with pointer-and-size constructor, not just pointer.
...
2001-07-13 Phil Edwards <pme@sources.redhat.com>
* include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
Initialize _M_string with pointer-and-size constructor, not just
pointer. Fix some comments.
* testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
* testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
(test03): Add embedded-NUL tests.
* mkcheck.in: When printing totals, match the order of the tests.
* include/bits/stringfwd.h: Use same declaration keywords.
* include/bits/std_iosfwd.h: Cosmetic spacing.
From-SVN: r43996
2001-07-13 20:50:03 +00:00
Stephen M. Webb
4a9d51090a
Makefile.am: New file encapsulating header generation rules.
...
2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
Loren J. Rittle <ljrittle@acm.org>
Phil Edwards <pme@sources.redhat.com>
* include/Makefile.am: New file encapsulating header generation rules.
* Makefile.am (SUBDIRS): Prepend 'include' directory.
* acinclude.m4: Moved/removed rules for building various headers.
* configure.in (AC_OUTPUT): Add include/Makefile.
* mkc++config: Removed.
* testsuite_flags.in: Changed build-includes to match new scheme.
* mknumeric_limits: Likewise.
* libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
* libmath/Makefile.am: Likewise.
* libsupc++/Makefile.am: Likewise.
* src/Makefile.am: Likewise; removed rules to build headers.
* libmath/mathconf.h: Changed #include'd header names to match.
* libmath/stubs.c: Likewise.
* src/gen-num-limits.cc: Likewise.
* configure: Regenerated.
* config.h.in: Regenerated.
* aclocal.m4: Regenerated.
* Makefile.in: Regenerated.
* include/Makefile.in: Regenerated.
* libio/Makefile.in: Regenerated.
* libmath/Makefile.in: Regenerated.
* libsupc++/Makefile.in: Regenerated.
* src/Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.
Co-Authored-By: Loren J. Rittle <ljrittle@acm.org>
Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>
From-SVN: r43985
2001-07-13 16:47:56 +00:00
Felix Natter
89cd224363
porting-howto.xml: Initial checkin of master copy.
...
2001-07-11 Felix Natter <fnatter@gmx.net>
* docs/html/17_intro/porting-howto.xml: Initial checkin of
master copy.
* docs/html/17_intro/porting-howto.html: check in v0.9.3
From-SVN: r43953
2001-07-12 00:02:34 +00:00
Phil Edwards
669f7a035a
run_doxygen: Don't keep output from previous run.
...
2001-07-11 Phil Edwards <pme@sources.redhat.com>
* docs/doxygen/run_doxygen: Don't keep output from previous run.
* docs/doxygen/user.cfg.in: Tweaks.
* include/bits/c++config: Documentation comments for Doxygen.
* include/bits/char_traits.h: Likewise.
* include/bits/limits_generic.h: Likewise.
* include/bits/std_stdexcept.h: Likewise.
* include/bits/stl_pair.h: Likewise.
* libsupc++/exception: Likewise.
* libsupc++/new: Likewise.
* libsupc++/typeinfo: Likewise.
* libmath/Makefile.am: Update and correct copyright.
From-SVN: r43948
2001-07-11 19:35:49 +00:00
Gabriel Dos Reis
2253525c31
acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
...
* acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
* aclocal.m4: Regenerate.
* configure: Same.
From-SVN: r43898
2001-07-10 12:55:05 +00:00
Phil Edwards
3abbcbb1b3
configopts.html: Fix thinko.
...
2001-07-09 Phil Edwards <pme@sources.redhat.com>
* docs/html/configopts.html: Fix thinko.
* docs/html/27_io/howto.html: Fix thinko and HTML markup.
* include/bits/stl_iterator.h: Fix typo.
From-SVN: r43878
2001-07-09 21:47:36 +00:00
Phil Edwards
c6c222a89a
explanations.html: New file.
...
2001-07-09 Phil Edwards <pme@sources.redhat.com>
* docs/html/explanations.html: New file.
* docs/html/configopts.html: Link to it to provide more notes
on cstdio. Minor markup and spacing fixes.
* docs/html/27_io/howto.html: Talk about sync_with_stdio.
From-SVN: r43868
2001-07-09 19:37:01 +00:00