This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
PATCH: remove libio.h dependency on g++ test case
- To: gcc-patches at gcc dot gnu dot org
- Subject: PATCH: remove libio.h dependency on g++ test case
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- Date: Wed, 22 Nov 2000 05:09:25 -0600 (CST)
- CC: libstdc++ at sourceware dot cygnus dot com
- Reply-to: rittle at rsch dot comm dot mot dot com
libstdc++-v3 no longer depends upon libio (in fact, some targets can
no longer compile libio.h), thus libio.h should not be gratuitously
included in g++ test cases.
2000-11-22 Loren J. Rittle <ljrittle@acm.org>
* g++.old-deja/g++.robertl/eb39.C: Don't include libio.h.
Index: g++.old-deja/g++.robertl/eb39.C
===================================================================
RCS file: /cvs/gcc/egcs/gcc/testsuite/g++.old-deja/g++.robertl/eb39.C,v
retrieving revision 1.3
diff -c -r1.3 eb39.C
*** eb39.C 2000/05/28 05:38:02 1.3
--- eb39.C 2000/11/22 11:03:18
***************
*** 2,8 ****
#include <ctype.h>
#include <iostream.h>
// #include <streambuf.h>
! #include <libio.h>
#include <strstream.h>
#include <string.h>
--- 2,8 ----
#include <ctype.h>
#include <iostream.h>
// #include <streambuf.h>
! // #include <libio.h>
#include <strstream.h>
#include <string.h>