/home/ntakagi/work/STLport-5.1.5/stlport/stl/config/stl_mycomp.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 1997
00003  * Moscow Center for SPARC Technology
00004  *
00005  * Copyright (c) 1999
00006  * Boris Fomitchev
00007  *
00008  * This material is provided "as is", with absolutely no warranty expressed
00009  * or implied. Any use is at your own risk.
00010  *
00011  * Permission to use or copy this software for any purpose is hereby granted
00012  * without fee, provided the above notices are retained on all copies.
00013  * Permission to modify the code and to distribute modified code is granted,
00014  * provided the above notices are retained, and a notice that the code was
00015  * modified is included with the above copyright notice.
00016  *
00017  */
00018 
00019 /*
00020  * Purpose of this file :
00021  *
00022  * A list of COMPILER-SPECIFIC portion of STLport settings.
00023  * This file is provided to help in manual configuration
00024  * of STLport. This file is being included by stlcomp.h
00025  * when STLport is unable to identify your compiler.
00026  * Please remove the error diagnostic below before adjusting
00027  * macros.
00028  *
00029  */
00030 #ifndef _STLP_MYCOMP_H
00031 #define  _STLP_MYCOMP_H
00032 
00033 #error "Your compiler version is not recognized by STLport. Please edit <stlport/stl/config/stl_mycomp.h>"
00034 
00035 //==========================================================
00036 
00037 // the values choosen here as defaults try to give
00038 // maximum functionality on the most conservative settings
00039 
00040 // Mostly correct guess, change it for Alpha (and other environments
00041 // that has 64-bit "long")
00042 // #  define _STLP_UINT32_T unsigned long
00043 
00044 // Disables wchar_t functionality
00045 // #  define _STLP_NO_WCHAR_T  1
00046 
00047 // Define if wchar_t is not a unique type, and is actually a typedef to unsigned short.
00048 // #  define _STLP_WCHAR_T_IS_USHORT 1
00049 
00050 // Uncomment if long long is available
00051 // #  define _STLP_LONG_LONG long long
00052 
00053 // Uncomment if long double is not available
00054 // #  define _STLP_NO_LONG_DOUBLE 1
00055 
00056 // Uncomment this if your compiler does not support "typename" keyword
00057 // #  define _STLP_NEED_TYPENAME 1
00058 
00059 // Uncomment this if your compiler does not support "mutable" keyword
00060 // #  define _STLP_NEED_MUTABLE 1
00061 
00062 // Uncomment this if your compiler does not support "explicit" keyword
00063 // #  define _STLP_NEED_EXPLICIT 1
00064 
00065 // Uncomment if new-style-casts like const_cast<> are not available
00066 // #  define _STLP_NO_NEW_STYLE_CASTS 1
00067 
00068 // Uncomment this if your compiler does not have "bool" type
00069 // #  define  _STLP_NO_BOOL 1
00070 
00071 // Uncomment this if your compiler does not have "bool" type, but has "bool" keyword reserved
00072 // #  define  _STLP_DONT_USE_BOOL_TYPEDEF 1
00073 
00074 // Uncomment this if your compiler does not have "bool" type, but defines "bool" in <yvals.h>
00075 // #  define  _STLP_YVALS_H 1
00076 
00077 // Uncomment this if your compiler has limited or no default template arguments for classes
00078 // #  define _STLP_LIMITED_DEFAULT_TEMPLATES 1
00079 
00080 // Uncomment this if your compiler support only complete (not dependent on other parameters)
00081 // types as default parameters for class templates
00082 // #  define _STLP_DEFAULT_TYPE_PARAM 1
00083 
00084 // Uncomment this if your compiler do not support default parameters in template class methods
00085 // #  define _STLP_DONT_SUP_DFLT_PARAM 1
00086 
00087 // Uncomment this if your compiler has problem with not-type
00088 // default template parameters
00089 // #  define _STLP_NO_DEFAULT_NON_TYPE_PARAM 1
00090 
00091 // Define if compiler has
00092 // trouble with functions getting non-type-parameterized classes as parameters
00093 // #  define _STLP_NON_TYPE_TMPL_PARAM_BUG 1
00094 
00095 // Uncomment this if your compiler lacks static data members.
00096 // Uncomment next line if your compiler supports __attribute__((weak))
00097 // #  define _STLP_NO_STATIC_TEMPLATE_DATA 1
00098 // #  define _STLP_WEAK_ATTRIBUTE 1
00099 
00100 // Uncomment this if your compiler does not support namespaces
00101 // #  define _STLP_HAS_NO_NAMESPACES 1
00102 
00103 // Uncomment if "using" keyword does not work with template types
00104 // # define _STLP_BROKEN_USING_DIRECTIVE 1
00105 
00106 // Uncomment this if your compiler does not support exceptions
00107 // #  define _STLP_HAS_NO_EXCEPTIONS 1
00108 
00109 // Uncomment this when you are able to detect that the user do not
00110 // want to use the exceptions feature.
00111 // #  define _STLP_DONT_USE_EXCEPTIONS 1
00112 
00113 // Uncomment this if your compiler does not support exception specifications
00114 // #  define _STLP_NO_EXCEPTION_SPEC
00115 
00116 // Define this if your compiler requires return statement after throw()
00117 // # define _STLP_THROW_RETURN_BUG 1
00118 
00119 // Define this if your compiler do not support return of void
00120 // # define _STLP_DONT_RETURN_VOID 1
00121 
00122 // Header <new> that comes with the compiler
00123 // does not define bad_alloc exception
00124 // #  define _STLP_NO_BAD_ALLOC  1
00125 
00126 // Define this if your compiler do not throw bad_alloc from the new operator
00127 // #  define _STLP_NEW_DONT_THROW_BAD_ALLOC  1
00128 
00129 // Uncomment if member template methods are not available
00130 // #  define _STLP_NO_MEMBER_TEMPLATES   1
00131 
00132 // Uncomment if member template classes are not available
00133 // #  define _STLP_NO_MEMBER_TEMPLATE_CLASSES   1
00134 
00135 // Uncomment if your compiler do not support the std::allocator rebind technique
00136 // This is a special case of bad member template classes support, it is automatically
00137 // defined if _STLP_NO_MEMBER_TEMPLATE_CLASSES is defined.
00138 // # define _STLP_DONT_SUPPORT_REBIND_MEMBER_TEMPLATE 1
00139 
00140 // Uncomment if no "template" keyword should be used with member template classes
00141 // #  define _STLP_NO_MEMBER_TEMPLATE_KEYWORD   1
00142 
00143 // Uncomment if friend member templates are not available
00144 // #  define _STLP_NO_FRIEND_TEMPLATES   1
00145 
00146 // Compiler does not accept friend declaration qualified with namespace name.
00147 // #  define _STLP_NO_QUALIFIED_FRIENDS 1
00148 
00149 // Uncomment if partial specialization is not available
00150 // #  define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
00151 
00152 // Define if class being partially specialized require full name (template parameters)
00153 // of itself for method declarations
00154 // #  define _STLP_PARTIAL_SPEC_NEEDS_TEMPLATE_ARGS
00155 
00156 // Compiler has problem with qualified specializations (cont int, volatile int...)
00157 // #  define _STLP_QUALIFIED_SPECIALIZATION_BUG
00158 
00159 // Compiler has problems specializing members of partially
00160 // specialized class
00161 // #  define _STLP_MEMBER_SPECIALIZATION_BUG
00162 
00163 // Uncomment if partial order of template functions is not available
00164 // #  define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
00165 
00166 // Uncomment if specialization of methods is not allowed
00167 // #  define _STLP_NO_METHOD_SPECIALIZATION  1
00168 
00169 // Uncomment if full  specialization does not use partial spec. syntax : template <> struct ....
00170 // #  define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX  1
00171 
00172 // Uncomment if compiler does not support explicit template arguments for functions
00173 // # define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS
00174 
00175 // Uncomment this if your compiler can't inline while(), for()
00176 // #  define _STLP_LOOP_INLINE_PROBLEMS 1
00177 
00178 // Define if the compiler fails to match a template function argument of base
00179 // #  define _STLP_BASE_MATCH_BUG          1
00180 
00181 // Define if the compiler fails to match a template function argument of base
00182 // (non-template)
00183 //#  define  _STLP_NONTEMPL_BASE_MATCH_BUG 1
00184 
00185 // Define if the compiler rejects outline method definition
00186 // explicitly taking nested types/typedefs
00187 // #  define _STLP_NESTED_TYPE_PARAM_BUG   1
00188 
00189 // Compiler requires typename keyword on outline method definition
00190 // explicitly taking nested types/typedefs
00191 // #define  _STLP_TYPENAME_ON_RETURN_TYPE
00192 
00193 // Define if the baseclass typedefs not visible from outside
00194 // #  define _STLP_BASE_TYPEDEF_OUTSIDE_BUG 1
00195 
00196 // if your compiler have serious problems with typedefs, try this one
00197 // #  define _STLP_BASE_TYPEDEF_BUG          1
00198 
00199 // Uncomment if getting errors compiling mem_fun* adaptors
00200 // #  define _STLP_MEMBER_POINTER_PARAM_BUG 1
00201 
00202 // * _STLP_STATIC_CONST_INIT_BUG: defined if the compiler can't handle a
00203 //   constant-initializer in the declaration of a static const data member
00204 //   of integer type.  (See section 9.4.2, paragraph 4, of the C++ standard.)
00205 // # define _STLP_STATIC_CONST_INIT_BUG
00206 
00207 // Define if default constructor for builtin integer type fails to initialize it to 0
00208 // In expression like new(&char) char():
00209 //# define _STLP_DEF_CONST_PLCT_NEW_BUG 1
00210 // In default function parameter like _M_method(_Tp __x = _Tp())
00211 //# define _STLP_DEF_CONST_DEF_PARAM_BUG 1
00212 
00213 // Defined if constructor
00214 // required to explicitly call member's default constructors for const objects
00215 // #  define _STLP_CONST_CONSTRUCTOR_BUG    1
00216 
00217 // Defined if the compiler has trouble calling POD-types constructors/destructors
00218 // #  define _STLP_TRIVIAL_CONSTRUCTOR_BUG    1
00219 // #  define _STLP_TRIVIAL_DESTRUCTOR_BUG    1
00220 
00221 // Define if having problems specializing maps/sets with
00222 // key type being const
00223 // #  define _STLP_MULTI_CONST_TEMPLATE_ARG_BUG
00224 
00225 // Uncomment this to disable -> operators on all iterators
00226 // #  define   _STLP_NO_ARROW_OPERATOR 1
00227 
00228 // Uncomment this to disble at() member functions for containers
00229 // #  define   _STLP_NO_AT_MEMBER_FUNCTION 1
00230 
00231 // Define this if compiler lacks <exception> header
00232 // #  define _STLP_NO_EXCEPTION_HEADER 1
00233 
00234 // Uncomment this if your C library has lrand48() function
00235 // #  define _STLP_RAND48 1
00236 
00237 // Uncomment if native new-style C library headers lile <cstddef>, etc are not available.
00238 // #   define _STLP_HAS_NO_NEW_C_HEADERS 1
00239 
00240 // uncomment if new-style headers <new> is available
00241 // #  define _STLP_HAS_NEW_NEW_HEADER 1
00242 
00243 // uncomment this if <iostream> and other STD headers put their stuff in ::namespace,
00244 // not std::
00245 // #  define _STLP_VENDOR_GLOBAL_STD
00246 
00247 // uncomment this if <cstdio> and the like put stuff in ::namespace,
00248 // not std::
00249 // #  define _STLP_VENDOR_GLOBAL_CSTD
00250 
00251 // uncomment this if your compiler consider as ambiguous a function imported within
00252 // the stlport namespace and called without scope (:: or std::)
00253 // #  define _STLP_NO_USING_FOR_GLOBAL_FUNCTIONS 1
00254 
00255 // uncomment this if your compiler define all the C math functions C++ additional
00256 // overloads in ::namespace and not only in std::.
00257 // #  define _STLP_HAS_GLOBAL_C_MATH_FUNCTIONS 1
00258 
00259 // uncomment this if your compiler has problem with the import of a namespace in
00260 // an other one with the using namespace directive
00261 // #  define _STLP_USING_NAMESPACE_BUG 1
00262 
00263 // Edit relative path below (or put full path) to get native
00264 // compiler headers included. Default is "../include".
00265 // C headers may reside in different directory, so separate macro is provided.
00266 // Hint : never install STLport in the directory that ends with "include"
00267 // # define _STLP_NATIVE_INCLUDE_PATH ../include
00268 // # define _STLP_NATIVE_C_INCLUDE_PATH ../include
00269 // # define _STLP_NATIVE_CPP_C_INCLUDE_PATH ../include
00270 
00271 // This macro constructs header path from directory and name.
00272 // You may change it if your compiler does not understand "/".
00273 // #  define _STLP_MAKE_HEADER(path, header) <path/header>
00274 
00275 // This macro constructs native include header path from include path and name.
00276 // You may have do define it if experimenting problems with preprocessor
00277 // # define _STLP_NATIVE_HEADER(header) _STLP_MAKE_HEADER(_STLP_NATIVE_INCLUDE_PATH,header)
00278 
00279 // Same for C headers
00280 // #define _STLP_NATIVE_C_HEADER(header)
00281 
00282 // uncomment this if your compiler/platform do not fully support the IEC 559 floating point
00283 // numbers specification (also known as IEEE 754 in the US). This specification define the
00284 // infinity and NaN (Not a Number) representation. Unit tests should tell you if your compiler
00285 // support it.
00286 // #  define _STLP_NO_IEC559_SUPPORT 1
00287 
00288 
00289 //==========================================================
00290 #endif



Generated on Mon Mar 10 15:32:46 2008 by  doxygen 1.5.1