[libstdc++] Proposed patch for fstream.h
Peter Schmid
schmid@snake.iap.physik.tu-darmstadt.de
Wed Apr 4 10:09:00 GMT 2001
Excuse me, I did not notice that you were considering applying this
patch. I realized that the trailing semicolons somehow got lost.
The following (marginal) patch corrects the syntax errors. All
testsuite related problems introduced by the former patch are fixed by
the appended patch as documented by the results for a run of the g++
testsuite on i686-pc-linux-gnu after applying the appended patch.
Sorry for the inconveniences,
Peter Schmid
2001-04-04 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* include/backward/fstream.h: Fix Syntax
*** libstdc++-v3/include/backward/fstream.h.orig Wed Apr 4 18:25:43 2001
--- libstdc++-v3/include/backward/fstream.h Wed Apr 4 18:26:01 2001
*************** using std::filebuf;
*** 34,47 ****
using std::ifstream;
using std::ofstream;
using std::fstream;
! using std::streampos
#ifdef _GLIBCPP_USE_WCHAR_T
using std::wfilebuf;
using std::wifstream;
using std::wofstream;
using std::wfstream;
! using std::wstreampos
#endif
#endif
--- 34,47 ----
using std::ifstream;
using std::ofstream;
using std::fstream;
! using std::streampos;
#ifdef _GLIBCPP_USE_WCHAR_T
using std::wfilebuf;
using std::wifstream;
using std::wofstream;
using std::wfstream;
! using std::wstreampos;
#endif
#endif
-------------------------------------------------------------------------------
=== g++ tests ===
Schedule of variations:
unix
Running target unix
Using /usr/local/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/local/share/dejagnu/config/unix.exp as generic interface file for target.
Using /home/peter/egcs/gcc/gcc/testsuite/config/default.exp as tool-and-target-specific interface file.
Running /home/peter/egcs/gcc/gcc/testsuite/g++.dg/dg.exp ...
Running /home/peter/egcs/gcc/gcc/testsuite/g++.dg/special/ecos.exp ...
Running /home/peter/egcs/gcc/gcc/testsuite/g++.old-deja/old-deja.exp ...
FAIL: g++.ext/instantiate1.C not instantiated (test for errors, line 20)
XPASS: g++.other/crash27.C (test for excess errors)
=== g++ Summary ===
# of expected passes 6433
# of unexpected failures 1
# of unexpected successes 1
# of expected failures 87
# of untested testcases 9
/home/peter/egcs/build/gcc/testsuite/../g++ version 3.1 20010404 (experimental)
More information about the Libstdc++
mailing list