mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-31 02:49:37 +08:00
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
This commit is contained in:
parent
222a7e550c
commit
127b53d549
@ -1,3 +1,9 @@
|
||||
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>
|
||||
|
||||
* algorithm alloc.h defalloc.h hash_map.h hash_set.h iterator
|
||||
|
@ -146,6 +146,7 @@
|
||||
|
||||
# ifdef __GNUC__
|
||||
# include <_G_config.h>
|
||||
# define __STL_HAS_WCHAR_T
|
||||
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8)
|
||||
# define __STL_STATIC_TEMPLATE_MEMBER_BUG
|
||||
# define __STL_NEED_TYPENAME
|
||||
@ -153,10 +154,11 @@
|
||||
# else
|
||||
# define __STL_CLASS_PARTIAL_SPECIALIZATION
|
||||
# define __STL_FUNCTION_TMPL_PARTIAL_ORDER
|
||||
# define __STL_EXPLICIT_FUNCTION_TMPL_ARGS
|
||||
# define __STL_MEMBER_TEMPLATES
|
||||
// g++ 2.8.1 supports member template functions, but not member
|
||||
// template nested classes.
|
||||
# define __STL_MEMBER_TEMPLATE_CLASSES
|
||||
# define __STL_EXPLICIT_FUNCTION_TMPL_ARGS
|
||||
# define __STL_HAS_NAMESPACES
|
||||
# define __STL_NO_NAMESPACES
|
||||
# endif
|
||||
/* glibc pre 2.0 is very buggy. We have to disable thread for it.
|
||||
It should be upgraded to glibc 2.0 or later. */
|
||||
@ -170,6 +172,9 @@
|
||||
# ifdef __EXCEPTIONS
|
||||
# define __STL_USE_EXCEPTIONS
|
||||
# endif
|
||||
# ifndef __STRICT_ANSI__
|
||||
# define __STL_LONG_LONG
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# if defined(__SUNPRO_CC)
|
||||
|
Loading…
Reference in New Issue
Block a user