stlcomp.h

00001 /*
00002  * Copyright (c) 1997
00003  * Moscow Center for SPARC Technology
00004  *
00005  * Copyright (c) 1999 
00006  * Boris Fomitchev
00007  *
00008  * This material is provided "as is", with absolutely no warranty expressed
00009  * or implied. Any use is at your own risk.
00010  *
00011  * Permission to use or copy this software for any purpose is hereby granted 
00012  * without fee, provided the above notices are retained on all copies.
00013  * Permission to modify the code and to distribute modified code is granted,
00014  * provided the above notices are retained, and a notice that the code was
00015  * modified is included with the above copyright notice.
00016  *
00017  */
00018 
00019 /*
00020  * Purpose of this file :
00021  *
00022  * To hold COMPILER-SPECIFIC portion of STLport settings.
00023  * In general, user should not edit this file unless 
00024  * using the compiler not recognized below.
00025  *
00026  * If your compiler is not being recognized yet, 
00027  * please look for definitions of macros in stl_mycomp.h,
00028  * copy stl_mycomp.h to stl_YOUR_COMPILER_NAME, 
00029  * adjust flags for your compiler, and add  <include config/stl_YOUR_COMPILER_NAME>
00030  * to the secton controlled by unique macro defined internaly by your compiler.
00031  *
00032  * To change user-definable settings, please edit <../stl_user_config.h> 
00033  *
00034  */
00035 
00036 #ifndef _STLP_COMP_H
00037 # define _STLP_COMP_H
00038 
00039 #  define __GIVE_UP_WITH_STL(message) void give_up() \
00040    { upgrade_the_compiler_to_use_STL;}
00041 
00042 /* distinguish real MSC from Metrowerks and Intel */
00043 # if defined(_MSC_VER) && !defined(__MWERKS__) && !defined (__ICL) && !defined (__COMO__) && !defined (__SYMBIAN32__)
00044 #  define _STLP_MSVC _MSC_VER
00045 # endif
00046 
00047 # if defined (__xlC__)  || defined (__IBMC__) || defined ( __IBMCPP__ ) 
00048 /* AIX xlC, Visual Age C++ , OS-390 C++ */
00049 #  include <config/stl_ibm.h>
00050 # elif defined (__GNUC__ ) && !defined (__SYMBIAN32__)
00051 #  include <config/stl_gcc.h>
00052 # elif defined (__KCC)
00053 #  include <config/stl_kai.h>
00054 # elif defined(__sgi)
00055 #  include <config/stl_sgi.h>
00056 # elif (defined(__OS400__))
00057 /* AS/400 C++ */
00058 #  include <config/stl_as400.h>
00059 # elif defined(_STLP_MSVC)
00060 /* Microsoft Visual C++ 4.0, 4.1, 4.2, 5.0 */
00061 #  include <config/stl_msvc.h>
00062 # elif defined ( __BORLANDC__ )
00063 /* Borland C++ ( 4.x - 5.x ) */
00064 #  include <config/stl_bc.h>
00065 # elif defined(__SUNPRO_CC) || defined (__SUNPRO_C)
00066 /* SUN CC 4.0.1-5.0  */
00067 #  include <config/stl_sunpro.h>
00068 # elif defined (__WATCOM_CPLUSPLUS__) || defined (__WATCOMC__)
00069 /* Watcom C++ */
00070 #  include <config/stl_watcom.h>
00071 # elif defined(__COMO__) || defined (__COMO_VERSION_)
00072 #  include <config/stl_como.h>
00073 # elif defined (__SC__) && (__SC__ < 0x800)
00074 /* Symantec 7.5 */
00075 #  include <config/stl_symantec.h>
00076 # elif defined (__MRC__) || (defined (__SC__) && (__SC__ >= 0x882))
00077 /* Apple MPW SCpp 8.8.2  
00078  * Apple MPW MrCpp 4.1.0 */
00079 #  include <config/stl_apple.h>
00080 # elif defined (__MWERKS__)
00081 /* Metrowerks CodeWarrior */
00082 #  include <config/stl_mwerks.h>
00083 # elif defined(__hpux)
00084 /* HP compilers */
00085 #  include <config/stl_hpacc.h>
00086 # elif defined(__ICL)
00087 /* Intel reference compiler for Win */
00088 #  include <config/stl_intel.h>
00089 /* SCO UDK 7 compiler (UnixWare 7x, OSR 5, UnixWare 2x) */
00090 # elif defined(__USLC__)
00091 #  include <config/stl_sco.h>
00092 /* Apogee 4.x */
00093 # elif defined (__APOGEE__)
00094 #  include <config/stl_apcc.h>
00095 # elif defined (__DECCXX) || defined (__DECC)
00096 #  ifdef __vms
00097 #    include <config/stl_dec_vms.h>
00098 #  else
00099 #    include <config/stl_dec.h>
00100 #  endif
00101 # elif defined (__ISCPP__)
00102 #  include <config/stl_is.h>
00103 # elif defined (__FCC_VERSION)
00104 /* Fujutsu Compiler, v4.0 assumed */
00105 #  include <config/stl_fujitsu.h>
00106 # elif defined (__SYMBIAN32__)
00107 /* Symbian EPOC */
00108 #  include <config/stl_epoc.h>
00109 # else
00110 /* Unable to identify the compiler, issue error diagnostic.
00111  * Edit <config/stl_mycomp.h> to set STLport up for your compiler. */
00112 #  include <config/stl_mycomp.h>
00113 # endif /* end of compiler choice */
00114 # undef __GIVE_UP_WITH_STL
00115 #endif
00116 

Generated on Mon Jun 5 10:20:45 2006 for Intelligence.kdevelop by  doxygen 1.4.6