PATCH: minor compatibility header extension and bug fix
Loren James Rittle
rittle@latour.rsch.comm.mot.com
Thu May 4 22:41:00 GMT 2000
I will be extending the libstdc++-v3 compatibility headers as required
to pass existing g++ dejagnu tests that use them. Here is the first
minor patch. At a minimum, these new files are still needed:
complex.h, fstream.h, iomanip.h, ostream.h, stream.h and strstream.h.
Note: I don't have the right version of automake installed at the
moment, but I believe that the included patch is OK, please automake
Makefile.in before checkin.
Since Mark says he wants this information: Tested (with make in
already bootstrapped tree) on i686-unknown-freebsdelf3.4.
2000-05-05 Loren J. Rittle <ljrittle@acm.org>
* backward/iostream.h: Expose endl. Guard wide types.
* src/Makefile.am (headers): Update list to match files.
* src/Makefile.in: Regenerate.
Index: backward/iostream.h
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/backward/iostream.h,v
retrieving revision 1.1
diff -p -r1.1 iostream.h
*** iostream.h 2000/04/21 20:33:28 1.1
--- iostream.h 2000/05/05 05:06:47
*************** using __STD::cout;
*** 42,51 ****
--- 42,55 ----
using __STD::cin;
using __STD::cerr;
using __STD::clog;
+ #ifdef _GLIBCPP_USE_WCHAR_T
using __STD::wcout;
using __STD::wcin;
using __STD::wcerr;
using __STD::wclog;
+ #endif
+
+ using __STD::endl;
#endif /* __STL_USE_NAMESPACES */
#endif /* _CPP_BACKWARD_IOSTREAM_H */
Index: src/Makefile.am
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/src/Makefile.am,v
retrieving revision 1.4
diff -p -r1.4 Makefile.am
*** Makefile.am 2000/05/01 23:47:31 1.4
--- Makefile.am 2000/05/05 05:22:11
*************** headers = \
*** 105,112 ****
backward/bvector.h backward/defalloc.h backward/deque.h \
backward/function.h backward/hash_map.h backward/hash_set.h \
backward/hashtable.h backward/heap.h backward/iterator.h \
backward/list.h backward/map.h backward/multimap.h \
! backward/multiset.h backward/pair.h \
backward/rope.h backward/set.h backward/slist.h backward/stack.h \
backward/tempbuf.h backward/tree.h backward/vector.h \
bits/std_bitset.h bits/std_deque.h bits/std_functional.h \
--- 105,113 ----
backward/bvector.h backward/defalloc.h backward/deque.h \
backward/function.h backward/hash_map.h backward/hash_set.h \
backward/hashtable.h backward/heap.h backward/iterator.h \
+ backward/iostream.h \
backward/list.h backward/map.h backward/multimap.h \
! backward/multiset.h backward/new.h backward/pair.h \
backward/rope.h backward/set.h backward/slist.h backward/stack.h \
backward/tempbuf.h backward/tree.h backward/vector.h \
bits/std_bitset.h bits/std_deque.h bits/std_functional.h \
More information about the Libstdc++
mailing list