This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

Extention headers


Hello,
Header files <ext/hash_map>, <ext/hash_set> and <ext/slist> in current 
libstdc++ are broken - they don't compile because they miss other
headers 
they depend on.


Here the patch
-

1999-06-23  Vadim Egorov  <egorovv@1c.ru>

	* stl/ext/hash_set: include missing headers
	* stl/ext/hash_map: Same
	* stl/ext/slist: Same
	

Index: hash_map
===================================================================
RCS file: /cvs/libstdc++/libstdc++/stl/ext/hash_map,v
retrieving revision 1.2
diff -c -r1.2 hash_map
*** hash_map	1999/05/05 00:39:30	1.2
--- hash_map	1999/06/23 12:53:03
***************
*** 31,36 ****
--- 31,37 ----
  #ifndef __SGI_STL_INTERNAL_HASH_MAP_H
  #define __SGI_STL_INTERNAL_HASH_MAP_H
  
+ #include <ext/stl_hashtable.h>
  
  __STL_BEGIN_NAMESPACE
  
Index: hash_set
===================================================================
RCS file: /cvs/libstdc++/libstdc++/stl/ext/hash_set,v
retrieving revision 1.2
diff -c -r1.2 hash_set
*** hash_set	1999/05/05 00:39:31	1.2
--- hash_set	1999/06/23 12:53:10
***************
*** 31,36 ****
--- 31,38 ----
  #ifndef __SGI_STL_INTERNAL_HASH_SET_H
  #define __SGI_STL_INTERNAL_HASH_SET_H
  
+ #include <ext/stl_hashtable.h>
+ 
  __STL_BEGIN_NAMESPACE
  
  #if defined(__sgi) && !defined(__GNUC__) && (_MIPS_SIM !=
_MIPS_SIM_ABI32)
Index: slist
===================================================================
RCS file: /cvs/libstdc++/libstdc++/stl/ext/slist,v
retrieving revision 1.2
diff -c -r1.2 slist
*** slist	1999/05/05 00:39:33	1.2
--- slist	1999/06/23 12:53:29
***************
*** 19,24 ****
--- 19,28 ----
  #ifndef _CPP_BITS_STL_SLIST_H
  #define _CPP_BITS_STL_SLIST_H 1
  
+ #include <bits/stl_algobase.h>
+ #include <bits/stl_alloc.h>
+ #include <bits/stl_construct.h>
+ #include <bits/stl_uninitialized.h>
  
  __STL_BEGIN_NAMESPACE 



-- 
*********************************************
Vadim Egorov, 1C      *       Вадим Егоров,1C
egorovv@1c.ru         *         egorovv@1c.ru
*********************************************


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