ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

_dm.h
Go to the documentation of this file.
00001 // STLport configuration file for Digital Mars C++
00002 
00003 #define _STLP_COMPILER __DMC_VERSION_STRING__
00004 
00005 #if (__DMC__ < 0x849)
00006 #  error "Digital Mars C++ compilers before version 8.49 are not supported!"
00007 #endif
00008 
00009 /* DMC goes too far in template instanciation and tries to fully instanciate
00010  * slist<pair<const int, string> > for instance. The generation of assignment
00011  * operator fails of course so we are force to use mutable key for this compiler.
00012  */
00013 #define _STLP_NO_CONST_IN_PAIR
00014 #define _STLP_DONT_SUP_DFLT_PARAM
00015 
00016 #ifndef _CPPUNWIND
00017 #  define _STLP_NO_EXCEPTIONS
00018 #endif
00019 
00020 #ifndef _CPPRTTI
00021 #  define _STLP_NO_RTTI
00022 #endif
00023 
00024 #define _STLP_VENDOR_GLOBAL_CSTD
00025 
00026 //DMC prefer enum to real static const variable because it do not consider
00027 //static const as const enough to be used in switch declaration...
00028 #define _STLP_STATIC_CONST_INIT_BUG
00029 
00030 #if !defined (_WIN32)
00031 // it's not fully supported on non-Win32 platforms
00032 #  define _STLP_NO_NATIVE_WIDE_FUNCTIONS
00033 #endif
00034 
00035 /* _STLP_NO_OWN_NAMESPACE is defined because Digital Mars' linker and libarian
00036    appear to have problems with STLport namespaces. Summary of the issues:
00037 
00038    STATIC: Digital Mars' librarian (lib.exe) may fail with "len <= IDMAX" error
00039    if _STLP_DEBUG is defined.  This is because Digital Mars' librarian uses
00040    Microsoft OMF format, which limits identifier length to about 512 bytes.
00041    With STLport namespaces, some identifiers such as Category_Map in
00042    src/locale_catalog.cpp may exceed the maximum OMF identifier length.
00043 
00044    DYNAMIC: Export issues with cin, cout, cerr, clog in src/iostream.cpp.
00045    Exports in Digital Mars 'def' file must match mangled names in iostream.cpp.
00046    With STLport namespaces, the mangled names in the intermediate files no
00047    longer match these pre-defined exports. To use STLport dynamic libraries
00048    and STLport namespaces with Digital Mars, the pre-defined exports in
00049    src/iostream.cpp and the related Digital Mars 'def' files would need to be
00050    revised. */
00051 #define _STLP_NO_OWN_NAMESPACE 1
00052 
00053 // select threads strategy
00054 #if defined (_MT) && !defined (_STLP_NO_THREADS)
00055 #  define _STLP_THREADS
00056 #endif
00057 
00058 #ifndef _BOOL_DEFINED
00059 #  define _STLP_NO_BOOL
00060 #else
00061 #  define _STLP_DONT_USE_BOOL_TYPEDEF
00062 #endif
00063 
00064 #if _INTEGRAL_MAX_BITS >= 64
00065 #  define _STLP_LONG_LONG long long
00066 #endif
00067 
00068 #define _STLP_MARK_PARAMETER_AS_UNUSED(X)
00069 #define _STLP_DONT_USE_PRIV_NAMESPACE
00070 #define _STLP_PRIV
00071 #define _STLP_THROW_RETURN_BUG
00072 
00073 #if !defined (_DLL)
00074 #  undef _STLP_NO_UNEXPECTED_EXCEPT_SUPPORT
00075 #endif
00076 
00077 #if (__DMC__ < 0x849)
00078 #  define _STLP_NO_BAD_ALLOC
00079 #endif
00080 
00081 #define _STLP_USE_ABBREVS
00082 #define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER
00083 
00084 #define _STLP_USE_MSVC6_MEM_T_BUG_WORKAROUND
00085 #define _STLP_EXPORT_DECLSPEC __declspec(dllexport)
00086 #define _STLP_IMPORT_DECLSPEC __declspec(dllimport)
00087 
00088 #define _STLP_CLASS_EXPORT_DECLSPEC __declspec(dllexport)
00089 #define _STLP_CLASS_IMPORT_DECLSPEC __declspec(dllimport)
00090 
00091 #define _STLP_NEED_ADDITIONAL_STATIC_DECLSPEC
00092 
00093 //#define _STLP_IMPORT_TEMPLATE_KEYWORD __declspec(dllimport)
00094 //#define _STLP_EXPORT_TEMPLATE_KEYWORD __declspec(dllexport)
00095 
00096 #if defined (_WINDLL)
00097 #  define _STLP_DLL
00098 #endif
00099 #if defined (_DLL)
00100 #  define _STLP_RUNTIME_DLL
00101 #endif
00102 #include <stl/config/_detect_dll_or_lib.h>
00103 #undef _STLP_RUNTIME_DLL
00104 #undef _STLP_DLL
00105 
00106 #if defined (_STLP_USE_DYNAMIC_LIB)
00107 #  define _STLP_USE_DECLSPEC 1
00108 #  if defined (__BUILDING_STLPORT)
00109 #    define _STLP_CALL __export
00110 #  else
00111 #    define _STLP_CALL
00112 #  endif
00113 #else
00114 #  define _STLP_CALL
00115 #endif
00116 
00117 #include <stl/config/_auto_link.h>
00118 
00119 #undef __SC__
00120 
00121 #include <stl/config/_feedback.h>

Generated on Sun May 27 2012 04:29:47 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.