ReactOS 0.4.15-dev-7958-gcd0bb1a
_dec_vms.h
Go to the documentation of this file.
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_QUALIFIED_FRIENDS 1
32# define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
33# define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
34# define _STLP_NON_TYPE_TMPL_PARAM_BUG 1
35# define _STLP_BROKEN_USING_DIRECTIVE 1
36# define _STLP_NO_EXCEPTION_HEADER 1
37# define _STLP_DEF_CONST_PLCT_NEW_BUG 1
38# define _STLP_DEF_CONST_DEF_PARAM_BUG 1
39
40#endif
41
42
43#ifdef __NO_USE_STD_IOSTREAM
44# define _STLP_USE_NO_IOSTREAMS 1
45# else
46// default is to use new iostreams, anyway
47# ifndef __USE_STD_IOSTREAM
48# define __USE_STD_IOSTREAM
49# endif
50#endif
51
52#ifndef __EXCEPTIONS
53# define _STLP_HAS_NO_EXCEPTIONS 1
54#endif
55
56# ifdef __IMPLICIT_INCLUDE_ENABLED
57
58#ifdef _STLP_USE_NO_IOSTREAMS
59// implicit include introduces conflicts
60// between stlport and native lib.
61# undef __IMPLICIT_INCLUDE_ENABLED
62#endif
63
64// but, works with ours ;).
65# define _STLP_LINK_TIME_INSTANTIATION 1
66
67# endif
68
69# if defined (__IMPLICIT_USING_STD) && !defined (__NO_USE_STD_IOSTREAM)
70// we should ban that !
71# 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"
72# endif
73
74# if !(defined (__STD_STRICT_ANSI) || defined (__STD_STRICT_ANSI_ERRORS))
75// we want to enforce it
76# define _STLP_LONG_LONG long long
77# endif
78
79// unsigned 32-bit integer type
80# define _STLP_UINT32_T unsigned int
81#if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
82# define _STLP_RAND48 1
83#endif
84// # define _STLP_RAND48 1
85
86# define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1
87
88#define _STLP_HAS_NO_NEW_C_HEADERS 1
89