/usr/include/vxl/vcl/emulation/sgi-CC-stlconf.h is in libvxl1-dev 1.17.0.dfsg2-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 | /* stlconf.h. Generated automatically by configure. */
/*
*
* Copyright (c) 1997
* Moscow Center for SPARC Technology
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation. Moscow Center for SPARC Technology makes no
* representations about the suitability of this software for any
* purpose. It is provided "as is" without express or implied warranty.
*
*/
#ifndef __SGI_STL_STLCONF_H
# define __SGI_STL_STLCONF_H
// define that to disable these features
#define __STL_NO_EXCEPTIONS
#undef __STL_USE_EXCEPTIONS
/* # undef __STL_NO_NAMESPACES */
// select allocation method you like
/* # undef __STL_USE_MALLOC */
/* # undef __STL_USE_NEWALLOC */
// this one is not mandatory, just enabled
/* # undef __STL_USE_DEFALLOC */
// define NO_USING_STD if don't want using STL namespace by default
// new-style-headers define that to get proper behaviour
/* # undef __STL_NO_USING_STD */
// define __STL_USE_ABBREVS if your linker has trouble with long
// external symbols
/* # undef __STL_USE_ABBREVS */
#define __STL_EAGER_TYPECHECK 1
// unsigned 32-bit integer type
# define __STL_UINT32_T unsigned int
// Later SGI compilers define _BOOL
#ifdef _BOOL
#define __STL_BOOL_KEYWORD
#endif
/* # undef __STL_BOOL_KEYWORD */
/* # undef __STL_RESERVED_BOOL_KEYWORD */
/* # undef __STL_YVALS_H */
# define __STL_DEFAULT_TEMPLATE_PARAM
# define __STL_DEFAULT_TYPE_PARAM 1
# define __STL_STATIC_TEMPLATE_DATA 1
# define __STL_RAND48 1
/* # undef __STL_LOOP_INLINE_PROBLEMS */
/* # undef __STL_NAMESPACES */
/* # undef __STL_TYPENAME */
/* # undef __STL_EXPLICIT */
/* # undef __STL_USE_EXCEPTIONS */
/* # undef __STL_EXCEPTION_SPEC */
/* # undef __STL_WEAK_ATTRIBUTE */
# define __STL_BASE_MATCH_BUG 1
/* # undef __STL_NESTED_TYPE_PARAM_BUG */
# define __STL_UNUSED_REQUIRED_BUG 1
#ifndef _COMPILER_VERSION
# define __STL_UNINITIALIZABLE_PRIVATE
#endif
# define __STL_BASE_TYPEDEF_BUG
/* # undef __STL_BASE_TYPEDEF_OUTSIDE_BUG */
# define __STL_CONST_CONSTRUCTOR_BUG 1
/* # undef __STL_NEW_HEADER_NAMES */
/* # undef __STL_NEW_STYLE_CASTS */
/* # undef __STL_WCHAR_T */
# define __STL_LONG_LONG 1
# define __STL_LONG_DOUBLE 1
# define __STL_MUTABLE 1
/* # undef __STL_FULL_SPEC_SYNTAX */
/* # undef __STL_BAD_ALLOC_DEFINED */
/* # undef __STL_DEBUG_ALLOC */
/* # undef __STL_MEMBER_TEMPLATES */
/* # undef __STL_FRIEND_TEMPLATES */
/* # undef __STL_CLASS_PARTIAL_SPECIALIZATION */
/* # undef __STL_FUNC_PARTIAL_ORDERING */
/* # undef __STL_AUTOMATIC_TYPE_TRAITS */
/* # undef __STL_MEMBER_POINTER_PARAM_BUG */
//==========================================================
//==========================================================
// final workaround tuning based on given flags
//==========================================================
// some justification
# if !defined ( __STL_STATIC_TEMPLATE_DATA )
# define __STL_STATIC_TEMPLATE_DATA 1
# if !defined ( __STL_WEAK_ATTRIBUTE )
# define __STL_WEAK_ATTRIBUTE 0
# endif
# endif
# if defined (__STL_BASE_TYPEDEF_BUG)
/* # undef __STL_BASE_TYPEDEF_OUTSIDE_BUG */
# define __STL_BASE_TYPEDEF_OUTSIDE_BUG 1
# endif
// features tuning
# ifdef __STL_DEBUG
# define __STL_ASSERTIONS 1
# endif
# ifdef __STL_ASSERTIONS
# define __stl_assert(expr) \
if (!(expr)) { fprintf(stderr, "%s:%d STL assertion failure: %s\n", \
__FILE__, __LINE__, # expr); vcl_abort(); }
# else
# define __stl_assert(expr)
# endif
# ifdef __STL_DEBUG
# define __stl_verbose_assert(expr,diagnostic) \
if (!(expr)) { fprintf(stderr, "%s:%d STL error : %s\n%s:%d STL assertion failure: %s\n",\
__FILE__, __LINE__ , diagnostic, __FILE__, __LINE__ , # expr ); vcl_abort(); }
# define __stl_debug_check(expr) __stl_assert(expr)
# define __stl_debug_do(expr) expr
# else
# define __stl_verbose_assert(expr,diagnostic) __stl_assert(expr)
# define __stl_debug_check(expr)
# define __stl_debug_do(expr)
# endif
# ifdef __STL_RAND48
# define __rand lrand48
# else
# define __rand rand
# endif
// tuning of static template data members workaround
# if ( __STL_STATIC_TEMPLATE_DATA < 1 )
// ignore __PUT directive in this case
# if ( __STL_WEAK_ATTRIBUTE > 0 )
# define __DECLARE_INSTANCE(type,item,init) type item __attribute__ (( weak )) = init
# else
# ifdef __PUT_STATIC_DATA_MEMBERS_HERE
# define __DECLARE_INSTANCE(type,item,init) type item = init
# else
# define __DECLARE_INSTANCE(type,item,init)
# endif /* __PUT_STATIC_DATA_MEMBERS_HERE */
# endif /* __STL_WEAK_ATTRIBUTE */
# endif /* __STL_STATIC_TEMPLATE_DATA */
// default parameters as template types derived from arguments ( not always supported )
# if ! defined (__STL_DEFAULT_TEMPLATE_PARAM)
# define __DFL_TMPL_PARAM( classname, defval ) class classname
# define __DFL_TMPL_ARG(classname) , classname
# else
# define __STL_DEFAULT_TYPE_PARAM 1
# define __DFL_TMPL_PARAM( classname, defval ) class classname = defval
# define __DFL_TMPL_ARG(classname)
# endif
// default parameters as complete types
# if defined ( __STL_DEFAULT_TYPE_PARAM )
# define __DFL_TYPE_PARAM( classname, defval ) class classname = defval
# define __DFL_TYPE_ARG(classname)
# else
# define __DFL_TYPE_PARAM( classname, defval ) class classname
# define __DFL_TYPE_ARG(classname) , classname
# endif
// default parameters workaround tuning
# if defined ( __STL_DEFAULT_TYPE_PARAM ) || ( defined ( __STL_NAMESPACES )&&! defined (__STL_NO_NAMESPACES))
# define __WORKAROUND_RENAME(X) X
# else
# define __WORKAROUND_RENAME(X) __##X
# endif
// namespace selection
# if defined (__STL_NAMESPACES) && ! defined (__STL_NO_NAMESPACES)
// change this if don't think that is standard enough ;)
# define __STL_NAMESPACE std
# define __BEGIN_STL_NAMESPACE namespace __STL_NAMESPACE {
# define __STL_USING_NAMESPACE using namespace __STL_NAMESPACE;
# ifdef __STL_NO_USING_STD
# define __USING_NAMESPACE
# else
# define __USING_NAMESPACE using namespace __STL_NAMESPACE;
# endif
# ifdef __STL_DEFAULT_TYPE_PARAM
# define __STL_FULL_NAMESPACE __STL_NAMESPACE
# define __BEGIN_STL_FULL_NAMESPACE
# define __END_STL_FULL_NAMESPACE
# else
# define __STL_FULL_NAMESPACE sgi_full
# define __BEGIN_STL_FULL_NAMESPACE namespace __STL_FULL_NAMESPACE {
# define __END_STL_FULL_NAMESPACE };
# endif
# define __END_STL_NAMESPACE }; __USING_NAMESPACE
// workaround tuning
# define __FULL_NAME(X) __STL_FULL_NAMESPACE::__WORKAROUND_RENAME(X)
# else /* __STL_NAMESPACES */
# define __STL_NAMESPACE
# define __STL_FULL_NAMESPACE
# define __BEGIN_STL_NAMESPACE
# define __END_STL_NAMESPACE
# define __BEGIN_STL_FULL_NAMESPACE
# define __END_STL_FULL_NAMESPACE
# define __STL_USING_NAMESPACE
// workaround tuning
# define __FULL_NAME(X) __WORKAROUND_RENAME(X)
# endif /* __STL_NAMESPACES */
# define __STL_NAME(name) vcl_##name // Lo Russo Graziano <Graziano.LoRusso@CSELT.IT>
// advanced keywords usage
# ifdef __STL_NEW_STYLE_CASTS
# define __CONST_CAST(x,y) const_cast<x>(y)
# else
# define __CONST_CAST(x,y) ((x)y)
# endif
# ifndef __STL_TYPENAME
# define typename
# endif
# ifndef __STL_EXPLICIT
# define explicit
# endif
# ifdef __STL_MUTABLE
# define __ASSIGN_MUTABLE(type,x,y) x=y
# else
# define __ASSIGN_MUTABLE(type,x,y) __CONST_CAST(type,x)=y
# define mutable
# endif
// exception-specific macros.
// most of them require double parens : (())
# if defined ( __STL_NO_EXCEPTIONS) || ! defined (__STL_USE_EXCEPTIONS)
# define IUEg__TRY
# define IUEg__CATCH(x) if (false)
# define IUEg__THROW(arg)
# define IUEg__RETHROW
# else
# define IUEg__CATCH(x) catch x
# define IUEg__TRY try
# define IUEg__THROW(arg) throw arg
# define IUEg__RETHROW throw
# endif
// throw specification ( used in inline constructors
// to improve efficiency some compilers )
// param count is variable, parens used.
# if defined ( __STL_NO_EXCEPTIONS ) || ! defined ( __STL_EXCEPTION_SPEC )
# define IUEg__THROWS(x)
# else
# define IUEg__THROWS(x) throw x
# endif
# if defined (__STL_LOOP_INLINE_PROBLEMS)
# define INLINE_LOOP
# else
# define INLINE_LOOP inline
# endif
#if defined ( __STL_UNINITIALIZABLE_PRIVATE )
# define __PRIVATE public
// Extra access restrictions prevent us from really making some things
// private.
#else
# define __PRIVATE private
#endif
# ifdef __STL_FULL_SPEC_SYNTAX
# define __STL_FULL_SPECIALIZATION template<>
# else
# define __STL_FULL_SPECIALIZATION
# endif
# define __IMPORT_CONTAINER_TYPEDEFS(super) \
typedef typename super::value_type value_type; \
typedef typename super::reference reference; \
typedef typename super::size_type size_type; \
typedef typename super::const_reference const_reference; \
typedef typename super::difference_type difference_type;
# define __IMPORT_ITERATORS(super) \
typedef typename super::iterator iterator; \
typedef typename super::const_iterator const_iterator;
# define __IMPORT_REVERSE_ITERATORS(super) \
typedef typename super::const_reverse_iterator const_reverse_iterator; \
typedef typename super::reverse_iterator reverse_iterator;
#define __IMPORT_SUPER_COPY_ASSIGNMENT(__derived_name) \
__derived_name(const self& x) : super(x) {} \
__derived_name(const super& x) : super(x) {} \
self& operator=(const self& x) { \
super::operator=(x); \
return *this; \
} \
self& operator=(const super& x) { \
super::operator=(x); \
return *this; \
}
# if defined (__STL_BASE_TYPEDEF_OUTSIDE_BUG) || defined (__STL_NESTED_TYPE_PARAM_BUG)
# define __CONTAINER_SUPER_TYPEDEFS \
__IMPORT_CONTAINER_TYPEDEFS(super) __IMPORT_ITERATORS(super) __IMPORT_REVERSE_ITERATORS(super)
# else
# define __CONTAINER_SUPER_TYPEDEFS
# endif
//==========================================================
#endif /* __STLCONF_H */
|