From: Jason Merrill Date: Thu, 3 Sep 1998 02:56:35 +0000 (+0000) Subject: stl_config.h: Define __STL_HAS_WCHAR_T... X-Git-Tag: prereleases/libgcj-0.1~3242 X-Git-Url: https://gcc.gnu.org/git/?a=commitdiff_plain;h=127b53d549387b9c6842c304140ae307c952366d;p=gcc.git 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 --- diff --git a/libstdc++/stl/ChangeLog b/libstdc++/stl/ChangeLog index ad471c3bcd2a..1039d633bce5 100644 --- a/libstdc++/stl/ChangeLog +++ b/libstdc++/stl/ChangeLog @@ -1,3 +1,9 @@ +1998-09-03 Jason Merrill + + * 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 * algorithm alloc.h defalloc.h hash_map.h hash_set.h iterator diff --git a/libstdc++/stl/stl_config.h b/libstdc++/stl/stl_config.h index b1b5738d3a44..7cd60d8460d9 100644 --- a/libstdc++/stl/stl_config.h +++ b/libstdc++/stl/stl_config.h @@ -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)