V3 PATCH: IRIX wide-character issue

Mark Mitchell mark@codesourcery.com
Sat Nov 11 19:29:00 GMT 2000


I realized I had one local patch that is needed for IRIX, where
wide-characters are not supported.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

Sat Nov 11 20:25:49 2000  Mark P Mitchell  <mark@codesourcery.com>

	* include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type
	when _GLIBCPP_USE_WCHAR_T is not defined.

Index: libstdc++-v3/include/bits/basic_file.h
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/include/bits/basic_file.h,v
retrieving revision 1.2
diff -c -p -r1.2 basic_file.h
*** basic_file.h	2000/11/01 21:38:32	1.2
--- basic_file.h	2000/11/12 03:09:32
*************** namespace std {
*** 122,128 ****
--- 122,130 ----
        int 		_M_fileno;
        __c_file_type* 	_M_cfile;
  #endif
+ #ifdef _GLIBCPP_USE_WCHAR_T
        __c_wfile_type	_M_wfile;
+ #endif /* !defined(_GLIBCPP_USE_WCHAR_T) */
  
      public:
        __basic_file(__c_lock* __lock = 0);


More information about the Libstdc++ mailing list