Commit 127b53d5 by Jason Merrill Committed by Jason Merrill

stl_config.h: Define __STL_HAS_WCHAR_T...

	* stl_config.h: Define __STL_HAS_WCHAR_T,
	__STL_MEMBER_TEMPLATE_CLASSES, __STL_HAS_NAMESPACES,
	__STL_NO_NAMESPACES and __STL_LONG_LONG.

From-SVN: r22203
parent 222a7e55
1998-09-03 Jason Merrill <jason@yorick.cygnus.com>
* stl_config.h: Define __STL_HAS_WCHAR_T,
__STL_MEMBER_TEMPLATE_CLASSES, __STL_HAS_NAMESPACES,
__STL_NO_NAMESPACES and __STL_LONG_LONG.
1998-09-02 Jason Merrill <jason@yorick.cygnus.com> 1998-09-02 Jason Merrill <jason@yorick.cygnus.com>
* algorithm alloc.h defalloc.h hash_map.h hash_set.h iterator * algorithm alloc.h defalloc.h hash_map.h hash_set.h iterator
......
...@@ -146,6 +146,7 @@ ...@@ -146,6 +146,7 @@
# ifdef __GNUC__ # ifdef __GNUC__
# include <_G_config.h> # include <_G_config.h>
# define __STL_HAS_WCHAR_T
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8)
# define __STL_STATIC_TEMPLATE_MEMBER_BUG # define __STL_STATIC_TEMPLATE_MEMBER_BUG
# define __STL_NEED_TYPENAME # define __STL_NEED_TYPENAME
...@@ -153,10 +154,11 @@ ...@@ -153,10 +154,11 @@
# else # else
# define __STL_CLASS_PARTIAL_SPECIALIZATION # define __STL_CLASS_PARTIAL_SPECIALIZATION
# define __STL_FUNCTION_TMPL_PARTIAL_ORDER # define __STL_FUNCTION_TMPL_PARTIAL_ORDER
# define __STL_EXPLICIT_FUNCTION_TMPL_ARGS
# define __STL_MEMBER_TEMPLATES # define __STL_MEMBER_TEMPLATES
// g++ 2.8.1 supports member template functions, but not member # define __STL_MEMBER_TEMPLATE_CLASSES
// template nested classes. # define __STL_EXPLICIT_FUNCTION_TMPL_ARGS
# define __STL_HAS_NAMESPACES
# define __STL_NO_NAMESPACES
# endif # endif
/* glibc pre 2.0 is very buggy. We have to disable thread for it. /* glibc pre 2.0 is very buggy. We have to disable thread for it.
It should be upgraded to glibc 2.0 or later. */ It should be upgraded to glibc 2.0 or later. */
...@@ -170,6 +172,9 @@ ...@@ -170,6 +172,9 @@
# ifdef __EXCEPTIONS # ifdef __EXCEPTIONS
# define __STL_USE_EXCEPTIONS # define __STL_USE_EXCEPTIONS
# endif # endif
# ifndef __STRICT_ANSI__
# define __STL_LONG_LONG
# endif
# endif # endif
# if defined(__SUNPRO_CC) # if defined(__SUNPRO_CC)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment