This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] tune for size



Gaaah. And _GLIBCPP_USE_WCHAR_T breakage on the regression checker.....

tested x86/linux w/o _GLIBCPP_USE_WCHAR_T 

2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>

	* include/std/std_iosfwd.h: Don't guard typedefs with
	_GLIBCPP_USE_WCHAR_T
	* include/bits/stringfwd.h: Same.

Index: include/bits/stringfwd.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/bits/stringfwd.h,v
retrieving revision 1.5
diff -c -p -r1.5 stringfwd.h
*** stringfwd.h	2001/11/02 17:38:11	1.5
--- stringfwd.h	2002/02/16 02:39:35
***************
*** 1,6 ****
  // String support -*- C++ -*-
  
! // Copyright (C) 2001 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
--- 1,6 ----
  // String support -*- C++ -*-
  
! // Copyright (C) 2001, 2002 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
*************** namespace std
*** 61,73 ****
      class basic_string;
  
    typedef basic_string<char>    string;
- #ifdef _GLIBCPP_USE_WCHAR_T
    typedef basic_string<wchar_t> wstring;
- #endif
  } // namespace std
  
  #endif	// _CPP_BITS_STRINGFWD_H
- 
- // Local Variables:
- // mode:c++
- // End:
--- 61,67 ----
Index: include/std/std_iosfwd.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/std_iosfwd.h,v
retrieving revision 1.2
diff -c -p -r1.2 std_iosfwd.h
*** std_iosfwd.h	2002/01/28 22:13:10	1.2
--- std_iosfwd.h	2002/02/16 02:39:36
*************** namespace std 
*** 116,122 ****
    typedef basic_ofstream<char> 		ofstream;
    typedef basic_fstream<char> 		fstream;
  
- #ifdef _GLIBCPP_USE_WCHAR_T
    typedef basic_ios<wchar_t> 		wios;
    typedef basic_streambuf<wchar_t> 	wstreambuf;
    typedef basic_istream<wchar_t> 	wistream;
--- 116,121 ----
*************** namespace std 
*** 130,136 ****
    typedef basic_ifstream<wchar_t> 	wifstream;
    typedef basic_ofstream<wchar_t> 	wofstream;
    typedef basic_fstream<wchar_t> 	wfstream;
- #endif
  } // namespace std
  
  #endif
--- 129,134 ----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]