This commit is contained in:
romkazvo
2023-08-07 19:29:24 +08:00
commit 34d6c5d489
4832 changed files with 1389451 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
This directory should be included in search path when compiling
with Borland C++ 5.0x compiler (maybe later ones, too).
It provides wrappers that force inclusion of STLport files without extensions.
If you want to preserve old-style HP semantics, include ../old_hp BEFORE this directory
to include HP-style STL headers (with "using" directives). If namespaces are disabled,
this one should be enough.

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_algorithm_H
# define __STLPORT_BC_algorithm_H
# include <..\algorithm.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,31 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_memory_H
# define __STLPORT_BC_memory_H
# include <..\memory.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_cstddef_H
# define __STLPORT_BC_cstddef_H
# include <..\cstddef.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,16 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
# include <..\stdlib.h>
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_bitset_H
# define __STLPORT_BC_bitset_H
# include <..\bitset.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_cassert_H
# define __STLPORT_BC_cassert_H
# include <..\cassert.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_cctype_H
# define __STLPORT_BC_cctype_H
# include <..\cctype.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_cerrno_H
# define __STLPORT_BC_cerrno_H
# include <..\cerrno.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_cfloat_H
# define __STLPORT_BC_cfloat_H
# include <..\cfloat.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_climits_H
# define __STLPORT_BC_climits_H
# include <..\climits.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_clocale_H
# define __STLPORT_BC_clocale_H
# include <..\clocale.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_cmath_H
# define __STLPORT_BC_cmath_H
# include <..\cmath.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,31 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_complex_H
# define __STLPORT_BC_complex_H
# include <..\complex.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_csetjmp_H
# define __STLPORT_BC_csetjmp_H
# include <..\csetjmp.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_csignal_H
# define __STLPORT_BC_csignal_H
# include <..\csignal.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_cstdarg_H
# define __STLPORT_BC_cstdarg_H
# include <..\cstdarg.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_cstddef_H
# define __STLPORT_BC_cstddef_H
# include <..\cstddef.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_cstdio_H
# define __STLPORT_BC_cstdio_H
# include <..\cstdio.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,16 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
# include <..\cstdlib.>
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,19 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_cstring_H
# define __STLPORT_BC_cstring_H
# include <..\cstring.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_ctime_H
# define __STLPORT_BC_ctime_H
# include <..\ctime.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_cwchar_H
# define __STLPORT_BC_cwchar_H
# include <..\cwchar.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_cwctype_H
# define __STLPORT_BC_cwctype_H
# include <..\cwctype.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_deque_H
# define __STLPORT_BC_deque_H
# include <..\deque.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_exceptio_H
# define __STLPORT_BC_exceptio_H
# include <..\exception.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_fstream_H
# define __STLPORT_BC_fstream_H
# include <..\fstream.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_functional_H
# define __STLPORT_BC_functional_H
# include <..\functional.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_hash_map_H
# define __STLPORT_BC_hash_map_H
# include <..\hash_map.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_hash_set_H
# define __STLPORT_BC_hash_set_H
# include <..\hash_set.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_iomanip_H
# define __STLPORT_BC_iomanip_H
# include <..\iomanip.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_ios_H
# define __STLPORT_BC_ios_H
# include <..\ios.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_iosfwd_H
# define __STLPORT_BC_iosfwd_H
# include <..\iosfwd.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_iostream_H
# define __STLPORT_BC_iostream_H
# include <..\iostream.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_istream_H
# define __STLPORT_BC_istream_H
# include <..\istream.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_iterator_H
# define __STLPORT_BC_iterator_H
# include <..\iterator.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
// include BC native <limits.h>
#include <..\climits.>
#ifndef __IN_STLPORT_CLIMITS
# include <..\limits.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_list_H
# define __STLPORT_BC_list_H
# include <..\list.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,30 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
# include <..\clocale.>
# ifndef __IN_STLPORT_CLOCALE
# include <..\locale.>
# endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,12 @@
#!/bin/sh
for file in `cat ../export_names`
do
rm -fr $file.h
cat stl_tmpl.h | sed -e "s/REPLACEME/$file/g" > $file.h
done
mv algorithm.h algorith.h
mv functional.h function.h
mv stdexcept.h stdexcep.h
mv streambuf.h streambu.h
mv strstream.h strstrea.h

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_map_H
# define __STLPORT_BC_map_H
# include <..\map.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,33 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_memory_H
# define __STLPORT_BC_memory_H
# include <..\include\memory.h>
# include <..\memory.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_numeric_H
# define __STLPORT_BC_numeric_H
# include <..\numeric.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_ostream_H
# define __STLPORT_BC_ostream_H
# include <..\ostream.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_pthread_alloc_H
# define __STLPORT_BC_pthread_alloc_H
# include <..\pthread_alloc.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_queue_H
# define __STLPORT_BC_queue_H
# include <..\queue.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_rope_H
# define __STLPORT_BC_rope_H
# include <..\rope.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_set_H
# define __STLPORT_BC_set_H
# include <..\set.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_slist_H
# define __STLPORT_BC_slist_H
# include <..\slist.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_sstream_H
# define __STLPORT_BC_sstream_H
# include <..\sstream.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_stack_H
# define __STLPORT_BC_stack_H
# include <..\stack.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_stdexcept_H
# define __STLPORT_BC_stdexcept_H
# include <..\stdexcept.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_REPLACEME_H
# define __STLPORT_BC_REPLACEME_H
# include <..\REPLACEME.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_streambuf_H
# define __STLPORT_BC_streambuf_H
# include <..\streambuf.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,31 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_streambuf_H
# define __STLPORT_BC_streambuf_H
# include <..\streambuf.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,33 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
# include <..\string.h>
# ifndef __IN_STLPORT_CSTRING
// okay, include STLPort header
# include <..\string.>
# endif /* __IN_STLPORT_CSTRING */
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_strstream_H
# define __STLPORT_BC_strstream_H
# include <..\strstream.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_typeinfo_H
# define __STLPORT_BC_typeinfo_H
# include <..\typeinfo.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,54 @@
using _STLP_VENDOR_CSTD::size_t;
# ifndef _STLP_NO_CSTD_FUNCTION_IMPORTS
# if defined(__MSL__) && __MC68K__ && !_No_BlockMove && __dest_os == __mac_os
# undef memcpy
# undef memmove
inline void* memcpy(void* dst, const void* src, size_t len)
{
return _STLP_VENDOR_CSTD::__memcpy(dst, src, len);
}
inline void* memmove(void* dst, const void* src, size_t len)
{
return _STLP_VENDOR_CSTD::__memmove(dst, src, len);
}
# else
using _STLP_VENDOR_CSTD::memmove;
using _STLP_VENDOR_CSTD::memcpy;
# endif
# if ! defined (__BORLANDC__)
using _STLP_VENDOR_CSTD::memchr;
using _STLP_VENDOR_CSTD::strchr;
using _STLP_VENDOR_CSTD::strpbrk;
using _STLP_VENDOR_CSTD::strrchr;
using _STLP_VENDOR_CSTD::strstr;
# endif
using _STLP_VENDOR_CSTD::memcmp;
using _STLP_VENDOR_CSTD::memset;
using _STLP_VENDOR_CSTD::strcat;
# if !defined (strcmp)
using _STLP_VENDOR_CSTD::strcmp;
# endif
using _STLP_VENDOR_CSTD::strcoll;
# if !defined (strcpy)
using _STLP_VENDOR_CSTD::strcpy;
# endif
using _STLP_VENDOR_CSTD::strcspn;
using _STLP_VENDOR_CSTD::strerror;
using _STLP_VENDOR_CSTD::strlen;
using _STLP_VENDOR_CSTD::strncat;
using _STLP_VENDOR_CSTD::strncmp;
using _STLP_VENDOR_CSTD::strncpy;
using _STLP_VENDOR_CSTD::strspn;
using _STLP_VENDOR_CSTD::strtok;
using _STLP_VENDOR_CSTD::strxfrm;
# endif /* _STLP_NO_CSTD_FUNCTION_IMPORTS */

View File

@@ -0,0 +1,19 @@
#ifdef _STLP_BROKEN_USING_DIRECTIVE
using namespace _STLP_STD;
#else
using _STLP_NEW_IO_NAMESPACE::basic_filebuf;
using _STLP_NEW_IO_NAMESPACE::filebuf;
using _STLP_NEW_IO_NAMESPACE::basic_ifstream;
using _STLP_NEW_IO_NAMESPACE::basic_ofstream;
using _STLP_NEW_IO_NAMESPACE::ifstream;
using _STLP_NEW_IO_NAMESPACE::ofstream;
using _STLP_NEW_IO_NAMESPACE::basic_fstream;
using _STLP_NEW_IO_NAMESPACE::fstream;
# ifndef _STLP_NO_WIDE_STREAMS
using _STLP_NEW_IO_NAMESPACE::wofstream;
using _STLP_NEW_IO_NAMESPACE::wfilebuf;
using _STLP_NEW_IO_NAMESPACE::wifstream;
using _STLP_NEW_IO_NAMESPACE::wfstream;
# endif
#endif

View File

@@ -0,0 +1,6 @@
using _STLP_NEW_IO_NAMESPACE::setiosflags;
using _STLP_NEW_IO_NAMESPACE::resetiosflags;
using _STLP_NEW_IO_NAMESPACE::setbase;
using _STLP_NEW_IO_NAMESPACE::setfill;
using _STLP_NEW_IO_NAMESPACE::setprecision;
using _STLP_NEW_IO_NAMESPACE::setw;

View File

@@ -0,0 +1,41 @@
# ifdef _STLP_BROKEN_USING_DIRECTIVE
using namespace _STLP_NEW_IO_NAMESPACE;
# else
using _STLP_NEW_IO_NAMESPACE::ios;
using _STLP_NEW_IO_NAMESPACE::streamoff;
using _STLP_NEW_IO_NAMESPACE::streamsize;
using _STLP_NEW_IO_NAMESPACE::ios_base;
using _STLP_NEW_IO_NAMESPACE::basic_ios;
// _lib.std.ios.manip_, manipulators:
using _STLP_NEW_IO_NAMESPACE::boolalpha;
using _STLP_NEW_IO_NAMESPACE::noboolalpha;
using _STLP_NEW_IO_NAMESPACE::showbase;
using _STLP_NEW_IO_NAMESPACE::noshowbase;
using _STLP_NEW_IO_NAMESPACE::showpoint;
using _STLP_NEW_IO_NAMESPACE::noshowpoint;
using _STLP_NEW_IO_NAMESPACE::showpos;
using _STLP_NEW_IO_NAMESPACE::noshowpos;
using _STLP_NEW_IO_NAMESPACE::skipws;
using _STLP_NEW_IO_NAMESPACE::noskipws;
using _STLP_NEW_IO_NAMESPACE::uppercase;
using _STLP_NEW_IO_NAMESPACE::nouppercase;
// _lib.adjustfield.manip_ adjustfield:
using _STLP_NEW_IO_NAMESPACE::internal;
using _STLP_NEW_IO_NAMESPACE::left;
using _STLP_NEW_IO_NAMESPACE::right;
// _lib.basefield.manip_ basefield:
using _STLP_NEW_IO_NAMESPACE::dec;
using _STLP_NEW_IO_NAMESPACE::hex;
using _STLP_NEW_IO_NAMESPACE::oct;
// _lib.floatfield.manip_ floatfield:
using _STLP_NEW_IO_NAMESPACE::fixed;
using _STLP_NEW_IO_NAMESPACE::scientific;
# endif /* _STLP_BROKEN_USING_DIRECTIVE */

View File

@@ -0,0 +1,54 @@
# if defined (_STLP_USE_NEW_IOSTREAMS)
using _STLP_NEW_IO_NAMESPACE::char_traits;
using _STLP_NEW_IO_NAMESPACE::basic_ios;
using _STLP_NEW_IO_NAMESPACE::basic_streambuf;
using _STLP_NEW_IO_NAMESPACE::basic_istream;
using _STLP_NEW_IO_NAMESPACE::basic_ostream;
using _STLP_NEW_IO_NAMESPACE::basic_iostream;
using _STLP_NEW_IO_NAMESPACE::basic_stringbuf;
using _STLP_NEW_IO_NAMESPACE::basic_istringstream;
using _STLP_NEW_IO_NAMESPACE::basic_ostringstream;
using _STLP_NEW_IO_NAMESPACE::basic_stringstream;
using _STLP_NEW_IO_NAMESPACE::basic_filebuf;
using _STLP_NEW_IO_NAMESPACE::basic_ifstream;
using _STLP_NEW_IO_NAMESPACE::basic_ofstream;
using _STLP_NEW_IO_NAMESPACE::basic_fstream;
using _STLP_NEW_IO_NAMESPACE::fpos;
using _STLP_NEW_IO_NAMESPACE::istreambuf_iterator;
using _STLP_NEW_IO_NAMESPACE::ostreambuf_iterator;
using _STLP_NEW_IO_NAMESPACE::stringbuf;
using _STLP_NEW_IO_NAMESPACE::istringstream;
using _STLP_NEW_IO_NAMESPACE::ostringstream;
using _STLP_NEW_IO_NAMESPACE::stringstream;
# endif
using _STLP_NEW_IO_NAMESPACE::ios;
using _STLP_NEW_IO_NAMESPACE::streambuf;
using _STLP_NEW_IO_NAMESPACE::istream;
using _STLP_NEW_IO_NAMESPACE::ostream;
using _STLP_NEW_IO_NAMESPACE::iostream;
using _STLP_NEW_IO_NAMESPACE::filebuf;
using _STLP_NEW_IO_NAMESPACE::ifstream;
using _STLP_NEW_IO_NAMESPACE::ofstream;
using _STLP_NEW_IO_NAMESPACE::fstream;
using _STLP_NEW_IO_NAMESPACE::streampos;
using _STLP_NEW_IO_NAMESPACE::streamoff;
# if !defined (_STLP_NO_WIDE_STREAMS)
using _STLP_NEW_IO_NAMESPACE::wios;
using _STLP_NEW_IO_NAMESPACE::wstreambuf;
using _STLP_NEW_IO_NAMESPACE::wistream;
using _STLP_NEW_IO_NAMESPACE::wostream;
using _STLP_NEW_IO_NAMESPACE::wiostream;
using _STLP_NEW_IO_NAMESPACE::wstringbuf;
using _STLP_NEW_IO_NAMESPACE::wistringstream;
using _STLP_NEW_IO_NAMESPACE::wostringstream;
using _STLP_NEW_IO_NAMESPACE::wstringstream;
using _STLP_NEW_IO_NAMESPACE::wfilebuf;
using _STLP_NEW_IO_NAMESPACE::wifstream;
using _STLP_NEW_IO_NAMESPACE::wofstream;
using _STLP_NEW_IO_NAMESPACE::wfstream;
using _STLP_NEW_IO_NAMESPACE::wstreampos;
# endif

View File

@@ -0,0 +1,11 @@
using _STLP_VENDOR_STD::cin;
using _STLP_VENDOR_STD::cout;
using _STLP_VENDOR_STD::cerr;
using _STLP_VENDOR_STD::clog;
# if ! defined (_STLP_NO_WIDE_STREAMS)
using _STLP_VENDOR_STD::wcin;
using _STLP_VENDOR_STD::wcout;
using _STLP_VENDOR_STD::wcerr;
using _STLP_VENDOR_STD::wclog;
# endif

View File

@@ -0,0 +1,15 @@
using _STLP_NEW_IO_NAMESPACE::basic_istream;
using _STLP_NEW_IO_NAMESPACE::basic_iostream;
using _STLP_NEW_IO_NAMESPACE::istream;
using _STLP_NEW_IO_NAMESPACE::iostream;
# if !defined (_STLP_NO_NATIVE_WIDE_STREAMS)
using _STLP_NEW_IO_NAMESPACE::wistream;
using _STLP_NEW_IO_NAMESPACE::wiostream;
# endif
#if !(defined (_STLP_MSVC) && (_STLP_MSVC < 1200))
using _STLP_NEW_IO_NAMESPACE::ws;
#endif

View File

@@ -0,0 +1,62 @@
// from <cwchar>
#if !defined (_STLP_NO_MBSTATE_T)
using _STLP_VENDOR_MB_NAMESPACE::mbstate_t;
#endif
// _lib.locale_, locale:
using _STLP_NEW_IO_NAMESPACE::locale;
using _STLP_NEW_IO_NAMESPACE::use_facet;
using _STLP_NEW_IO_NAMESPACE::has_facet;
// _lib.locale.convenience_, convenience interfaces:
using _STLP_NEW_IO_NAMESPACE::isspace;
using _STLP_NEW_IO_NAMESPACE::isprint;
using _STLP_NEW_IO_NAMESPACE::iscntrl;
using _STLP_NEW_IO_NAMESPACE::isupper;
using _STLP_NEW_IO_NAMESPACE::islower;
using _STLP_NEW_IO_NAMESPACE::isalpha;
using _STLP_NEW_IO_NAMESPACE::isdigit;
using _STLP_NEW_IO_NAMESPACE::ispunct;
using _STLP_NEW_IO_NAMESPACE::isxdigit;
using _STLP_NEW_IO_NAMESPACE::isalnum;
using _STLP_NEW_IO_NAMESPACE::isgraph;
using _STLP_NEW_IO_NAMESPACE::toupper;
using _STLP_NEW_IO_NAMESPACE::tolower;
// _lib.category.ctype_ and _lib.facet.ctype.special_, ctype:
using _STLP_NEW_IO_NAMESPACE::ctype_base;
using _STLP_NEW_IO_NAMESPACE::ctype;
using _STLP_NEW_IO_NAMESPACE::ctype_byname;
using _STLP_NEW_IO_NAMESPACE::codecvt_base;
using _STLP_NEW_IO_NAMESPACE::codecvt;
using _STLP_NEW_IO_NAMESPACE::codecvt_byname;
// _lib.category.numeric_ and _lib.facet.numpunct_, numeric:
using _STLP_NEW_IO_NAMESPACE::num_get;
using _STLP_NEW_IO_NAMESPACE::num_put;
using _STLP_NEW_IO_NAMESPACE::numpunct;
using _STLP_NEW_IO_NAMESPACE::numpunct_byname;
// _lib.category.collate_, collation:
using _STLP_NEW_IO_NAMESPACE::collate;
using _STLP_NEW_IO_NAMESPACE::collate_byname;
// _lib.category.time_, date and time:
using _STLP_NEW_IO_NAMESPACE::time_base;
using _STLP_NEW_IO_NAMESPACE::time_get;
using _STLP_NEW_IO_NAMESPACE::time_get_byname;
using _STLP_NEW_IO_NAMESPACE::time_put;
using _STLP_NEW_IO_NAMESPACE::time_put_byname;
// _lib.category.monetary_, money:
using _STLP_NEW_IO_NAMESPACE::money_base;
using _STLP_NEW_IO_NAMESPACE::money_get;
using _STLP_NEW_IO_NAMESPACE::money_put;
using _STLP_NEW_IO_NAMESPACE::moneypunct;
using _STLP_NEW_IO_NAMESPACE::moneypunct_byname;
#if !defined (_STLP_OWN_IOSTREAMS) && !defined (_STLP_NO_NATIVE_MESSAGE_FACET)
using _STLP_NEW_IO_NAMESPACE::messages_base;
using _STLP_NEW_IO_NAMESPACE::messages;
using _STLP_NEW_IO_NAMESPACE::messages_byname;
#endif // _MSL_NO_MESSAGE_FACET

View File

@@ -0,0 +1,10 @@
using _STLP_NEW_IO_NAMESPACE::basic_ostream;
using _STLP_NEW_IO_NAMESPACE::ostream;
# ifndef _STLP_NO_WIDE_STREAMS
using _STLP_NEW_IO_NAMESPACE::wostream;
# endif
using _STLP_NEW_IO_NAMESPACE::endl;
using _STLP_NEW_IO_NAMESPACE::ends;
using _STLP_NEW_IO_NAMESPACE::flush;

View File

@@ -0,0 +1,16 @@
using _STLP_NEW_IO_NAMESPACE::basic_stringbuf;
using _STLP_NEW_IO_NAMESPACE::stringbuf;
using _STLP_NEW_IO_NAMESPACE::basic_istringstream;
using _STLP_NEW_IO_NAMESPACE::basic_ostringstream;
using _STLP_NEW_IO_NAMESPACE::basic_stringstream;
using _STLP_NEW_IO_NAMESPACE::istringstream;
using _STLP_NEW_IO_NAMESPACE::ostringstream;
using _STLP_NEW_IO_NAMESPACE::stringstream;
#ifndef _STLP_NO_WIDE_STREAMS
using _STLP_NEW_IO_NAMESPACE::wstringbuf;
using _STLP_NEW_IO_NAMESPACE::wistringstream;
using _STLP_NEW_IO_NAMESPACE::wostringstream;
using _STLP_NEW_IO_NAMESPACE::wstringstream;
#endif

View File

@@ -0,0 +1,5 @@
using _STLP_NEW_IO_NAMESPACE::basic_streambuf;
using _STLP_NEW_IO_NAMESPACE::streambuf;
#ifndef _STLP_NO_WIDE_STREAMS
using _STLP_NEW_IO_NAMESPACE::wstreambuf;
# endif

View File

@@ -0,0 +1,4 @@
using _STLP_NEW_IO_NAMESPACE::strstreambuf;
using _STLP_NEW_IO_NAMESPACE::istrstream;
using _STLP_NEW_IO_NAMESPACE::ostrstream;
using _STLP_NEW_IO_NAMESPACE::strstream;

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_utility_H
# define __STLPORT_BC_utility_H
# include <..\utility.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_valarray_H
# define __STLPORT_BC_valarray_H
# include <..\valarray.>
#endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,21 @@
/*
* Copyright (c) 1999 Boris Fomitchev
* AUTOMATICALLY GENERATED - DO NOT EDIT !
*/
/*
*
* This wrapper is needed for Borland C++ 5.0 to get STLport
* header properly included
*/
#ifndef __STLPORT_BC_vector_H
# define __STLPORT_BC_vector_H
# include <..\vector.>
#endif
// Local Variables:
// mode:C++
// End:

60
STLPORT/stlport/algorithm Normal file
View File

@@ -0,0 +1,60 @@
/*
*
* Copyright (c) 1994
* Hewlett-Packard Company
*
* Copyright (c) 1996,1997
* Silicon Graphics Computer Systems, Inc.
*
* Copyright (c) 1997
* Moscow Center for SPARC Technology
*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
#ifndef _STLP_ALGORITHM
#define _STLP_ALGORITHM
# ifndef _STLP_OUTERMOST_HEADER_ID
# define _STLP_OUTERMOST_HEADER_ID 0x1
# include <stl/_prolog.h>
# endif
#ifdef _STLP_PRAGMA_ONCE
# pragma once
#endif
# if ! defined (_STLP_USE_NAMESPACES)
// remove() conflicts, <cstdio> should always go first
# include <cstdio>
# endif
# ifndef _STLP_INTERNAL_ALGO_H
# include <stl/_algo.h>
# endif
#if defined (_STLP_IMPORT_VENDOR_STD)
# include _STLP_NATIVE_HEADER(algorithm)
#endif /* _STLP_IMPORT_VENDOR_STD */
# if (_STLP_OUTERMOST_HEADER_ID == 0x1 )
# include <stl/_epilog.h>
# undef _STLP_OUTERMOST_HEADER_ID
# endif
#endif /* _STLP_ALGORITHM */
// Local Variables:
// mode:C++
// End:

64
STLPORT/stlport/bitset Normal file
View File

@@ -0,0 +1,64 @@
/*
* Copyright (c) 1998
* Silicon Graphics Computer Systems, Inc.
*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
#ifndef _STLP_BITSET
#define _STLP_BITSET
// This implementation of bitset<> has a second template parameter,
// _WordT, which defaults to unsigned long. *YOU SHOULD NOT USE
// THIS FEATURE*. It is experimental, and it may be removed in
// future releases.
// A bitset of size N, using words of type _WordT, will have
// N % (sizeof(_WordT) * CHAR_BIT) unused bits. (They are the high-
// order bits in the highest word.) It is a class invariant
// of class bitset<> that those unused bits are always zero.
// Most of the actual code isn't contained in bitset<> itself, but in the
// base class _Base_bitset. The base class works with whole words, not with
// individual bits. This allows us to specialize _Base_bitset for the
// important special case where the bitset is only a single word.
// The C++ standard does not define the precise semantics of operator[].
// In this implementation the const version of operator[] is equivalent
// to test(), except that it does no range checking. The non-const version
// returns a reference to a bit, again without doing any range checking.
# ifndef _STLP_OUTERMOST_HEADER_ID
# define _STLP_OUTERMOST_HEADER_ID 0x2
# include <stl/_prolog.h>
# endif
#ifdef _STLP_PRAGMA_ONCE
# pragma once
#endif
# include <stl/_bitset.h>
# if (_STLP_OUTERMOST_HEADER_ID == 0x2 )
# include <stl/_epilog.h>
# undef _STLP_OUTERMOST_HEADER_ID
# endif
#endif /* _STLP_BITSET */
// Local Variables:
// mode:C++
// End:

34
STLPORT/stlport/cassert Normal file
View File

@@ -0,0 +1,34 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
# ifndef _STLP_OUTERMOST_HEADER_ID
# define _STLP_OUTERMOST_HEADER_ID 0x103
# include <stl/_prolog.h>
# endif
# if defined (_STLP_USE_NEW_C_HEADERS) || defined (__IN_STLPORT_CASSERT)
# include _STLP_NATIVE_CPP_C_HEADER(cassert)
# else
# include <assert.h>
# endif
# if (_STLP_OUTERMOST_HEADER_ID == 0x103 )
# include <stl/_epilog.h>
# undef _STLP_OUTERMOST_HEADER_ID
# endif
// Local Variables:
// mode:C++
// End:

78
STLPORT/stlport/cctype Normal file
View File

@@ -0,0 +1,78 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
#ifndef _STLP_CCTYPE
# define _STLP_CCTYPE
# ifndef _STLP_OUTERMOST_HEADER_ID
# define _STLP_OUTERMOST_HEADER_ID 0x104
# include <stl/_prolog.h>
# endif
# if defined (_STLP_USE_NEW_C_HEADERS)
# include _STLP_NATIVE_CPP_C_HEADER(cctype)
# else
# include <ctype.h>
// Undef convenience interfaces
#undef isspace
#undef isprint
#undef iscntrl
#undef isupper
#undef islower
#undef isalpha
#undef isdigit
#undef ispunct
#undef isxdigit
#undef isalnum
#undef isgraph
#undef toupper
#undef tolower
# endif /* _STLP_USE_NEW_C_HEADERS */
# if ! defined (_STLP_NO_CSTD_FUNCTION_IMPORTS)
# if defined ( _STLP_IMPORT_VENDOR_CSTD )
_STLP_BEGIN_NAMESPACE
using _STLP_VENDOR_CSTD::isalnum;
using _STLP_VENDOR_CSTD::isalpha;
using _STLP_VENDOR_CSTD::iscntrl;
using _STLP_VENDOR_CSTD::isdigit;
using _STLP_VENDOR_CSTD::isgraph;
using _STLP_VENDOR_CSTD::islower;
using _STLP_VENDOR_CSTD::isprint;
using _STLP_VENDOR_CSTD::ispunct;
using _STLP_VENDOR_CSTD::isspace;
using _STLP_VENDOR_CSTD::isupper;
using _STLP_VENDOR_CSTD::isxdigit;
using _STLP_VENDOR_CSTD::tolower;
using _STLP_VENDOR_CSTD::toupper;
_STLP_END_NAMESPACE
# endif /* _STLP_IMPORT_VENDOR_CSTD*/
# endif /* _STLP_NO_CSTD_FUNCTION_IMPORTS */
# if (_STLP_OUTERMOST_HEADER_ID == 0x104 )
# include <stl/_epilog.h>
# undef _STLP_OUTERMOST_HEADER_ID
# endif
#endif /* _STLP_CCTYPE */
// Local Variables:
// mode:C++
// End:

49
STLPORT/stlport/cerrno Normal file
View File

@@ -0,0 +1,49 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
#ifndef _STLP_CERRNO
# define _STLP_CERRNO
# ifndef _STLP_OUTERMOST_HEADER_ID
# define _STLP_OUTERMOST_HEADER_ID 0x105
# include <stl/_prolog.h>
# endif
# if defined (_STLP_USE_NEW_C_HEADERS)
# include _STLP_NATIVE_CPP_C_HEADER(cerrno)
# else
# include <errno.h>
# endif
#ifndef errno
# if defined (_STLP_IMPORT_VENDOR_CSTD) && ! defined (__IBMCPP__) && ! defined(__hpux)
_STLP_BEGIN_NAMESPACE
using _STLP_VENDOR_CSTD::errno;
_STLP_END_NAMESPACE
# endif /* _STLP_IMPORT_VENDOR_CSTD */
#endif
# if (_STLP_OUTERMOST_HEADER_ID == 0x105 )
# include <stl/_epilog.h>
# undef _STLP_OUTERMOST_HEADER_ID
# endif
#endif /* _STLP_CERRNO */
// Local Variables:
// mode:C++
// End:

41
STLPORT/stlport/cfloat Normal file
View File

@@ -0,0 +1,41 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
#ifndef _STLP_CFLOAT
# define _STLP_CFLOAT
# ifndef _STLP_OUTERMOST_HEADER_ID
# define _STLP_OUTERMOST_HEADER_ID 0x106
# include <stl/_prolog.h>
# endif
// Borland defines some implementation constants in std:: namespace,
// we do not want to import them.
# if defined (_STLP_USE_NEW_C_HEADERS) && ! defined (__BORLANDC__)
# include _STLP_NATIVE_CPP_C_HEADER(cfloat)
# else
# include _STLP_NATIVE_C_HEADER(float.h)
# endif
# if (_STLP_OUTERMOST_HEADER_ID == 0x106 )
# include <stl/_epilog.h>
# undef _STLP_OUTERMOST_HEADER_ID
# endif
#endif /* _STLP_CFLOAT */
// Local Variables:
// mode:C++
// End:

46
STLPORT/stlport/climits Normal file
View File

@@ -0,0 +1,46 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
#ifndef _STLP_CLIMITS
# define _STLP_CLIMITS
# ifndef _STLP_OUTERMOST_HEADER_ID
# define _STLP_OUTERMOST_HEADER_ID 0x107
# include <stl/_prolog.h>
# endif
# if defined (__SUNPRO_CC) && ((__SUNPRO_CC == 0x500) && (__SUNPRO_CC_COMPAT > 4))
# include </usr/include/limits.h>
# elif defined (_STLP_USE_NEW_C_HEADERS)
# include _STLP_NATIVE_CPP_C_HEADER(climits)
# else
# ifdef __BORLANDC__
# include _STLP_NATIVE_C_HEADER(limits.h)
# else
# include <limits.h>
# endif
# endif
# if (_STLP_OUTERMOST_HEADER_ID == 0x107 )
# include <stl/_epilog.h>
# undef _STLP_OUTERMOST_HEADER_ID
# endif
#endif /* _STLP_CLIMITS */
// Local Variables:
// mode:C++
// End:

49
STLPORT/stlport/clocale Normal file
View File

@@ -0,0 +1,49 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
#ifndef _STLP_CLOCALE
# define _STLP_CLOCALE
# ifndef _STLP_OUTERMOST_HEADER_ID
# define _STLP_OUTERMOST_HEADER_ID 0x108
# include <stl/_prolog.h>
# endif
# if defined (_STLP_USE_NEW_C_HEADERS)
# include _STLP_NATIVE_CPP_C_HEADER(clocale)
# else
# include _STLP_NATIVE_C_HEADER(locale.h)
# endif
# ifdef _STLP_IMPORT_VENDOR_CSTD
_STLP_BEGIN_NAMESPACE
using _STLP_VENDOR_CSTD::lconv;
# if ! defined (_STLP_NO_CSTD_FUNCTION_IMPORTS)
using _STLP_VENDOR_CSTD::localeconv;
using _STLP_VENDOR_CSTD::setlocale;
# endif
_STLP_END_NAMESPACE
# endif /* _STLP_IMPORT_VENDOR_CSTD */
# if (_STLP_OUTERMOST_HEADER_ID == 0x108 )
# include <stl/_epilog.h>
# undef _STLP_OUTERMOST_HEADER_ID
# endif
#endif /* _STLP_CLOCALE */
// Local Variables:
// mode:C++
// End:

93
STLPORT/stlport/cmath Normal file
View File

@@ -0,0 +1,93 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
#ifndef _STLP_CMATH
# define _STLP_CMATH
# ifndef _STLP_OUTERMOST_HEADER_ID
# define _STLP_OUTERMOST_HEADER_ID 0x109
# include <stl/_prolog.h>
# endif
# if defined (_STLP_USE_NEW_C_HEADERS)
# if defined (_STLP_HAS_NO_NAMESPACES) && ! defined (exception)
# define exception __math_exception
# endif
# include _STLP_NATIVE_CPP_C_HEADER(cmath)
# if defined (_STLP_HAS_NO_NAMESPACES)
# undef exception
# endif
# else
# include <math.h>
# endif
# if (defined (__SUNPRO_CC) && (__SUNPRO_CC > 0x500)) || \
!( defined (__IBMCPP__) && (__IBMCPP__ >= 500) || ! ( defined (__HP_aCC) && (__HP_aCC >= 30000) ))
# ifndef _STLP_HAS_NO_NAMESPACES
namespace std {
# endif
extern "C" double hypot(double x, double y);
# ifndef _STLP_HAS_NO_NAMESPACES
}
# endif
# endif
# ifdef _STLP_IMPORT_VENDOR_CSTD
_STLP_BEGIN_NAMESPACE
# if ! defined (_STLP_NO_CSTD_FUNCTION_IMPORTS)
# ifdef _STLP_HAS_NATIVE_FLOAT_ABS
using _STLP_VENDOR_CSTD::abs;
# endif
using _STLP_VENDOR_CSTD::acos;
using _STLP_VENDOR_CSTD::asin;
using _STLP_VENDOR_CSTD::atan2;
using _STLP_VENDOR_CSTD::atan;
using _STLP_VENDOR_CSTD::ceil;
using _STLP_VENDOR_CSTD::cos;
using _STLP_VENDOR_CSTD::cosh;
using _STLP_VENDOR_CSTD::exp;
using _STLP_VENDOR_CSTD::fabs;
using _STLP_VENDOR_CSTD::floor;
using _STLP_VENDOR_CSTD::fmod;
using _STLP_VENDOR_CSTD::frexp;
using _STLP_VENDOR_CSTD::ldexp;
using _STLP_VENDOR_CSTD::log10;
using _STLP_VENDOR_CSTD::log;
using _STLP_VENDOR_CSTD::modf;
using _STLP_VENDOR_CSTD::pow;
using _STLP_VENDOR_CSTD::sin;
using _STLP_VENDOR_CSTD::sinh;
using _STLP_VENDOR_CSTD::sqrt;
using _STLP_VENDOR_CSTD::tan;
using _STLP_VENDOR_CSTD::tanh;
# endif /* BUG */
_STLP_END_NAMESPACE
# endif /* _STLP_IMPORT_VENDOR_CSTD */
#ifndef _STLP_CMATH_H_HEADER
# include <stl/_cmath.h>
#endif
# if (_STLP_OUTERMOST_HEADER_ID == 0x109 )
# include <stl/_epilog.h>
# undef _STLP_OUTERMOST_HEADER_ID
# endif
#endif /* _STLP_CMATH */
// Local Variables:
// mode:C++
// End:

52
STLPORT/stlport/complex Normal file
View File

@@ -0,0 +1,52 @@
/*
* Copyright (c) 1999
* Silicon Graphics Computer Systems, Inc.
*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
#ifndef _STLP_template_complex
# define _STLP_template_complex
# ifndef _STLP_OUTERMOST_HEADER_ID
# define _STLP_OUTERMOST_HEADER_ID 0x10
# include <stl/_prolog.h>
# endif
# ifdef _STLP_OWN_IOSTREAMS
// This header declares the template class complex, as described in
// in the draft C++ standard. Single-precision complex numbers
// are complex<float>, double-precision are complex<double>, and
// quad precision are complex<long double>.
// Note that the template class complex is declared within namespace
// std, as called for by the draft C++ standard
# define _STLP_COMPLEX_NAMESPACE _STLP_STD
# include <stl/_complex.h>
# else
# define _STLP_COMPLEX_NAMESPACE _STLP_VENDOR_STD
# include <wrap_std/complex>
# endif
# if (_STLP_OUTERMOST_HEADER_ID == 0x10 )
# include <stl/_epilog.h>
# undef _STLP_OUTERMOST_HEADER_ID
# endif
#endif /* _STLP_template_complex */
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,33 @@
#if defined (_STLP_MSVC) || defined (__ICL) || defined (__BORLANDC__)
# if defined (__BORLANDC__)
# pragma option pop
# pragma option -w-8062
# else
# if !(defined (_STLP_MSVC) && (_STLP_MSVC < 1200))
# pragma warning (pop)
# endif
# pragma pack (pop)
# endif
#elif defined(__sgi) && !defined(__GNUC__) && (_MIPS_SIM != _MIPS_SIM_ABI32)
# pragma reset woff 1174
# pragma reset woff 1375
# pragma reset woff 1209
// from iterator_base.h
# pragma reset woff 1183
#elif defined(__DECCXX)
# ifdef __PRAGMA_ENVIRONMENT
# pragma __environment __restore
# endif
#elif defined(__IBMCPP__)
#pragma info(restore)
#endif

View File

@@ -0,0 +1,20 @@
# if (_MSC_VER > 1000)
// #pragma warning ( disable : 4251 ) // ignore template classes being exported in .dll's
/*
* "this used in base member initializer list"
* arrow operator warning
* copy constr & assignment cannot be generated
* "forcing value to bool 'true' or 'false'
* typedef used instaead of full type
* 4018 : signed/unsigned mismatch, 4146 - result still unsigned
* 4100: unreferenced formal parameter
* 4663: C++ language change: to explicitly specialize class template 'identifier' use the following syntax
*/
# pragma warning ( disable : 4355 4284 4231 4511 4512 4097 4786 4800 4018 4146 4244 4514 4127 4100 4663)
# pragma warning ( disable : 4245 4514 4660) // conversion from enum to unsigned int signed/unsigned mismatch
# if (_MSC_VER > 1200)
// multiple copy constructors/assignment operators specified,
// with member templates are bogus...
# pragma warning ( disable : 4521 4522)
# endif
# endif

View File

@@ -0,0 +1,46 @@
#if defined (_STLP_MSVC) || defined (__ICL) || defined (__BORLANDC__)
# if defined (__BORLANDC__)
# if (__BORLANDC__ >= 0x510)
# pragma option push -Vx- -Ve- -a8 -b -pc -w-inl -w-aus -w-sig -w-8062 -w-8041 -w-8008 -w-8012 -w-8027 -w-8057 -w-8091 -w-8092 -w-8066 /* P_O_1 */
# endif
# else
# if !(defined (_STLP_MSVC) && (_STLP_MSVC < 1200))
# pragma warning(push)
# endif
# pragma pack(push,8)
# include <config/_msvc_warnings_off.h>
# endif
#elif defined(__sgi) && !defined(__GNUC__) && (_MIPS_SIM != _MIPS_SIM_ABI32)
#pragma set woff 1209
#pragma set woff 1174
#pragma set woff 1375
// from iterator_base.h
#pragma set woff 1183
#elif defined(__DECCXX)
# ifdef __PRAGMA_ENVIRONMENT
# pragma __environment __save
# pragma __environment __header_defaults
# endif
#elif defined(__IBMCPP__)
// supress EDC3130: A constant is being used as a conditional expression
#pragma info(nocnd)
#elif defined (__HP_aCC)
/* _REENTRANT selects Posix 1c threads unless draft4 selected.
* * This usage is obsolescent, "-D_POSIX_C_SOURCE=199506" is preferred */
# if 0 /* defined (_REENTRANT) && ! defined (_POSIX_C_SOURCE) */
# define _POSIX_C_SOURCE 199506
# endif
#elif defined (__WATCOMCPLUSPLUS__)
# pragma warning 604 10 // must lookahead to determine...
# pragma warning 594 10 // resolved as declaration/type
# pragma warning 595 10 // resolved as an expression
#endif

View File

@@ -0,0 +1,12 @@
README file for "stlport/config/new_compiler"
This directory contains "configure" script which will help you to
create config file for a new compiler. Please refer to HTML documentation
at www.stlport.org/doc for details.
NOTE : stlconf.h produced by "configure" is NOT suitable for immediate use
as platform-specific configuration file as it does not set several important
macros. However, it is a good starting point.
Boris Fomitchev.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,133 @@
/*
* Copyright (c) 1997
* Moscow Center for SPARC Technology
*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
#ifndef _STLP_STLCONF_H
# define _STLP_STLCONF_H
# undef __AUTO_CONFIGURED
//==========================================================
// Getting proper values of autoconf flags
// if you ran 'configure', __AUTO_CONFIGURED is set to 1 and
// specific compiler features will be used.
// Otherwise, the <stlcomp.h> header will be included for per-version
// features recognition.
//==========================================================
# if defined (__AUTO_CONFIGURED)
// auto-configured section
# undef _STLP_NO_EXCEPTIONS
# undef _STLP_NO_NAMESPACES
# undef _STLP_NO_RELOPS_NAMESPACE
# undef _STLP_NO_NEW_NEW_HEADER
# undef _STLP_NO_NEW_IOSTREAMS
// select threads strategy
# undef _PTHREADS
# undef _NOTHREADS
// select SGI-style alloc instead of allocator<T>
# undef _STLP_USE_SGI_ALLOCATORS
// select allocation method you like
# undef _STLP_USE_MALLOC
# undef _STLP_USE_NEWALLOC
// this one is not mandatory, just enabled
# undef _STLP_USE_DEFALLOC
// define _STLP_USE_ABBREVS if your linker has trouble with long
// external symbols
# undef _STLP_USE_ABBREVS
// unsigned 32-bit integer type
# define _STLP_UINT32_T unsigned
# undef _STLP_NO_BOOL
# undef _STLP_DONT_USE_BOOL_TYPEDEF
# undef _STLP_YVALS_H
# undef _STLP_LIMITED_DEFAULT_TEMPLATES
# undef _STLP_DEFAULT_TYPE_PARAM
# undef _STLP_NO_STATIC_TEMPLATE_DATA
# undef _STLP_RAND48
# undef _STLP_LOOP_INLINE_PROBLEMS
# undef _STLP_HAS_NO_NAMESPACES
# undef _STLP_NEED_TYPENAME
# undef _STLP_NEED_EXPLICIT
# undef _STLP_HAS_NO_EXCEPTIONS
# undef _STLP_NO_EXCEPTION_SPEC
# undef _STLP_WEAK_ATTRIBUTE
# undef _STLP_BASE_MATCH_BUG
# undef _STLP_NONTEMPL_BASE_MATCH_BUG
# undef _STLP_NESTED_TYPE_PARAM_BUG
# undef _STLP_NO_ARROW_OPERATOR
# undef _STLP_UNINITIALIZABLE_PRIVATE
# undef _STLP_BASE_TYPEDEF_BUG
# undef _STLP_BASE_TYPEDEF_OUTSIDE_BUG
# undef _STLP_CONST_CONSTRUCTOR_BUG
# undef _STLP_NO_NEW_STYLE_CASTS
# undef _STLP_NO_WCHAR_T
# undef _STLP_WCHAR_T_IS_USHORT
# undef _STLP_LONG_LONG
# undef _STLP_NO_LONG_DOUBLE
# undef _STLP_NEED_MUTABLE
# undef _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX
# undef _STLP_NO_BAD_ALLOC
# undef _STLP_DEBUG_ALLOC
# undef _STLP_NO_MEMBER_TEMPLATES
# undef _STLP_NO_MEMBER_TEMPLATE_CLASSES
# undef _STLP_NO_MEMBER_TEMPLATE_KEYWORD
# undef _STLP_NO_FRIEND_TEMPLATES
# undef _STLP_NO_QUALIFIED_FRIENDS
# undef _STLP_NO_CLASS_PARTIAL_SPECIALIZATION
# undef _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER
# undef _STLP_AUTOMATIC_TYPE_TRAITS
# undef _STLP_MEMBER_POINTER_PARAM_BUG
# undef _STLP_NON_TYPE_TMPL_PARAM_BUG
# undef _STLP_NO_DEFAULT_NON_TYPE_PARAM
# undef _STLP_NO_METHOD_SPECIALIZATION
# undef _STLP_STATIC_ARRAY_BUG
# undef _STLP_STATIC_CONST_INIT_BUG
# undef _STLP_TRIVIAL_CONSTRUCTOR_BUG
# undef _STLP_TRIVIAL_DESTRUCTOR_BUG
# undef _STLP_BROKEN_USING_DIRECTIVE
# undef _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS
# undef _STLP_NO_EXCEPTION_HEADER
# undef _STLP_DEFAULT_CONSTRUCTOR_BUG
# undef _STLP_HAS_NO_NEW_IOSTREAMS
# undef _STLP_HAS_NO_NEW_C_HEADERS
# undef _STLP_STATIC_CONST_INIT_BUG
// new ones
# undef _STLP_THROW_RETURN_BUG
// unimp
# undef _STLP_LINK_TIME_INSTANTIATION
# undef _STLP_PARTIAL_SPEC_NEEDS_TEMPLATE_ARGS
// unimp
# undef _STLP_NO_TEMPLATE_CONVERSIONS
# endif /* AUTO_CONFIGURED */
//==========================================================
#endif /* __STLCONF_H */

View File

@@ -0,0 +1,3 @@
#!/bin/sh
cp stlconf.h.in stlconf.h
echo "STLport unconfigured."

View File

@@ -0,0 +1,32 @@
// STLport config file for Apogee 4.x
# define _STLP_NO_NEW_NEW_HEADER 1
# define _STLP_HAS_NO_NEW_IOSTREAMS 1
# define _STLP_HAS_NO_NEW_C_HEADERS 1
#if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
# define _STLP_RAND48 1
#endif
// # define _STLP_RAND48 1
# define _STLP_LONG_LONG long long
# define _STLP_NO_BAD_ALLOC 1
# define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
# define _STLP_NON_TYPE_TMPL_PARAM_BUG 1
// # define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1
# define _STLP_NO_EXCEPTION_HEADER 1
# undef _STLP_LINK_TIME_INSTANTIATION
# define _STLP_LINK_TIME_INSTANTIATION 1
# ifdef __STDLIB
# undef _STLP_HAS_NO_NEW_IOSTREAMS
# undef _STLP_NO_NEW_C_HEADERS
# undef _STLP_NO_NEW_NEW_HEADER
# undef _STLP_NO_BAD_ALLOC
# undef _STLP_LONG_LONG
# else
# undef _STLP_NO_EXCEPTION_SPEC
# define _STLP_NO_EXCEPTION_SPEC 1
# endif

View File

@@ -0,0 +1,112 @@
// STLport configuration file
// It is internal STLport header - DO NOT include it directly
// common configuration settings for Apple MPW MrCpp / SCpp
#if defined(__MRC__) && __MRC__ < 0x500
# error Apple's MPW MrCpp v.5.0.0 or better compiler required
#endif
#if defined(__SC__) && __SC__ < 0x890
# error Apple's MPW SCpp v.8.9.0 or better compiler required
#endif
#ifdef qMacApp
# ifndef __CONDITIONALMACROS__ // skip including ConditionalMacros_AC.h if ConditionalMacros.h is already included
# include <CoreSwitches_AC.h>
# include <ConditionalMacros_AC.h>
# include <Types_AC.h>
# define _STLP_FILE__ _FILE_AC
# define _STLP_DEBUG_MESSAGE
# define __stl_debug_message ProgramBreak_AC
# include <ConditionalMacros.h>
# endif
# include <Types.h>
#else
# include <ConditionalMacros.h>
# include <Types.h>
#endif
#define _STLP_UINT32_T UInt32
typedef int wint_t;
#ifndef TYPE_BOOL
# error <ConditionalMacros.h> must be included. (TYPE_BOOL)
#endif
#if !TYPE_BOOL
# define _STLP_NO_BOOL
# define _STLP_DONT_USE_BOOL_TYPEDEF
#endif
#ifndef TYPE_LONGLONG
# error <ConditionalMacros.h> must be included. (TYPE_LONGLONG)
#endif
#if TYPE_LONGLONG
# define _STLP_LONG_LONG long long
#endif
#if !__option(exceptions)
# define _STLP_HAS_NO_EXCEPTIONS
#endif
#define _STLP_DEBUG_MESSAGE_POST DebugStr("\pSTL diagnosis issued. See 'stderr' for detail.");
#define _STLP_ASSERT_MSG_TRAILER " "
#ifdef _STLP_DEBUG
# define _STLP_THROW(x) (DebugStr("\pSTL is about to throw exception: "#x),throw x)
#endif
#if defined(__MRC__)
# ifndef __spillargs
# define __spillargs 1 // MrCpp requires this symbol to be defined as 1 to properly handle va_start; ref.[ file stdarg.h; line 26 ]
# endif
#endif
#if defined(__SC__)
#define _STLP_VENDOR_LONG_DOUBLE_MATH //*TY 12/03/2000 - SCpp's native math type is long double
#endif
#ifndef _STLP_NATIVE_INCLUDE_PATH
# if __option(unix_includes)
# define _STLP_NATIVE_INCLUDE_PATH ../CIncludes // expects the alias to {CIncludes} under the same folder as {STL}
# else
# define _STLP_NATIVE_INCLUDE_PATH ::CIncludes // expects the alias to {CIncludes} under the same folder as {STL}
# endif
#endif
#if !defined(_STLP_MAKE_HEADER)
# if !__option(unix_includes)
# define _STLP_MAKE_HEADER(path, header) <path:header> // Mac uses ":" for directory delimiter
# endif
#endif
# define _STLD _DBG // to keep the length of generated symbols within the compiler limitation
#define _STLP_OWN_IOSTREAMS
#define _STLP_USE_STDIO_IO 1 //*TY 02/24/2000 - see also ; ref.[ file _fstream.h; line 36 ]
#define _STLP_NO_THREADS //*TY 12/17/2000 - multi-thread capability not explored, yet.
#undef _REENTRANT //*ty 11/24/2001 - to make sure no thread facility is activated
#define _NOTHREADS //*ty 12/07/2001 -
// native library limitations
#define _STLP_VENDOR_GLOBAL_STD // mpw's c++ libs do not utilize namespace std yet
#define _STLP_NO_BAD_ALLOC // known limitation
#define _STLP_HAS_NO_NEW_C_HEADERS // known limitation
#define _STLP_NO_NEW_NEW_HEADER // known limitation
#define _STLP_HAS_NO_NEW_IOSTREAMS // known limitation
#define _STLP_NO_NATIVE_MBSTATE_T // known limitation
#define _STLP_NO_NATIVE_WIDE_FUNCTIONS // known limitation
#define _STLP_NO_NATIVE_WIDE_STREAMS // known limitation
#define _STLP_INCOMPLETE_EXCEPTION_HEADER // known limitation
#define _STLP_BROKEN_EXCEPTION_CLASS // known limitation
// compiler limitations
# define _STLP_DONT_SIMULATE_PARTIAL_SPEC_FOR_TYPE_TRAITS
# define _STLP_MPWFIX_TRY try{ //*TY 06/01/2000 - exception handling bug workaround
# define _STLP_MPWFIX_CATCH }catch(...){throw;} //*TY 06/01/2000 - exception handling bug workaround
# define _STLP_MPWFIX_CATCH_ACTION(action) }catch(...){action;throw;} //*TY 06/01/2000 - exception handling bug workaround
# define _STLP_THROW_RETURN_BUG // known limitation
# define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION // known limitation
# define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX // known limitation
# define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER // known limitation
# define _STLP_NO_RELOPS_NAMESPACE // known limitation
// end of stl_apple.h

View File

@@ -0,0 +1,60 @@
// STLport configuration file
// It is internal STLport header - DO NOT include it directly
// AS/400 C++ config
# ifdef _REENTRANT
# define _PTHREADS
# endif
# define _STLP_NO_NEW_NEW_HEADER 1
# define _STLP_NO_BOOL
# define _STLP_LIMITED_DEFAULT_TEMPLATES
# define _STLP_HAS_NO_NAMESPACES
# define _STLP_NEED_TYPENAME
# define _STLP_NEED_EXPLICIT
# define _STLP_HAS_NO_EXCEPTIONS
# define _STLP_NO_EXCEPTION_SPEC
# define _STLP_NO_ARROW_OPERATOR
# define _STLP_NO_NEW_STYLE_CASTS
# define _STLP_NEED_MUTABLE
# define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX
# define _STLP_NO_BAD_ALLOC
# define _STLP_NO_MEMBER_TEMPLATES
# define _STLP_NO_MEMBER_TEMPLATE_CLASSES
# define _STLP_NO_MEMBER_TEMPLATE_KEYWORD
# define _STLP_NO_FRIEND_TEMPLATES
# define _STLP_NO_QUALIFIED_FRIENDS
# define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION
# define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER
# define _STLP_NO_METHOD_SPECIALIZATION
# define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS
// # define _STLP_NO_EXCEPTION_HEADER
# define _STLP_HAS_NO_NEW_IOSTREAMS
# define _STLP_HAS_NO_NEW_C_HEADERS
# define _STLP_STATIC_CONST_INIT_BUG
# define _STLP_THROW_RETURN_BUG
# define _STLP_LINK_TIME_INSTANTIATION
# define _STLP_NO_TEMPLATE_CONVERSIONS
# define _STLP_UNINITIALIZABLE_PRIVATE 1
# define _STLP_STATIC_ARRAY_BUG 1
# define _STLP_NON_TYPE_TMPL_PARAM_BUG 1
# define _STLP_TRIVIAL_DESTRUCTOR_BUG 1
# if defined(_LONG_LONG)
# define _STLP_LONG_LONG long long
# endif
// # define _STLP_LONG_DOUBLE 1
# if defined(_PTHREADS)
# define _MULTI_THREADED
# endif
// fbp : to fix __partition() problem
# define _STLP_NONTEMPL_BASE_MATCH_BUG 1

View File

@@ -0,0 +1,204 @@
// STLport configuration file
// It is internal STLport header - DO NOT include it directly
// versions ?
# if defined(_STLP_DESIGNATED_DLL)
# define _STLP_CALL __cdecl __export
# elif defined(_RTLDLL)
# define _STLP_CALL __cdecl __import
# else
# define _STLP_CALL __cdecl
# endif
# define _USE_STLP
# define _STLP_USE_OWN_MBSTATE_T
// # define _STLP_USE_OWN_NAMESPACE
# define _STLP_DLLEXPORT_NEEDS_PREDECLARATION
# define _STLP_OPERATOR_SPEC_NEEDS_TEMPLATE_ARGS
// most of <exception> contents is still in global namespace
// # define _STLP_VENDOR_UNEXPECTED_STD
// <limits> problem
# define _STLP_STATIC_CONST_INIT_BUG
// <bitset> problems
# define _STLP_MEMBER_SPECIALIZATION_BUG
# define _STLP_HAS_SPECIFIC_PROLOG_EPILOG 1
#if ( __BORLANDC__ < 0x540 )
// Borland C++ Builder 3 (?)
// those are assumptions, if some of them actually work, please let me know
// # define _STLP_STATIC_CONST_INIT_BUG 1
// # define _STLP_THROW_RETURN_BUG 1
# define _STLP_NO_TEMPLATE_CONVERSIONS 1
# define _STLP_DEFAULT_CONSTRUCTOR_BUG 1
# define _STLP_NO_TYPENAME_ON_RETURN_TYPE
#else
# define _STLP_LONG_LONG __int64
#endif
// BCB 2 or less (Borland 5.02)
#if ( __BORLANDC__ < 0x530 )
# define _STLP_NO_OWN_IOSTREAMS
# undef _STLP_OWN_IOSTREAMS
# define _STLP_GLOBAL_VENDOR_CSTD 1
# define _STLP_HAS_NO_NEW_IOSTREAMS 1
# define _STLP_HAS_NO_NEW_C_HEADERS 1
# define _STLP_NO_MEMBER_TEMPLATES 1
# define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
# define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
# define _STLP_NO_FRIEND_TEMPLATES 1
# define _STLP_NO_QUALIFIED_FRIENDS 1
# define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
# define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
# define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1
# define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1
# define _STLP_NO_DEFAULT_NON_TYPE_PARAM 1
# define _STLP_NON_TYPE_TMPL_PARAM_BUG 1
# define _STLP_MEMBER_SPECIALIZATION_BUG
# define _STLP_NO_EXCEPTION_HEADER 1
# define _STLP_NO_EXCEPTION_SPEC 1
# define _STLP_NO_BAD_ALLOC 1
# define _STLP_NO_ARROW_OPERATOR 1
typedef char mbstate_t;
# define _STLP_LIMITED_DEFAULT_TEMPLATES 1
# define _STLP_NO_TYPEINFO
# define _STLP_NO_METHOD_SPECIALIZATION
#endif
// Borland 5.0x
#if ( __BORLANDC__ < 0x520 )
# define _STLP_BROKEN_USING_DIRECTIVE 1
# define _STLP_EXPORT_KEYWORD _export
# define _STLP_IMPORT_KEYWORD _import
# define _STLP_EXPORT_TEMPLATE_KEYWORD _export
# define _STLP_IMPORT_TEMPLATE_KEYWORD _import
#endif
#if ( __BORLANDC__ < 0x501 )
# define _STLP_NONTEMPL_BASE_MATCH_BUG 1
# define _STLP_NO_WCHAR_T 1
#endif
// 4.x
#if ( __BORLANDC__ < 0x500 )
# define _STLP_NESTED_TYPE_PARAM_BUG 1
# define _STLP_STATIC_ARRAY_BUG 1
# define _STLP_NO_BOOL 1
# define _STLP_HAS_NO_NAMESPACES 1
# define _STLP_NEED_TYPENAME 1
# define _STLP_NEED_EXPLICIT 1
# define _STLP_NEED_MUTABLE 1
# define _STLP_NO_WCHAR_T 1
#endif
// auto enable thread safety and exceptions:
# ifndef _CPPUNWIND
# define _STLP_HAS_NO_EXCEPTIONS
# endif
# if defined ( __MT__ ) && !defined (_NOTHREADS) && !defined (_REENTRANT)
# define _REENTRANT 1
# endif
# if defined ( __DEBUG ) && ( __DEBUG > 1 )
# define _STLP_DEBUG
# endif
# define _STLP_LIB_BASENAME "stlp"
# if (__BORLANDC__ < 0x540)
# define _STLP_EXPORT_DECLSPEC __declspec(dllexport)
# define _STLP_IMPORT_DECLSPEC __declspec(dllimport)
# define _STLP_IMPORT_TEMPLATE_KEYWORD extern
# define _STLP_EXPORT_TEMPLATE_KEYWORD
# define _STLP_CLASS_EXPORT_DECLSPEC __declspec(dllexport)
# define _STLP_CLASS_IMPORT_DECLSPEC __declspec(dllimport)
# if !defined (_STLP_NO_OWN_IOSTREAMS)
# if ( defined (__DLL) || defined (_DLL) || defined (_WINDLL) || defined (_RTLDLL) \
|| defined (_STLP_USE_DYNAMIC_LIB) ) \
&& ! defined (_STLP_USE_STATIC_LIB)
# undef _STLP_USE_DECLSPEC
# define _STLP_USE_DECLSPEC
# endif
# endif
# else
# define _STLP_EXPORT_DECLSPEC __declspec(dllexport)
# define _STLP_IMPORT_DECLSPEC __declspec(dllimport)
# define _STLP_CLASS_EXPORT_DECLSPEC __declspec(dllexport)
# define _STLP_CLASS_IMPORT_DECLSPEC __declspec(dllimport)
# if !defined (_STLP_NO_OWN_IOSTREAMS)
# if ( defined (__DLL) || defined (_DLL) || defined (_WINDLL) || defined (_RTLDLL) \
|| defined(_AFXDLL) || defined (_STLP_USE_DYNAMIC_LIB) )
# undef _STLP_USE_DECLSPEC
# define _STLP_USE_DECLSPEC 1
# endif
# ifndef _STLP_IMPORT_TEMPLATE_KEYWORD
# define _STLP_IMPORT_TEMPLATE_KEYWORD __declspec(dllimport)
# endif
# define _STLP_EXPORT_TEMPLATE_KEYWORD __declspec(dllexport)
# if (__BORLANDC__ >= 0x560) && ! defined (_STLP_OWN_IOSTREAMS)
// # define _STLP_IS_NATIVE_LIB
# define _STLP_NATIVE_INCLUDE_PATH ../include/oldstl
# define _STLP_NATIVE_CPP_C_INCLUDE_PATH ../include/oldstl
# define _STLP_NATIVE_C_INCLUDE_PATH ../include/oldstl
# define _STLP_NATIVE_CPP_RUNTIME_PATH ../include/oldstl
# endif
# ifndef __BUILDING_STLPORT
# ifdef _STLP_DEBUG
# ifdef _MT
# ifdef _RTLDLL
# pragma comment(lib,"stlpmt_stldebug45.lib")
# else
# pragma comment(lib,"stlpmt_stldebugst.lib")
# endif
# else
# ifdef _RTLDLL
# pragma comment(lib,"stlp_stldebug45.lib")
# else
# pragma comment(lib,"stlp_stldebugst.lib")
# endif
# endif
# else
# ifdef _MT
# ifdef _RTLDLL
# pragma comment(lib,"stlpmt45.lib")
# else
# pragma comment(lib,"stlpmtst.lib")
# endif
# else
# ifdef _RTLDLL
# pragma comment(lib,"stlp45.lib")
# else
# pragma comment(lib,"stlpst.lib")
# endif
# endif
# endif
# endif
# endif /* _STLP_OWN_IOSTREAMS */
# endif

View File

@@ -0,0 +1,209 @@
// STLport configuration file
// It is internal STLport header - DO NOT include it directly
# define _STLP_UINT32_T unsigned int
# define _STLP_HAS_NO_NEW_C_HEADERS
// # define _STLP_VENDOR_GLOBAL_EXCEPT_STD
// # define _STLP_LONG_LONG
//
// ADDITIONS FOR COMEAU C++, made by Comeau Computing.
// We can be reached through comeau@comeaucomputing.com
// You shouldn't need to change anything below here for Comeau C++.
// If you do, please tell us at comeau@comeaucomputing.com
//
// Changes made here, AND THROUGH ALL FILES, based upon the __COMO__ macro
// (and SIMILAR NAMES INVOLVING COMO).... no doubt some of this will
// change as SGI integrates the changes into their code base since
// some changes are not really Comeau C++ specific, but required to
// make the SGI code compliant with Standard C++).
//
// Testing was done with Comeau C++ 4.2.44 and 4.2.45.2. Changes were made for
// both Comeau relaxed mode and Comeau strict mode, especially for end user code
// (that is, some of the .cxx files cannot compile in strict mode, because they
// contain extensions to Standard C++, however their object code forms can
// be used once compiled in relaxed mode, even if the end user code uses
// strict mode).
//
// These changes may also work for some earlier versions of Comeau C++,
// though we have not tested them.
//
// Actual mods made under RedHat 6.1 LINUX, should be ok with SuSE too and
// other LINUX's, and older Caldera LINUX, Solaris/SPARC, SunOS, SCO UNIX,
// and NetBSD. Other platforms may be added. Comeau will also perform
// custom ports for you.
//
// Check libcomo details at http://www.comeaucomputing.com/libcomo and
// http://www.comeaucomputing.com
//
// History of Comeau changes (this is rough, as work was often going on in parallel):
// BETA1 July 14, 2000, Initial port for RedHat 6.1 INTEL/ELF
// BETA2 Aug 4, 2000, Stronger RedHat support
// Support for Comeau strict mode for end user code
// BETA3 Aug 22, 2000, Support for other LINUX/INTEL/ELF's, including older ones
// BETA4 Sept 2, 2000, Initial support for SCO UNIX + other UNIX x86 SVR3's
// Stronger support for end user Comeau strict mode
// BETA5 Oct 5, 2000, Initial support for Solaris/SPARC
// More SCO support (though still incomplete)
// BETA6 Feb 5, 2001, Minor mods to accomodate Comeau C++ 4.2.45.1
// BETA7 Mar 13, 2001, Verified with Comeau C++ 4.2.45.2
// Minor NetBSD support
// BETA8 Apr 1. 2001, Initial support for SunOS/SPARC
// BETA9 Apr 7, 2001, Stronger SCO support + other UNIX x86 SVR3's
// Mods for an fpos_t problem for some LINUXes
// Mods since Destroy did not work in strict mode
// BETA10 Apr 12. 2001, Stronger NetBSD support
//
// PLANNED:
// BETAx TBA TBA, 2001, NetBSD, UNIXWARE, and Windows support expected
//
#ifdef __linux__
# define _STLP_NO_NATIVE_MBSTATE_T 1
# define _STLP_NO_NATIVE_WIDE_FUNCTIONS 1
# define _STLP_NO_NATIVE_WIDE_STREAMS 1
# define _STLP_NO_LONG_DOUBLE 1
// Comeau C++ under LINUX/INTEL/ELF
// Preprocess away "long long" routines for now, even in relaxed mode
# define __wcstoull_internal_defined 1
# define __wcstoll_internal_defined 1
#endif /* __COMO__ under __linux__ */
#ifdef __USING_x86SVR3x_WITH_COMO /* SCO et al */
/* UNIX 386+ SVR3 mods made with __USING_x86SVR3x_WITH_COMO
in other sources, not here */
# define atan2l atan2
# define cosl cos
# define sinl sin
# define sqrtl sqrt
# include <math.h>
inline long double expl(long double arg) { return exp(arg); }
inline long double logl(long double arg) { return log(arg); }
# define log10l log10
# define sinhl sinh
# define coshl cosh
# define fabsl fabs
namespace std {
inline int min(int a, int b) { return a>b ? b : a; }
}
#endif
#ifdef sun
// Comeau C++ under Solaris/SPARC or SunOS
#ifdef solarissparc
#define __USING_SOLARIS_SPARC_WITH_COMO /* show this in the source when grep'ing for COMO */
// Note comowchar.h for Solaris/SPARC wchar stuff
#include <math.h>
# define sinf sin
# define sinl sin
# define sinhf sinh
# define sinhl sinh
# define cosf cos
# define cosl cos
# define coshf cosh
# define coshl cosh
# define atan2l atan2
# define atan2f atan2
inline float logf(float arg) { return log(arg); }
inline long double logl(long double arg) { return log(arg); }
# define log10f log10
# define log10l log10
# define expf exp
inline long double expl(long double arg) { return exp(arg); }
# define sqrtf sqrt
# define sqrtl sqrt
# define fabsf fabs
# define fabsl fabs
#else
#define __USING_SUNOS_WITH_COMO
#define __unix 1
#define __EXTENSIONS__ /* This might create undue noise somewhere */
#endif
#endif /* sun */
#if defined(__NetBSD__)
// From non-como #ifdef __GNUC__ above
#undef _STLP_NO_FUNCTION_PTR_IN_CLASS_TEMPLATE
#define __unix 1
#include <sys/cdefs.h>
// Some joker #define'd __END_DECLS as };
#undef __END_DECLS
#define __END_DECLS }
// <sys/stat.h> prob
#include <sys/cdefs.h>
#undef __RENAME
#define __RENAME(x)
#define wchar_t __COMO_WCHAR_T
#include <stddef.h>
#undef wchar_t
#include <math.h>
# ifdef BORIS_DISABLED
# define atan2l atan2
# define cosl cos
# define sinl sin
# define sqrtl sqrt
inline long double expl(long double arg) { return exp(arg); }
inline long double logl(long double arg) { return log(arg); }
# define log10l log10
# define sinhl sinh
# define coshl cosh
# define fabsl fabs
# endif
#endif /* __NetBSD__ under __COMO__ */
// Shouldn't need to change anything below here for Comeau C++
// If so, tell us at comeau@comeaucomputing.com
#define _STLP_NO_DRAND48
#define _STLP_PARTIAL_SPECIALIZATION_SYNTAX
#define _STLP_NO_USING_CLAUSE_IN_CLASS
#if __COMO_VERSION__ >= 4245
#define _STLP_NO_EXCEPTION_HEADER /**/
#endif
#define _STLP_NO_BAD_ALLOC /**/
#define _STLP_USE_AUTO_PTR_CONVERSIONS /**/
#if __COMO_VERSION__ >= 4245
// Is this needed?
#include <stdexcept.stdh>
//
// ALSO: SEE THE END OF THIS FILE FOR #INCLUDE <IOSTREAM>
//
#endif
// this one is true only with MS
# if defined (_MSC_VER)
# define _STLP_WCHAR_T_IS_USHORT 1
# if _MSC_VER <= 1200
# define _STLP_VENDOR_GLOBAL_CSTD
# endif
# if _MSC_VER < 1100
# define _STLP_NO_BAD_ALLOC 1
# define _STLP_NO_EXCEPTION_HEADER 1
# define _STLP_NO_NEW_NEW_HEADER 1
# define _STLP_NO_NEW_IOSTREAMS 1
# endif
# endif
// # define __EDG_SWITCHES

View File

@@ -0,0 +1,78 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
/*
* STLport configuration file
* It is internal STLport header - DO NOT include it directly
* Purpose of this file : to define STLport settings that depend on
* compiler flags or can be otherwise missed
*
*/
#ifndef _STLP_CONFIX_H
# define _STLP_CONFIX_H
/* If, by any chance, C compiler gets there, try to help it to pass smoothly */
# if ! defined (__cplusplus) && ! defined (_STLP_HAS_NO_NAMESPACES)
# define _STLP_HAS_NO_NAMESPACES
# endif
# if defined(__MINGW32__)
# define _STLP_NO_DRAND48
# endif
/* Modena C++ library */
#if defined (__MWERKS__) && __MWERKS__ <= 0x2303 || (defined (__KCC) && __KCC_VERSION < 3400)
# include <mcompile.h>
# define _STLP_USE_MSIPL 1
# if defined (__KCC) || (defined(__MSL_CPP__) && \
( (__MSL_CPP__ >= 0x5000 && defined( _MSL_NO_MESSAGE_FACET )) || \
(__MSL_CPP__ < 0x5000 && defined( MSIPL_NL_TYPES ))) \
)
# define _STLP_NO_NATIVE_MESSAGE_FACET 1
# endif
#endif
/* common switches for EDG front-end */
# if defined (__EDG_SWITCHES)
# if !(defined(_TYPENAME) || defined (_TYPENAME_IS_KEYWORD))
# undef _STLP_NEED_TYPENAME
# define _STLP_NEED_TYPENAME 1
# endif
# if !defined(_WCHAR_T_IS_KEYWORD)
# undef _STLP_NO_WCHAR_T
# define _STLP_NO_WCHAR_T 1
# endif
# ifndef _PARTIAL_SPECIALIZATION_OF_CLASS_TEMPLATES
# undef _STLP_NO_CLASS_PARTIAL_SPECIALIZATION
# define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
# endif
# ifndef _MEMBER_TEMPLATES
# undef _STLP_NO_MEMBER_TEMPLATES
# define _STLP_NO_MEMBER_TEMPLATES 1
# undef _STLP_NO_MEMBER_TEMPLATE_CLASSES
# define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
# endif
# if !defined(_MEMBER_TEMPLATE_KEYWORD)
# undef _STLP_NO_MEMBER_TEMPLATE_KEYWORD
# define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
# endif
# if !defined (__EXCEPTIONS) && ! defined (_EXCEPTIONS)
# undef _STLP_HAS_NO_EXCEPTIONS
# define _STLP_HAS_NO_EXCEPTIONS
# endif
# undef __EDG_SWITCHES
# endif /* EDG */
#endif

View File

@@ -0,0 +1,68 @@
/*
* Copyright (c) 1997
* Moscow Center for SPARC Technology
*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
// Mostly correct guess, change it for Alpha (and other environments
// that has 64-bit "long")
# define _STLP_UINT32_T unsigned long
// Uncomment if long long is available
# define _STLP_LONG_LONG long long
// Uncomment this if your compiler can't inline while(), for()
# define _STLP_LOOP_INLINE_PROBLEMS 1
// Uncomment if native new-style iostreams are not available
#define _STLP_HAS_NO_NEW_IOSTREAMS 1
// Uncomment this if your compiler does not support exceptions
// Cray C++ supports exceptions when '-h exceptions' option is user;
// therefore '-D_STLP_HAS_NO_EXCEPTIONS' must be used when '-h exceptions'
// is NOT used.
//# define _STLP_HAS_NO_EXCEPTIONS 1
// Delete?
// Define this if compiler lacks <exception> header
//# define _STLP_NO_EXCEPTION_HEADER 1
// Uncomment this if your C library has lrand48() function
# define _STLP_RAND48 1
// Uncomment if native new-style C library headers lile <cstddef>, etc are not available.
# define _STLP_HAS_NO_NEW_C_HEADERS 1
// uncomment if new-style headers <new> is available
# define _STLP_NO_NEW_NEW_HEADER 1
// uncomment this if <iostream> and other STD headers put their stuff in ::namespace,
// not std::
# define _STLP_VENDOR_GLOBAL_STD
// uncomment this if <cstdio> and the like put stuff in ::namespace,
// not std::
# define _STLP_VENDOR_GLOBAL_CSTD
# define _STLP_NATIVE_C_HEADER(__x) </usr/include/##__x>
// WARNING: Following is hardcoded to the system default C++ include files
# define _STLP_NATIVE_CPP_RUNTIME_HEADER(__x) </opt/ctl/CC/CC/include/##__x>
# define _STLP_NO_NATIVE_MBSTATE_T
# define _STLP_NO_CSTD_FUNCTION_IMPORTS
//# define _STLP_VENDOR_GLOBAL_EXCEPT_STD

View File

@@ -0,0 +1,110 @@
# define _STLP_HAS_SPECIFIC_PROLOG_EPILOG
# define _STLP_NATIVE_HEADER(header) <../cxx/##header>
# define _STLP_NATIVE_C_HEADER(x) <../include/##x>
#if (__DECCXX_VER < 60300000)
# define _STLP_NATIVE_CPP_C_HEADER(header) <../cxx/##header>
#else
# define _STLP_NATIVE_CPP_C_HEADER(header) </usr/include/cxx_cname/##header>
#endif
# define _STLP_NATIVE_OLD_STREAMS_HEADER(header) <../cxx/##header>
# define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../cxx/##header>
// Alpha is little-endian
# define _STLP_LITTLE_ENDIAN
// collisions
# define _STLP_DONT_PUT_STLPORT_IN_STD
#if (__DECCXX_VER < 60000000)
// automatic template instantiation does not
// work with namespaces ;(
# define _STLP_HAS_NO_NAMESPACES 1
# define _STLP_NO_NEW_NEW_HEADER 1
# define _STLP_NO_WCHAR_T 1
# define _STLP_NEED_EXPLICIT 1
# define _STLP_NO_BOOL 1
# define _STLP_NEED_TYPENAME 1
# define _STLP_NO_NEW_STYLE_CASTS 1
# define _STLP_NEED_MUTABLE 1
# define _STLP_NO_BAD_ALLOC 1
# define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1
# define _STLP_NO_MEMBER_TEMPLATES 1
# define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
# define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
# define _STLP_NO_FRIEND_TEMPLATES 1
# define _STLP_NO_QUALIFIED_FRIENDS 1
# define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
# define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
# define _STLP_NON_TYPE_TMPL_PARAM_BUG 1
# define _STLP_BROKEN_USING_DIRECTIVE 1
# define _STLP_NO_EXCEPTION_HEADER 1
# define _STLP_DEFAULT_CONSTRUCTOR_BUG 1
#endif
#ifdef __NO_USE_STD_IOSTREAM
# define _STLP_HAS_NO_NEW_IOSTREAMS 1
# else
// default is to use new iostreams, anyway
# ifndef __USE_STD_IOSTREAM
# define __USE_STD_IOSTREAM
# endif
#endif
// # if !defined (_STLP_NEW_IOSTREAMS) && ! defined (_STLP_DONT_REDEFINE_STD) \
// && ! defined (_STLP_REDEFINE_STD)
// # undef __PRAGMA_ENVIRONMENT
// # define _STLP_DONT_REDEFINE_STD
// # endif
//# ifndef __STD_STRICT_ANSI_ERRORS
//# endif
#ifndef __EXCEPTIONS
# define _STLP_HAS_NO_EXCEPTIONS 1
#endif
# ifdef __IMPLICIT_INCLUDE_ENABLED
// but, works with ours ;).
# define _STLP_LINK_TIME_INSTANTIATION 1
# else
# undef _STLP_LINK_TIME_INSTANTIATION
# endif
# if defined (__IMPLICIT_USING_STD) && !defined (__NO_USE_STD_IOSTREAM)
// we should ban that !
// # 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"
# endif
# if (defined (__STD_STRICT_ANSI) || defined (__STD_STRICT_ANSI_ERRORS))
# define _STLP_STRICT_ANSI 1
# else
// we want to enforce it
# define _STLP_LONG_LONG long long
# endif
// unsigned 32-bit integer type
# define _STLP_UINT32_T unsigned int
#if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
# define _STLP_RAND48 1
#endif
// # define _STLP_RAND48 1
# define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1
# if (__DECCXX_VER <= 60400000)
# define _STLP_HAS_NO_NEW_C_HEADERS 1
# endif

View File

@@ -0,0 +1,96 @@
// OpenVMS version
# define _STLP_NATIVE_HEADER(header) <sys$library:##header>
# define _STLP_NATIVE_C_HEADER(x) <sys$library:##x>
# define _STLP_NATIVE_CPP_C_HEADER(header) <sys$library:##header>
# define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <sys$library:##header>
#if (__DECCXX_VER < 60000000)
// automatic template instantiation does not
// work with namespaces ;(
# define _STLP_HAS_NO_NAMESPACES 1
# define _STLP_NO_WCHAR_T 1
# define _STLP_NEED_EXPLICIT 1
# define _STLP_NO_BOOL 1
# define _STLP_NEED_TYPENAME 1
# define _STLP_NO_NEW_STYLE_CASTS 1
# define _STLP_NEED_MUTABLE 1
# define _STLP_NO_BAD_ALLOC 1
# define _STLP_NO_NEW_NEW_HEADER 1
# define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1
# define _STLP_NO_MEMBER_TEMPLATES 1
# define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
# define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
# define _STLP_NO_FRIEND_TEMPLATES 1
# define _STLP_NO_QUALIFIED_FRIENDS 1
# define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
# define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
# define _STLP_NON_TYPE_TMPL_PARAM_BUG 1
# define _STLP_BROKEN_USING_DIRECTIVE 1
# define _STLP_NO_EXCEPTION_HEADER 1
# define _STLP_DEFAULT_CONSTRUCTOR_BUG 1
#endif
#ifdef __NO_USE_STD_IOSTREAM
# define _STLP_HAS_NO_NEW_IOSTREAMS 1
# else
// default is to use new iostreams, anyway
# ifndef __USE_STD_IOSTREAM
# define __USE_STD_IOSTREAM
# endif
#endif
// # if !defined (_STLP_NEW_IOSTREAMS) && ! defined (_STLP_DONT_REDEFINE_STD) \
// && ! defined (_STLP_REDEFINE_STD)
// # undef __PRAGMA_ENVIRONMENT
// # define _STLP_DONT_REDEFINE_STD
// # endif
//# ifndef __STD_STRICT_ANSI_ERRORS
//# endif
#ifndef __EXCEPTIONS
# define _STLP_HAS_NO_EXCEPTIONS 1
#endif
# ifdef __IMPLICIT_INCLUDE_ENABLED
#ifndef _STLP_IOSTREAMS
// implicit include introduces conflicts
// between stlport and native lib.
# undef __IMPLICIT_INCLUDE_ENABLED
#endif
// but, works with ours ;).
# define _STLP_LINK_TIME_INSTANTIATION 1
# endif
# if defined (__IMPLICIT_USING_STD) && !defined (__NO_USE_STD_IOSTREAM)
// we should ban that !
# 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"
# endif
# if !(defined (__STD_STRICT_ANSI) || defined (__STD_STRICT_ANSI_ERRORS))
// we want to enforce it
# define _STLP_LONG_LONG long long
# endif
// unsigned 32-bit integer type
# define _STLP_UINT32_T unsigned int
#if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
# define _STLP_RAND48 1
#endif
// # define _STLP_RAND48 1
# define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1
#define _STLP_HAS_NO_NEW_C_HEADERS 1

Some files were not shown because too many files have changed in this diff Show More