stdcpp/include/config/stl_dec_vms.h
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     1 // OpenVMS version
       
     2 
       
     3 # define _STLP_NATIVE_HEADER(header) <sys$library:##header>
       
     4 # define _STLP_NATIVE_C_HEADER(x) <sys$library:##x>
       
     5 # define _STLP_NATIVE_CPP_C_HEADER(header) <sys$library:##header>
       
     6 # define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <sys$library:##header>
       
     7 
       
     8 #if (__DECCXX_VER < 60000000)
       
     9 
       
    10 // automatic template instantiation does not
       
    11 // work with namespaces ;(
       
    12 # define _STLP_HAS_NO_NAMESPACES 1
       
    13 
       
    14 # define _STLP_NO_WCHAR_T  1
       
    15 # define _STLP_NEED_EXPLICIT  1
       
    16 
       
    17 # define _STLP_NO_BOOL  1
       
    18 # define _STLP_NEED_TYPENAME 1
       
    19 # define _STLP_NO_NEW_STYLE_CASTS 1
       
    20 # define _STLP_NEED_MUTABLE 1
       
    21 # define _STLP_NO_BAD_ALLOC 1
       
    22 
       
    23 # define _STLP_NO_NEW_NEW_HEADER 1 
       
    24 # define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1
       
    25 
       
    26 # define _STLP_NO_MEMBER_TEMPLATES 1
       
    27 # define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
       
    28 # define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
       
    29 # define _STLP_NO_FRIEND_TEMPLATES 1
       
    30 # define _STLP_NO_QUALIFIED_FRIENDS 1
       
    31 # define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
       
    32 # define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
       
    33 # define _STLP_NON_TYPE_TMPL_PARAM_BUG 1
       
    34 # define _STLP_BROKEN_USING_DIRECTIVE 1
       
    35 # define _STLP_NO_EXCEPTION_HEADER 1
       
    36 # define _STLP_DEFAULT_CONSTRUCTOR_BUG 1
       
    37 
       
    38 #endif
       
    39 
       
    40 
       
    41 #ifdef __NO_USE_STD_IOSTREAM
       
    42 #  define _STLP_HAS_NO_NEW_IOSTREAMS 1
       
    43 # else
       
    44 // default is to use new iostreams, anyway
       
    45 # ifndef __USE_STD_IOSTREAM
       
    46 #  define __USE_STD_IOSTREAM
       
    47 # endif
       
    48 #endif
       
    49 
       
    50 // # if !defined (_STLP_NEW_IOSTREAMS) && ! defined (_STLP_DONT_REDEFINE_STD) \
       
    51 //  && ! defined (_STLP_REDEFINE_STD)
       
    52 // # undef __PRAGMA_ENVIRONMENT
       
    53 //   #  define _STLP_DONT_REDEFINE_STD
       
    54 // # endif
       
    55 
       
    56 //# ifndef __STD_STRICT_ANSI_ERRORS
       
    57 //# endif
       
    58 
       
    59 #ifndef __EXCEPTIONS
       
    60 # define _STLP_HAS_NO_EXCEPTIONS 1
       
    61 #endif
       
    62 
       
    63 # ifdef __IMPLICIT_INCLUDE_ENABLED
       
    64 
       
    65 #ifndef _STLP_IOSTREAMS
       
    66 // implicit include introduces conflicts
       
    67 // between stlport and native lib.
       
    68 # undef __IMPLICIT_INCLUDE_ENABLED
       
    69 #endif
       
    70 
       
    71 // but, works with ours ;).
       
    72 #  define _STLP_LINK_TIME_INSTANTIATION 1
       
    73 
       
    74 # endif
       
    75 
       
    76 # if defined (__IMPLICIT_USING_STD) && !defined (__NO_USE_STD_IOSTREAM)
       
    77 // we should ban that !
       
    78 #  error "STLport won't work with new iostreams and std:: being implicitly included. Please use -std strict_ansi[_errors] or specify __NO_USE_STD_IOSTREAM"
       
    79 # endif
       
    80 
       
    81 # if !(defined (__STD_STRICT_ANSI) || defined (__STD_STRICT_ANSI_ERRORS))
       
    82 // we want to enforce it
       
    83 #  define _STLP_LONG_LONG long long
       
    84 # endif
       
    85 
       
    86 // unsigned 32-bit integer type
       
    87 #  define _STLP_UINT32_T unsigned int
       
    88 #if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
       
    89 # define _STLP_RAND48 1
       
    90 #endif
       
    91 // #  define _STLP_RAND48 1
       
    92 
       
    93 #  define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1
       
    94 
       
    95 #define _STLP_HAS_NO_NEW_C_HEADERS 1
       
    96