home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / stlpt453.zip / STLport-4.5.3 / stlport / config / new_compiler / stlconf.h.in < prev    next >
Text File  |  2001-05-26  |  4KB  |  134 lines

  1. /*
  2.  * Copyright (c) 1997
  3.  * Moscow Center for SPARC Technology
  4.  *
  5.  * Copyright (c) 1999 
  6.  * Boris Fomitchev
  7.  *
  8.  * This material is provided "as is", with absolutely no warranty expressed
  9.  * or implied. Any use is at your own risk.
  10.  *
  11.  * Permission to use or copy this software for any purpose is hereby granted 
  12.  * without fee, provided the above notices are retained on all copies.
  13.  * Permission to modify the code and to distribute modified code is granted,
  14.  * provided the above notices are retained, and a notice that the code was
  15.  * modified is included with the above copyright notice.
  16.  *
  17.  */
  18.  
  19. #ifndef _STLP_STLCONF_H
  20. # define _STLP_STLCONF_H
  21.  
  22. # undef __AUTO_CONFIGURED
  23.  
  24. //==========================================================
  25. // Getting proper values of autoconf flags
  26. // if you ran 'configure', __AUTO_CONFIGURED is set to 1 and
  27. // specific compiler features will be used.
  28. // Otherwise, the <stlcomp.h> header will be included for per-version
  29. // features recognition.
  30. //==========================================================
  31. # if defined (__AUTO_CONFIGURED)
  32. // auto-configured section
  33.  
  34. # undef _STLP_NO_EXCEPTIONS
  35. # undef _STLP_NO_NAMESPACES
  36. # undef _STLP_NO_RELOPS_NAMESPACE
  37. # undef _STLP_NO_NEW_NEW_HEADER 
  38.  
  39. # undef _STLP_NO_NEW_IOSTREAMS
  40.  
  41. // select threads strategy
  42. # undef _PTHREADS
  43. # undef _NOTHREADS
  44.  
  45. // select SGI-style alloc instead of allocator<T>
  46. # undef _STLP_USE_SGI_ALLOCATORS
  47.  
  48. // select allocation method you like
  49. # undef _STLP_USE_MALLOC
  50. # undef _STLP_USE_NEWALLOC
  51.  
  52. // this one is not mandatory, just enabled
  53. # undef _STLP_USE_DEFALLOC
  54.  
  55. // define _STLP_USE_ABBREVS if your linker has trouble with long 
  56. // external symbols
  57. # undef _STLP_USE_ABBREVS
  58.  
  59.  
  60. // unsigned 32-bit integer type
  61. #  define _STLP_UINT32_T unsigned
  62. #  undef _STLP_NO_BOOL
  63. #  undef _STLP_DONT_USE_BOOL_TYPEDEF
  64. #  undef _STLP_YVALS_H
  65. #  undef _STLP_LIMITED_DEFAULT_TEMPLATES
  66. #  undef _STLP_DEFAULT_TYPE_PARAM
  67. #  undef _STLP_NO_STATIC_TEMPLATE_DATA
  68. #  undef _STLP_RAND48
  69. #  undef _STLP_LOOP_INLINE_PROBLEMS
  70.  
  71. #  undef _STLP_HAS_NO_NAMESPACES
  72.  
  73. #  undef _STLP_NEED_TYPENAME
  74. #  undef _STLP_NEED_EXPLICIT
  75. #  undef _STLP_HAS_NO_EXCEPTIONS
  76. #  undef _STLP_NO_EXCEPTION_SPEC
  77. #  undef _STLP_WEAK_ATTRIBUTE
  78. #  undef _STLP_BASE_MATCH_BUG
  79. #  undef _STLP_NONTEMPL_BASE_MATCH_BUG
  80. #  undef _STLP_NESTED_TYPE_PARAM_BUG
  81. #  undef _STLP_NO_ARROW_OPERATOR
  82. #  undef _STLP_UNINITIALIZABLE_PRIVATE
  83. #  undef _STLP_BASE_TYPEDEF_BUG
  84. #  undef _STLP_BASE_TYPEDEF_OUTSIDE_BUG
  85. #  undef _STLP_CONST_CONSTRUCTOR_BUG
  86.  
  87. #  undef _STLP_NO_NEW_STYLE_CASTS
  88. #  undef _STLP_NO_WCHAR_T
  89. #  undef _STLP_WCHAR_T_IS_USHORT
  90. #  undef _STLP_LONG_LONG
  91. #  undef _STLP_NO_LONG_DOUBLE
  92. #  undef _STLP_NEED_MUTABLE
  93. #  undef _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX
  94. #  undef _STLP_NO_BAD_ALLOC
  95. #  undef _STLP_DEBUG_ALLOC
  96. #  undef _STLP_NO_MEMBER_TEMPLATES
  97. #  undef _STLP_NO_MEMBER_TEMPLATE_CLASSES
  98. #  undef _STLP_NO_MEMBER_TEMPLATE_KEYWORD
  99. #  undef _STLP_NO_FRIEND_TEMPLATES
  100. #  undef _STLP_NO_QUALIFIED_FRIENDS
  101. #  undef _STLP_NO_CLASS_PARTIAL_SPECIALIZATION
  102. #  undef _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER
  103. #  undef _STLP_AUTOMATIC_TYPE_TRAITS
  104. #  undef _STLP_MEMBER_POINTER_PARAM_BUG
  105. #  undef _STLP_NON_TYPE_TMPL_PARAM_BUG
  106. #  undef _STLP_NO_DEFAULT_NON_TYPE_PARAM
  107. #  undef _STLP_NO_METHOD_SPECIALIZATION
  108. #  undef _STLP_STATIC_ARRAY_BUG
  109. #  undef _STLP_STATIC_CONST_INIT_BUG
  110. #  undef _STLP_TRIVIAL_CONSTRUCTOR_BUG
  111. #  undef _STLP_TRIVIAL_DESTRUCTOR_BUG
  112. #  undef _STLP_BROKEN_USING_DIRECTIVE
  113. #  undef _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS
  114. #  undef _STLP_NO_EXCEPTION_HEADER
  115. #  undef _STLP_DEFAULT_CONSTRUCTOR_BUG
  116.  
  117. #  undef _STLP_HAS_NO_NEW_IOSTREAMS
  118. #  undef _STLP_HAS_NO_NEW_C_HEADERS 
  119. #  undef _STLP_STATIC_CONST_INIT_BUG
  120. // new ones
  121. #  undef _STLP_THROW_RETURN_BUG
  122. // unimp
  123. #  undef _STLP_LINK_TIME_INSTANTIATION
  124. #  undef _STLP_PARTIAL_SPEC_NEEDS_TEMPLATE_ARGS
  125. // unimp
  126. #  undef _STLP_NO_TEMPLATE_CONVERSIONS
  127. # endif /* AUTO_CONFIGURED */
  128.  
  129. //==========================================================
  130.  
  131.  
  132. #endif /* __STLCONF_H */
  133.  
  134.