*** misc/STLport-4.5/src/dll_main.cpp Sat Aug 25 03:14:19 2001 --- misc/build/STLport-4.5/src/dll_main.cpp Sun Sep 17 09:25:58 2006 *************** *** 147,152 **** --- 147,156 ---- template struct _STLP_CLASS_DECLSPEC __stl_debug_engine; # endif + #ifdef __APPLE__ + template class _STLP_CLASS_DECLSPEC _Node_Alloc_Lock; + template class _STLP_CLASS_DECLSPEC _Node_Alloc_Lock; + #endif template class _STLP_CLASS_DECLSPEC __node_alloc; template class _STLP_CLASS_DECLSPEC __node_alloc; template class _STLP_CLASS_DECLSPEC __debug_alloc< __node_alloc >; *** misc/STLport-4.5/src/gcc-3.0-freebsd.mak Sun Sep 17 09:26:44 2006 --- misc/build/STLport-4.5/src/gcc-3.0-freebsd.mak Sun Sep 17 09:25:58 2006 *************** *** 1 **** ! dummy --- 1,59 ---- ! # ! # Note : this makefile is for gcc-3 ! ! # ! ! # ! # compiler ! # ! CC+= ${PTHREAD_CFLAGS} -D_REENTRANT ! CXX+= ${PTHREAD_CFLAGS} -D_REENTRANT -fexceptions ! ! # ! # Basename for libraries ! # ! LIB_BASENAME = libstlport_gcc ! ! # ! # guts for common stuff ! # ! # ! LINK=ar cr ! DYN_LINK=${CXX} ${PTHREAD_LIBS} --fexceptions -shared -o ! ! OBJEXT=o ! DYNEXT=so ! STEXT=a ! RM=rm -rf ! PATH_SEP=/ ! MKDIR=mkdir -p ! COMP=GCC-FREEBSD ! INSTALL_STEP = install_unix ! ! all: all_dynamic all_static symbolic_links ! ! include common_macros.mak ! ! WARNING_FLAGS= -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32 ! ! CXXFLAGS_COMMON = -I${STLPORT_DIR} -DGXX_INCLUDE_PATH=${GXX_INCLUDE_PATH} ${WARNING_FLAGS} ${ARCH_FLAGS} ! ! CXXFLAGS_RELEASE_static = $(CXXFLAGS_COMMON) ${CXXFLAGS} ! CXXFLAGS_RELEASE_dynamic = $(CXXFLAGS_COMMON) ${CXXFLAGS} -fPIC ! ! CXXFLAGS_DEBUG_static = $(CXXFLAGS_COMMON) -g ! CXXFLAGS_DEBUG_dynamic = $(CXXFLAGS_COMMON) -g -fPIC ! ! CXXFLAGS_STLDEBUG_static = $(CXXFLAGS_DEBUG_static) -D_STLP_DEBUG ! CXXFLAGS_STLDEBUG_dynamic = $(CXXFLAGS_DEBUG_dynamic) -D_STLP_DEBUG ! ! include common_percent_rules.mak ! include common_rules.mak ! ! ! #install: all ! # cp -p $(LIB_TARGET) ${D_LIB_TARGET} ../lib ! ! #%.s: %.cpp ! # $(CXX) $(CXXFLAGS) -O4 -S -pto $< -o $@ ! ! *** misc/STLport-4.5/src/gcc-3.0-macosx.mak Sun Sep 17 09:26:44 2006 --- misc/build/STLport-4.5/src/gcc-3.0-macosx.mak Sun Sep 17 09:25:58 2006 *************** *** 1 **** ! dummy --- 1,59 ---- ! # ! # Note : this makefile is for gcc-3, Mac OS X only ! ! # ! ! # ! # compiler ! # take these from the OOo build environment ! CC*= gcc ! CXX*= g++ ! ! # ! # Basename for libraries ! # ! LIB_BASENAME = libstlport_gcc ! ! # ! # guts for common stuff ! # ! # ! LINK=libtool -static -o ! DYN_LINK=$(CXX) -dynamiclib -single_module -install_name @executable_path/libstlport_gcc.dylib -o ! ! OBJEXT=o ! DYNEXT=dylib ! STEXT=a ! RM=rm -rf ! PATH_SEP=/ ! MKDIR=mkdir -p ! COMP=GCC$(ARCH) ! INSTALL_STEP = install_unix ! ! all: all_dynamic all_static symbolic_links ! ! include common_macros.mak ! ! WARNING_FLAGS= -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -Wno-long-double ! ! CXXFLAGS_COMMON = ${ENVCDEFS} -I${STLPORT_DIR} -DGXX_INCLUDE_PATH=${GXX_INCLUDE_PATH} -D_REENTRANT -D_PTHREADS -ftemplate-depth-32 -malign-natural -no-cpp-precomp -fexceptions ${WARNING_FLAGS} ${ARCH_FLAGS} ! ! CXXFLAGS_RELEASE_static = $(CXXFLAGS_COMMON) -O2 -fPIC ! CXXFLAGS_RELEASE_dynamic = $(CXXFLAGS_COMMON) -O2 -fPIC ! ! CXXFLAGS_DEBUG_static = $(CXXFLAGS_COMMON) -g -fPIC ! CXXFLAGS_DEBUG_dynamic = $(CXXFLAGS_COMMON) -g -fPIC ! ! CXXFLAGS_STLDEBUG_static = $(CXXFLAGS_DEBUG_static) -D_STLP_DEBUG ! CXXFLAGS_STLDEBUG_dynamic = $(CXXFLAGS_DEBUG_dynamic) -D_STLP_DEBUG ! ! include common_percent_rules.mak ! include common_rules.mak ! ! ! #install: all ! # cp -p $(LIB_TARGET) ${D_LIB_TARGET} ../lib ! ! #%.s: %.cpp ! # $(CXX) $(CXXFLAGS) -O4 -S -pto $< -o $@ ! ! *** misc/STLport-4.5/src/gcc-3.0.mak Sun Sep 17 09:26:44 2006 --- misc/build/STLport-4.5/src/gcc-3.0.mak Sun Sep 17 09:25:58 2006 *************** *** 1 **** ! dummy --- 1,59 ---- ! # ! # Note : this makefile is for gcc-3 ! ! # ! ! # ! # compiler ! # take these from the OOo build environment ! CC*= gcc ! CXX*= g++ ! ! # ! # Basename for libraries ! # ! LIB_BASENAME = libstlport_gcc ! ! # ! # guts for common stuff ! # ! # ! LINK=ar cr ! DYN_LINK=$(CXX) --fexceptions -shared -o ! ! OBJEXT=o ! DYNEXT=so ! STEXT=a ! RM=rm -rf ! PATH_SEP=/ ! MKDIR=mkdir -p ! COMP=GCC$(ARCH) ! INSTALL_STEP = install_unix ! ! all: all_dynamic all_static symbolic_links ! ! include common_macros.mak ! ! WARNING_FLAGS= -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32 ! ! CXXFLAGS_COMMON = -D_REENTRANT -DGXX_INCLUDE_PATH=${GXX_INCLUDE_PATH} -fexceptions -I${STLPORT_DIR} ${WARNING_FLAGS} ${ARCH_FLAGS} ! ! CXXFLAGS_RELEASE_static = $(CXXFLAGS_COMMON) -O2 -fPIC ! CXXFLAGS_RELEASE_dynamic = $(CXXFLAGS_COMMON) -O2 -fPIC ! ! CXXFLAGS_DEBUG_static = $(CXXFLAGS_COMMON) -g -fPIC ! CXXFLAGS_DEBUG_dynamic = $(CXXFLAGS_COMMON) -g -fPIC ! ! CXXFLAGS_STLDEBUG_static = $(CXXFLAGS_DEBUG_static) -D_STLP_DEBUG ! CXXFLAGS_STLDEBUG_dynamic = $(CXXFLAGS_DEBUG_dynamic) -D_STLP_DEBUG ! ! include common_percent_rules.mak ! include common_rules.mak ! ! ! #install: all ! # cp -p $(LIB_TARGET) ${D_LIB_TARGET} ../lib ! ! #%.s: %.cpp ! # $(CXX) $(CXXFLAGS) -O4 -S -pto $< -o $@ ! ! *** misc/STLport-4.5/src/gcc-freebsd.mak Sun Jul 29 05:36:25 2001 --- misc/build/STLport-4.5/src/gcc-freebsd.mak Sun Sep 17 09:25:58 2006 *************** *** 5,12 **** # # compiler # ! CC = gcc -pthread ! CXX = c++ -pthread -fexceptions # # Basename for libraries --- 5,12 ---- # # compiler # ! CC+= ${PTHREAD_CFLAGS} -D_REENTRANT ! CXX+= ${PTHREAD_CFLAGS} -D_REENTRANT -fexceptions # # Basename for libraries *************** *** 19,25 **** # LINK=ar cr # 2.95 flag ! DYN_LINK=c++ -pthread -fexceptions -shared -o OBJEXT=o DYNEXT=so --- 19,25 ---- # LINK=ar cr # 2.95 flag ! DYN_LINK=${CXX} ${PTHREAD_LIBS} -fexceptions -shared -o OBJEXT=o DYNEXT=so *************** *** 39,48 **** WARNING_FLAGS= -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32 ! CXXFLAGS_COMMON = -I${STLPORT_DIR} ${WARNING_FLAGS} ! CXXFLAGS_RELEASE_static = $(CXXFLAGS_COMMON) -O2 ! CXXFLAGS_RELEASE_dynamic = $(CXXFLAGS_COMMON) -O2 -fPIC CXXFLAGS_DEBUG_static = $(CXXFLAGS_COMMON) -g CXXFLAGS_DEBUG_dynamic = $(CXXFLAGS_COMMON) -g -fPIC --- 39,48 ---- WARNING_FLAGS= -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32 ! CXXFLAGS_COMMON = -I${STLPORT_DIR} -DGXX_INCLUDE_PATH=${GXX_INCLUDE_PATH} ${WARNING_FLAGS} ${ARCH_FLAGS} ! CXXFLAGS_RELEASE_static = $(CXXFLAGS_COMMON) ${CXXFLAGS} ! CXXFLAGS_RELEASE_dynamic = $(CXXFLAGS_COMMON) ${CXXFLAGS} -fPIC CXXFLAGS_DEBUG_static = $(CXXFLAGS_COMMON) -g CXXFLAGS_DEBUG_dynamic = $(CXXFLAGS_COMMON) -g -fPIC *** misc/STLport-4.5/stlport/config/stl_gcc.h Tue Sep 4 19:10:16 2001 --- misc/build/STLport-4.5/stlport/config/stl_gcc.h Sun Sep 17 09:25:58 2006 *************** *** 71,80 **** * static data members in template classes */ # if defined (__APPLE__) /* Mac OS X is missing a required typedef and standard macro */ ! typedef unsigned int wint_t; # define __unix /* Mac OS X needs one and only one source file to initialize all static data * members in template classes. Only one source file in an executable or * library can declare instances for such data members, otherwise duplicate --- 71,82 ---- * static data members in template classes */ # if defined (__APPLE__) /* Mac OS X is missing a required typedef and standard macro */ ! /* typedef int wint_t; */ # define __unix + # if ( __GNUC__ < 3 ) + /* Mac OS X needs one and only one source file to initialize all static data * members in template classes. Only one source file in an executable or * library can declare instances for such data members, otherwise duplicate *************** *** 97,103 **** # define _STLP_NATIVE_CPP_C_HEADER(header) <../g++/##header##> # define _STLP_NATIVE_OLD_STREAMS_HEADER(header) <../g++/##header##> # define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../g++/##header##> ! # endif # if defined(__BEOS__) && defined(__INTEL__) --- 99,125 ---- # define _STLP_NATIVE_CPP_C_HEADER(header) <../g++/##header##> # define _STLP_NATIVE_OLD_STREAMS_HEADER(header) <../g++/##header##> # define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../g++/##header##> ! ! # else ! /* Mac OS X using gcc 3.3 handles all well */ ! # undef _STLP_NO_STATIC_TEMPLATE_DATA ! # define _STLP_STATIC_TEMPLATE_DATA 1 ! # define _STLP_WEAK_ATTRIBUTE 1 ! # undef _STLP_NO_LONG_DOUBLE ! ! #if __GNUC__ > 3 ! # undef _STLP_NO_MEMBER_TEMPLATE_KEYWORD ! #endif ! ! #if 0 ! /* Mac OS X needs all "::" scope references to be "std::" */ ! # define _STLP_NO_CSTD_FUNCTION_IMPORTS ! # undef _STLP_VENDOR_GLOBAL_STD ! # undef _STLP_VENDOR_GLOBAL_CSTD ! #endif ! ! # endif /* __GNUC__ < 3 */ ! # endif /* __APPLE__ */ # if defined(__BEOS__) && defined(__INTEL__) *************** *** 226,233 **** # if (__GNUC__ >= 3) ! # define _STLP_NATIVE_INCLUDE_PATH ../g++-v3 ! # define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH ../g++-v3/backward # elif (__GNUC_MINOR__ < 8) --- 248,258 ---- # if (__GNUC__ >= 3) ! /* properly determine the STLP_NATIVE_INCLUDE_PATH */ ! #undef i386 ! # define _STLP_NATIVE_INCLUDE_PATH GXX_INCLUDE_PATH ! # define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH \ ! GXX_INCLUDE_PATH/backward # elif (__GNUC_MINOR__ < 8) *** misc/STLport-4.5/stlport/cwchar Sat Jan 27 02:39:42 2001 --- misc/build/STLport-4.5/stlport/cwchar Sun Sep 17 09:25:58 2006 *************** *** 21,26 **** --- 21,29 ---- # include # endif + #ifdef __FreeBSD__ + #include _STLP_NATIVE_C_HEADER(wchar.h) + #endif # include # if (_STLP_OUTERMOST_HEADER_ID == 0x120) *** misc/STLport-4.5/stlport/stdarg.h Sat Jan 27 02:39:59 2001 --- misc/build/STLport-4.5/stlport/stdarg.h Sun Sep 17 09:25:58 2006 *************** *** 20,26 **** --- 20,30 ---- # define _STLP_DONT_POP_0x261 # endif + #if defined(__GNUC__) && defined(__APPLE__) && (BUILD_OS_MAJOR >= 10) && (BUILD_OS_MINOR >= 4) && (__GNUC__ == 3) + # include _STLP_NATIVE_HEADER(../stdarg.h) + #else # include _STLP_NATIVE_C_HEADER(stdarg.h) + #endif # if (_STLP_OUTERMOST_HEADER_ID == 0x261) # if ! defined (_STLP_DONT_POP_0x261) *** misc/STLport-4.5/stlport/stdexcept Tue May 22 02:50:21 2001 --- misc/build/STLport-4.5/stlport/stdexcept Sun Sep 17 09:25:58 2006 *************** *** 49,54 **** --- 49,61 ---- _STLP_BEGIN_NAMESPACE + + #if defined( __GNUC__) + #undef _STLP_NOTHROW_INHERENTLY + #define _STLP_NOTHROW_INHERENTLY throw() + #endif + + class _STLP_CLASS_DECLSPEC __Named_exception : public _STLP_EXCEPTION_BASE { public: __Named_exception(const string& __str) *** misc/STLport-4.5/stlport/stl/_ios_base.h Tue Sep 4 19:10:18 2001 --- misc/build/STLport-4.5/stlport/stl/_ios_base.h Sun Sep 17 09:26:37 2006 *************** *** 291,297 **** template locale::facet* _M_get_facet(ios_base& __i, Facet*) { ! } // ---------------------------------------------------------------------- --- 291,297 ---- template locale::facet* _M_get_facet(ios_base& __i, Facet*) { ! return NULL; } // ---------------------------------------------------------------------- *** misc/STLport-4.5/stlport/stl/_threads.h Tue Sep 4 19:10:20 2001 --- misc/build/STLport-4.5/stlport/stl/_threads.h Sun Sep 17 09:25:58 2006 *************** *** 42,49 **** # include # endif ! // On SUN and Mac OS X gcc, zero-initialization works just fine... ! # if defined (__sun) || ( defined(__GNUC__) && defined(__APPLE__) ) # define _STLP_MUTEX_INITIALIZER # endif --- 42,49 ---- # include # endif ! // On SUN zero-initialization works just fine... ! # if defined (__sun) # define _STLP_MUTEX_INITIALIZER # endif *** misc/STLport-4.5/stlport/stl/c_locale.h Thu May 31 05:24:41 2001 --- misc/build/STLport-4.5/stlport/stl/c_locale.h Sun Sep 17 09:25:58 2006 *************** *** 290,305 **** # define _Locale_ALPHA 256 # elif defined (__GNUC__) && defined (__APPLE__) ! ! # define _Locale_CNTRL _C ! # define _Locale_UPPER _U ! # define _Locale_LOWER _L ! # define _Locale_DIGIT _D ! # define _Locale_XDIGIT _X ! # define _Locale_PUNCT _P ! # define _Locale_SPACE _S ! # define _Locale_PRINT _R ! # define _Locale_ALPHA _A # elif defined (__hpux) || defined (__osf__) --- 290,317 ---- # define _Locale_ALPHA 256 # elif defined (__GNUC__) && defined (__APPLE__) ! ! # if (BUILD_OS_MAJOR >= 10) && (BUILD_OS_MINOR >= 4) ! # define _Locale_CNTRL _CTYPE_C ! # define _Locale_UPPER _CTYPE_U ! # define _Locale_LOWER _CTYPE_L ! # define _Locale_DIGIT _CTYPE_D ! # define _Locale_XDIGIT _CTYPE_X ! # define _Locale_PUNCT _CTYPE_P ! # define _Locale_SPACE _CTYPE_S ! # define _Locale_PRINT _CTYPE_R ! # define _Locale_ALPHA _CTYPE_A ! # else ! # define _Locale_CNTRL _C ! # define _Locale_UPPER _U ! # define _Locale_LOWER _L ! # define _Locale_DIGIT _D ! # define _Locale_XDIGIT _X ! # define _Locale_PUNCT _P ! # define _Locale_SPACE _S ! # define _Locale_PRINT _R ! # define _Locale_ALPHA _A ! # endif /*BUILD_OS_MAJOR*/ # elif defined (__hpux) || defined (__osf__) *** misc/STLport-4.5/stlport/wchar.h Sat Jan 27 02:40:06 2001 --- misc/build/STLport-4.5/stlport/wchar.h Sun Sep 17 09:25:58 2006 *************** *** 28,38 **** using _STLP_VENDOR_CSTD::strspn; # endif - # if defined (__GNUC__) && defined (__APPLE__) - # include _STLP_NATIVE_C_HEADER(stddef.h) - # else # include _STLP_NATIVE_C_HEADER(wchar.h) - # endif # endif /* WINCE */ --- 28,34 ----