]> git.buserror.net Git - polintos/scott/priv.git/blob - include/c++/stl/stl/config/_dec_vms.h
Add STLport 5.1.4
[polintos/scott/priv.git] / include / c++ / stl / stl / config / _dec_vms.h
1 // OpenVMS version
2
3 #define _STLP_COMPILER "Dec Vms"
4
5 # define _STLP_NATIVE_HEADER(header) <sys$library:##header>
6 # define _STLP_NATIVE_C_HEADER(x) <sys$library:##x>
7 # define _STLP_NATIVE_CPP_C_HEADER(header) <sys$library:##header>
8 # define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <sys$library:##header>
9
10 #if (__DECCXX_VER < 60000000)
11
12 // automatic template instantiation does not
13 // work with namespaces ;(
14 # define _STLP_HAS_NO_NAMESPACES 1
15
16 # define _STLP_NO_WCHAR_T  1
17 # define _STLP_NEED_EXPLICIT  1
18
19 # define _STLP_NO_BOOL  1
20 # define _STLP_NEED_TYPENAME 1
21 # define _STLP_NO_NEW_STYLE_CASTS 1
22 # define _STLP_NEED_MUTABLE 1
23 # define _STLP_NO_BAD_ALLOC 1
24
25 # define _STLP_NO_NEW_NEW_HEADER 1
26 # define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1
27
28 # define _STLP_NO_MEMBER_TEMPLATES 1
29 # define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
30 # define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
31 # define _STLP_NO_FRIEND_TEMPLATES 1
32 # define _STLP_NO_QUALIFIED_FRIENDS 1
33 # define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
34 # define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
35 # define _STLP_NON_TYPE_TMPL_PARAM_BUG 1
36 # define _STLP_BROKEN_USING_DIRECTIVE 1
37 # define _STLP_NO_EXCEPTION_HEADER 1
38 # define _STLP_DEF_CONST_PLCT_NEW_BUG 1
39 # define _STLP_DEF_CONST_DEF_PARAM_BUG 1
40
41 #endif
42
43
44 #ifdef __NO_USE_STD_IOSTREAM
45 #  define _STLP_USE_NO_IOSTREAMS 1
46 # else
47 // default is to use new iostreams, anyway
48 # ifndef __USE_STD_IOSTREAM
49 #  define __USE_STD_IOSTREAM
50 # endif
51 #endif
52
53 #ifndef __EXCEPTIONS
54 # define _STLP_HAS_NO_EXCEPTIONS 1
55 #endif
56
57 # ifdef __IMPLICIT_INCLUDE_ENABLED
58
59 #ifdef _STLP_USE_NO_IOSTREAMS
60 // implicit include introduces conflicts
61 // between stlport and native lib.
62 # undef __IMPLICIT_INCLUDE_ENABLED
63 #endif
64
65 // but, works with ours ;).
66 #  define _STLP_LINK_TIME_INSTANTIATION 1
67
68 # endif
69
70 # if defined (__IMPLICIT_USING_STD) && !defined (__NO_USE_STD_IOSTREAM)
71 // we should ban that !
72 #  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"
73 # endif
74
75 # if !(defined (__STD_STRICT_ANSI) || defined (__STD_STRICT_ANSI_ERRORS))
76 // we want to enforce it
77 #  define _STLP_LONG_LONG long long
78 # endif
79
80 // unsigned 32-bit integer type
81 #  define _STLP_UINT32_T unsigned int
82 #if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
83 # define _STLP_RAND48 1
84 #endif
85 // #  define _STLP_RAND48 1
86
87 #  define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1
88
89 #define _STLP_HAS_NO_NEW_C_HEADERS 1
90