You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2002/11/04 15:45:21 UTC
cvs commit: xml-xerces/c/src/xercesc/util/Compilers BorlandCDefs.hpp CodeWarriorDefs.hpp CSetDefs.hpp DECCXXDefs.hpp GCCDefs.hpp HPCCDefs.hpp IBMVAOS2Defs.hpp IBMVAW32Defs.hpp MIPSproDefs.hpp MVSCPPDefs.hpp OS400SetDefs.hpp PTXCCDefs.hpp SCOCCDefs.hpp SunCCDefs.hpp SunKaiDefs.hpp TandemCCDefs.hpp VCPPDefs.hpp
tng 2002/11/04 06:45:21
Modified: c/src/xercesc/util/Compilers BorlandCDefs.hpp
CodeWarriorDefs.hpp CSetDefs.hpp DECCXXDefs.hpp
GCCDefs.hpp HPCCDefs.hpp IBMVAOS2Defs.hpp
IBMVAW32Defs.hpp MIPSproDefs.hpp MVSCPPDefs.hpp
OS400SetDefs.hpp PTXCCDefs.hpp SCOCCDefs.hpp
SunCCDefs.hpp SunKaiDefs.hpp TandemCCDefs.hpp
VCPPDefs.hpp
Log:
C++ Namespace Support.
Revision Changes Path
1.5 +12 -11 xml-xerces/c/src/xercesc/util/Compilers/BorlandCDefs.hpp
Index: BorlandCDefs.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Compilers/BorlandCDefs.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- BorlandCDefs.hpp 28 May 2002 12:57:17 -0000 1.4
+++ BorlandCDefs.hpp 4 Nov 2002 14:45:20 -0000 1.5
@@ -62,13 +62,6 @@
#define BORLANDCDEFS_HPP
// ---------------------------------------------------------------------------
-// Include some runtime files that will be needed product wide
-// ---------------------------------------------------------------------------
-#include <sys/types.h> // for size_t and ssize_t
-#include <limits.h> // for MAX of size_t and ssize_t
-
-
-// ---------------------------------------------------------------------------
// The following values represent various compiler version levels stored in
// the precompiler macro __BORLANDC__, along with the associated C++Builder
// IDE and compiler versions.
@@ -86,6 +79,12 @@
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
+// Include some runtime files that will be needed product wide
+// ---------------------------------------------------------------------------
+#include <sys/types.h> // for size_t and ssize_t
+#include <limits.h> // for MAX of size_t and ssize_t
+
+// ---------------------------------------------------------------------------
// A define in the build for each project is also used to control whether
// the export keyword is from the project's viewpoint or the client's.
// These defines provide the platform specific keywords that they need
@@ -94,15 +93,12 @@
#define PLATFORM_EXPORT __declspec(dllexport)
#define PLATFORM_IMPORT __declspec(dllimport)
-
-
// ---------------------------------------------------------------------------
// Indicate that we do not support native bools
// If the compiler can handle boolean itself, do not define it
// ---------------------------------------------------------------------------
// #define NO_NATIVE_BOOL
-
// ---------------------------------------------------------------------------
// Each compiler might support L"" prefixed constants. There are places
// where it is advantageous to use the L"" where it supported, to avoid
@@ -111,6 +107,11 @@
// ---------------------------------------------------------------------------
#define XML_LSTRSUPPORT
+// ---------------------------------------------------------------------------
+// Indicate that we support C++ namespace
+// Do not define it if the compile cannot handle C++ namespace
+// ---------------------------------------------------------------------------
+// #define XERCES_HAS_CPP_NAMESPACE
// ---------------------------------------------------------------------------
// Define our version of the XML character
1.8 +7 -7 xml-xerces/c/src/xercesc/util/Compilers/CodeWarriorDefs.hpp
Index: CodeWarriorDefs.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Compilers/CodeWarriorDefs.hpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- CodeWarriorDefs.hpp 22 Aug 2002 23:57:02 -0000 1.7
+++ CodeWarriorDefs.hpp 4 Nov 2002 14:45:20 -0000 1.8
@@ -68,7 +68,6 @@
//#include <limits.h> // for MAX of size_t and ssize_t
//#include <extras.h>
-
// ---------------------------------------------------------------------------
// A define in the build for each project is also used to control whether
// the export keyword is from the project's viewpoint or the client's.
@@ -78,14 +77,12 @@
#define PLATFORM_EXPORT __declspec(export)
#define PLATFORM_IMPORT __declspec(import)
-
// ---------------------------------------------------------------------------
// Indicate that we do not support native bools
// If the compiler can handle boolean itself, do not define it
// ---------------------------------------------------------------------------
// #define NO_NATIVE_BOOL
-
// ---------------------------------------------------------------------------
// Each compiler might support L"" prefixed constants. There are places
// where it is advantageous to use the L"" where it supported, to avoid
@@ -94,13 +91,16 @@
// ---------------------------------------------------------------------------
// #define XML_LSTRSUPPORT
+// ---------------------------------------------------------------------------
+// Indicate that we support C++ namespace
+// Do not define it if the compile cannot handle C++ namespace
+// ---------------------------------------------------------------------------
+// #define XERCES_HAS_CPP_NAMESPACE
// ---------------------------------------------------------------------------
-// Define our version of the XMLCh.
+// Define our version of the XML character
// ---------------------------------------------------------------------------
typedef unsigned short XMLCh;
-typedef unsigned short UTF16Ch;
-
// ---------------------------------------------------------------------------
// Define unsigned 16 and 32 bits integers
1.5 +12 -2 xml-xerces/c/src/xercesc/util/Compilers/CSetDefs.hpp
Index: CSetDefs.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Compilers/CSetDefs.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- CSetDefs.hpp 28 May 2002 12:57:17 -0000 1.4
+++ CSetDefs.hpp 4 Nov 2002 14:45:20 -0000 1.5
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.5 2002/11/04 14:45:20 tng
+ * C++ Namespace Support.
+ *
* Revision 1.4 2002/05/28 12:57:17 tng
* Fix typo.
*
@@ -116,7 +119,10 @@
#include <limits.h> // for MAX of size_t and ssize_t
// ---------------------------------------------------------------------------
-// Define these away for this platform
+// A define in the build for each project is also used to control whether
+// the export keyword is from the project's viewpoint or the client's.
+// These defines provide the platform specific keywords that they need
+// to do this.
// ---------------------------------------------------------------------------
#define PLATFORM_EXPORT
#define PLATFORM_IMPORT
@@ -129,7 +135,6 @@
#define NO_NATIVE_BOOL
#endif
-
// ---------------------------------------------------------------------------
// Each compiler might support L"" prefixed constants. There are places
// where it is advantageous to use the L"" where it supported, to avoid
@@ -138,6 +143,11 @@
// ---------------------------------------------------------------------------
#define XML_LSTRSUPPORT
+// ---------------------------------------------------------------------------
+// Indicate that we support C++ namespace
+// Do not define it if the compile cannot handle C++ namespace
+// ---------------------------------------------------------------------------
+#define XERCES_HAS_CPP_NAMESPACE
// ---------------------------------------------------------------------------
// Define our version of the XML character
1.5 +10 -3 xml-xerces/c/src/xercesc/util/Compilers/DECCXXDefs.hpp
Index: DECCXXDefs.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Compilers/DECCXXDefs.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- DECCXXDefs.hpp 28 May 2002 12:57:17 -0000 1.4
+++ DECCXXDefs.hpp 4 Nov 2002 14:45:20 -0000 1.5
@@ -68,7 +68,10 @@
#include <limits.h> // for MAX of size_t and ssize_t
// ---------------------------------------------------------------------------
-// Define these away for this platform
+// A define in the build for each project is also used to control whether
+// the export keyword is from the project's viewpoint or the client's.
+// These defines provide the platform specific keywords that they need
+// to do this.
// ---------------------------------------------------------------------------
#define PLATFORM_EXPORT
#define PLATFORM_IMPORT
@@ -79,7 +82,6 @@
// ---------------------------------------------------------------------------
// #define NO_NATIVE_BOOL
-
// ---------------------------------------------------------------------------
// Each compiler might support L"" prefixed constants. There are places
// where it is advantageous to use the L"" where it supported, to avoid
@@ -88,6 +90,11 @@
// ---------------------------------------------------------------------------
// #define XML_LSTRSUPPORT
+// ---------------------------------------------------------------------------
+// Indicate that we support C++ namespace
+// Do not define it if the compile cannot handle C++ namespace
+// ---------------------------------------------------------------------------
+// #define XERCES_HAS_CPP_NAMESPACE
// ---------------------------------------------------------------------------
// Define our version of the XML character
1.5 +12 -5 xml-xerces/c/src/xercesc/util/Compilers/GCCDefs.hpp
Index: GCCDefs.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Compilers/GCCDefs.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- GCCDefs.hpp 28 May 2002 12:57:17 -0000 1.4
+++ GCCDefs.hpp 4 Nov 2002 14:45:20 -0000 1.5
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.5 2002/11/04 14:45:20 tng
+ * C++ Namespace Support.
+ *
* Revision 1.4 2002/05/28 12:57:17 tng
* Fix typo.
*
@@ -124,21 +127,21 @@
#include <sys/types.h> // for size_t and ssize_t
#include <limits.h> // for MAX of size_t and ssize_t
-
// ---------------------------------------------------------------------------
-// Define these away for this platform
+// A define in the build for each project is also used to control whether
+// the export keyword is from the project's viewpoint or the client's.
+// These defines provide the platform specific keywords that they need
+// to do this.
// ---------------------------------------------------------------------------
#define PLATFORM_EXPORT
#define PLATFORM_IMPORT
-
// ---------------------------------------------------------------------------
// Indicate that we do not support native bools
// If the compiler can handle boolean itself, do not define it
// ---------------------------------------------------------------------------
// #define NO_NATIVE_BOOL
-
// ---------------------------------------------------------------------------
// Each compiler might support L"" prefixed constants. There are places
// where it is advantageous to use the L"" where it supported, to avoid
@@ -147,11 +150,15 @@
// ---------------------------------------------------------------------------
// #define XML_LSTRSUPPORT
+// ---------------------------------------------------------------------------
+// Indicate that we support C++ namespace
+// Do not define it if the compile cannot handle C++ namespace
+// ---------------------------------------------------------------------------
+#define XERCES_HAS_CPP_NAMESPACE
// ---------------------------------------------------------------------------
// Define our version of the XML character
// ---------------------------------------------------------------------------
-// typedef wchar_t XMLCh; // is another option, now considered old
typedef unsigned short XMLCh;
// ---------------------------------------------------------------------------
1.5 +15 -6 xml-xerces/c/src/xercesc/util/Compilers/HPCCDefs.hpp
Index: HPCCDefs.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Compilers/HPCCDefs.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- HPCCDefs.hpp 28 May 2002 12:57:17 -0000 1.4
+++ HPCCDefs.hpp 4 Nov 2002 14:45:20 -0000 1.5
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.5 2002/11/04 14:45:20 tng
+ * C++ Namespace Support.
+ *
* Revision 1.4 2002/05/28 12:57:17 tng
* Fix typo.
*
@@ -122,21 +125,21 @@
#include <sys/types.h> // for size_t and ssize_t
#include <limits.h> // for MAX of size_t and ssize_t
-
// ---------------------------------------------------------------------------
-// Define these away for this platform
+// A define in the build for each project is also used to control whether
+// the export keyword is from the project's viewpoint or the client's.
+// These defines provide the platform specific keywords that they need
+// to do this.
// ---------------------------------------------------------------------------
#define PLATFORM_EXPORT
#define PLATFORM_IMPORT
-
// ---------------------------------------------------------------------------
-// Indicate that we do not support native bools
+// Indicate that we do not support native bools
// If the compiler can handle boolean itself, do not define it
// ---------------------------------------------------------------------------
// #define NO_NATIVE_BOOL
-
// ---------------------------------------------------------------------------
// Each compiler might support L"" prefixed constants. There are places
// where it is advantageous to use the L"" where it supported, to avoid
@@ -146,7 +149,13 @@
// #define XML_LSTRSUPPORT
// ---------------------------------------------------------------------------
-// Define our version of the XMLCh.
+// Indicate that we support C++ namespace
+// Do not define it if the compile cannot handle C++ namespace
+// ---------------------------------------------------------------------------
+#define XERCES_HAS_CPP_NAMESPACE
+
+// ---------------------------------------------------------------------------
+// Define our version of the XML character
// ---------------------------------------------------------------------------
typedef unsigned short XMLCh;
1.5 +10 -15 xml-xerces/c/src/xercesc/util/Compilers/IBMVAOS2Defs.hpp
Index: IBMVAOS2Defs.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Compilers/IBMVAOS2Defs.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- IBMVAOS2Defs.hpp 28 May 2002 12:57:17 -0000 1.4
+++ IBMVAOS2Defs.hpp 4 Nov 2002 14:45:20 -0000 1.5
@@ -62,12 +62,11 @@
#define IBMVAOS2DEFS_HPP
// ---------------------------------------------------------------------------
-// Include some common headers that are needed product wide
+// Include some runtime files that will be needed product wide
// ---------------------------------------------------------------------------
#include <sys/types.h> // for size_t and ssize_t
#include <limits.h> // for MAX of size_t and ssize_t
-
// ---------------------------------------------------------------------------
// A define in the build for each project is also used to control whether
// the export keyword is from the project's viewpoint or the client's.
@@ -78,33 +77,29 @@
#define PLATFORM_IMPORT
// ---------------------------------------------------------------------------
-// Supports L"" prefixed constants. There are places
-// where it is advantageous to use the L"" where it supported, to avoid
-// unnecessary transcoding.
-// If your compiler does not support it, don't define this.
-// ---------------------------------------------------------------------------
-#define XML_LSTRSUPPORT
-
-// ---------------------------------------------------------------------------
// Indicate that we do not support native bools
// If the compiler can handle boolean itself, do not define it
// ---------------------------------------------------------------------------
// #define NO_NATIVE_BOOL
-
// ---------------------------------------------------------------------------
// Each compiler might support L"" prefixed constants. There are places
// where it is advantageous to use the L"" where it supported, to avoid
// unnecessary transcoding.
// If your compiler does not support it, don't define this.
// ---------------------------------------------------------------------------
-// #define XML_LSTRSUPPORT
+#define XML_LSTRSUPPORT
+
+// ---------------------------------------------------------------------------
+// Indicate that we support C++ namespace
+// Do not define it if the compile cannot handle C++ namespace
+// ---------------------------------------------------------------------------
+// #define XERCES_HAS_CPP_NAMESPACE
// ---------------------------------------------------------------------------
-// Define our version of the XMLCh.
+// Define our version of the XML character
// ---------------------------------------------------------------------------
typedef unsigned short XMLCh;
-// typedef wchar_t XMLCh;
// ---------------------------------------------------------------------------
// Define unsigned 16 and 32 bits integers
1.5 +10 -2 xml-xerces/c/src/xercesc/util/Compilers/IBMVAW32Defs.hpp
Index: IBMVAW32Defs.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Compilers/IBMVAW32Defs.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- IBMVAW32Defs.hpp 28 May 2002 12:57:17 -0000 1.4
+++ IBMVAW32Defs.hpp 4 Nov 2002 14:45:20 -0000 1.5
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.5 2002/11/04 14:45:20 tng
+ * C++ Namespace Support.
+ *
* Revision 1.4 2002/05/28 12:57:17 tng
* Fix typo.
*
@@ -111,7 +114,6 @@
// ---------------------------------------------------------------------------
// #define NO_NATIVE_BOOL
-
// ---------------------------------------------------------------------------
// Each compiler might support L"" prefixed constants. There are places
// where it is advantageous to use the L"" where it supported, to avoid
@@ -121,7 +123,13 @@
// #define XML_LSTRSUPPORT
// ---------------------------------------------------------------------------
-// Define our version of the XMLCh.
+// Indicate that we support C++ namespace
+// Do not define it if the compile cannot handle C++ namespace
+// ---------------------------------------------------------------------------
+// #define XERCES_HAS_CPP_NAMESPACE
+
+// ---------------------------------------------------------------------------
+// Define our version of the XML character
// ---------------------------------------------------------------------------
typedef unsigned short XMLCh;
1.5 +13 -6 xml-xerces/c/src/xercesc/util/Compilers/MIPSproDefs.hpp
Index: MIPSproDefs.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Compilers/MIPSproDefs.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- MIPSproDefs.hpp 28 May 2002 12:57:17 -0000 1.4
+++ MIPSproDefs.hpp 4 Nov 2002 14:45:20 -0000 1.5
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.5 2002/11/04 14:45:20 tng
+ * C++ Namespace Support.
+ *
* Revision 1.4 2002/05/28 12:57:17 tng
* Fix typo.
*
@@ -103,21 +106,21 @@
#include <sys/types.h> // for size_t and ssize_t
#include <limits.h> // for MAX of size_t and ssize_t
-
// ---------------------------------------------------------------------------
-// Define these away for this platform
+// A define in the build for each project is also used to control whether
+// the export keyword is from the project's viewpoint or the client's.
+// These defines provide the platform specific keywords that they need
+// to do this.
// ---------------------------------------------------------------------------
#define PLATFORM_EXPORT
#define PLATFORM_IMPORT
-
// ---------------------------------------------------------------------------
// Indicate that we do not support native bools
// If the compiler can handle boolean itself, do not define it
// ---------------------------------------------------------------------------
// #define NO_NATIVE_BOOL
-
// ---------------------------------------------------------------------------
// Each compiler might support L"" prefixed constants. There are places
// where it is advantageous to use the L"" where it supported, to avoid
@@ -127,11 +130,15 @@
// #define XML_LSTRSUPPORT
// ---------------------------------------------------------------------------
+// Indicate that we support C++ namespace
+// Do not define it if the compile cannot handle C++ namespace
+// ---------------------------------------------------------------------------
+// #define XERCES_HAS_CPP_NAMESPACE
+
+// ---------------------------------------------------------------------------
// Define our version of the XML character
// ---------------------------------------------------------------------------
typedef unsigned short XMLCh;
-typedef unsigned short UTF16Ch;
-
// ---------------------------------------------------------------------------
// Define unsigned 16 and 32 bits integers
1.6 +13 -2 xml-xerces/c/src/xercesc/util/Compilers/MVSCPPDefs.hpp
Index: MVSCPPDefs.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Compilers/MVSCPPDefs.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- MVSCPPDefs.hpp 8 Aug 2002 16:40:16 -0000 1.5
+++ MVSCPPDefs.hpp 4 Nov 2002 14:45:20 -0000 1.6
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.6 2002/11/04 14:45:20 tng
+ * C++ Namespace Support.
+ *
* Revision 1.5 2002/08/08 16:40:16 tng
* 390 Changes from Stephen Dulin.
*
@@ -125,7 +128,10 @@
#include <limits.h> // for MAX of size_t and ssize_t
// ---------------------------------------------------------------------------
-// Define these away for this platform
+// A define in the build for each project is also used to control whether
+// the export keyword is from the project's viewpoint or the client's.
+// These defines provide the platform specific keywords that they need
+// to do this.
// ---------------------------------------------------------------------------
#define PLATFORM_EXPORT _Export
#define PLATFORM_IMPORT _Export
@@ -136,7 +142,6 @@
// ---------------------------------------------------------------------------
//#define NO_NATIVE_BOOL
-
// ---------------------------------------------------------------------------
// Each compiler might support L"" prefixed constants. There are places
// where it is advantageous to use the L"" where it supported, to avoid
@@ -144,6 +149,12 @@
// If your compiler does not support it, don't define this.
// ---------------------------------------------------------------------------
#define XML_LSTRSUPPORT
+
+// ---------------------------------------------------------------------------
+// Indicate that we support C++ namespace
+// Do not define it if the compile cannot handle C++ namespace
+// ---------------------------------------------------------------------------
+// #define XERCES_HAS_CPP_NAMESPACE
// ---------------------------------------------------------------------------
// Define our version of the XML character
1.5 +12 -6 xml-xerces/c/src/xercesc/util/Compilers/OS400SetDefs.hpp
Index: OS400SetDefs.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Compilers/OS400SetDefs.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- OS400SetDefs.hpp 28 May 2002 12:57:17 -0000 1.4
+++ OS400SetDefs.hpp 4 Nov 2002 14:45:20 -0000 1.5
@@ -69,21 +69,22 @@
#include <limits.h> // for MAX of size_t and ssize_t
// ---------------------------------------------------------------------------
-// Define these away for this platform
+// A define in the build for each project is also used to control whether
+// the export keyword is from the project's viewpoint or the client's.
+// These defines provide the platform specific keywords that they need
+// to do this.
// ---------------------------------------------------------------------------
#define PLATFORM_EXPORT
#define PLATFORM_IMPORT
-
// ---------------------------------------------------------------------------
-// Indicate that we do not support native bools
+// Indicate that we do not support native bools
// If the compiler can handle boolean itself, do not define it
// ---------------------------------------------------------------------------
#if !defined(__BOOL__)
#define NO_NATIVE_BOOL
#endif
-
// ---------------------------------------------------------------------------
// Each compiler might support L"" prefixed constants. There are places
// where it is advantageous to use the L"" where it supported, to avoid
@@ -93,10 +94,15 @@
// #define XML_LSTRSUPPORT
// ---------------------------------------------------------------------------
+// Indicate that we support C++ namespace
+// Do not define it if the compile cannot handle C++ namespace
+// ---------------------------------------------------------------------------
+// #define XERCES_HAS_CPP_NAMESPACE
+
+// ---------------------------------------------------------------------------
// Define our version of the XML character
// ---------------------------------------------------------------------------
typedef unsigned short XMLCh;
-
// ---------------------------------------------------------------------------
// Define unsigned 16 and 32 bits integers
1.5 +14 -4 xml-xerces/c/src/xercesc/util/Compilers/PTXCCDefs.hpp
Index: PTXCCDefs.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Compilers/PTXCCDefs.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- PTXCCDefs.hpp 28 May 2002 12:57:17 -0000 1.4
+++ PTXCCDefs.hpp 4 Nov 2002 14:45:20 -0000 1.5
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.5 2002/11/04 14:45:20 tng
+ * C++ Namespace Support.
+ *
* Revision 1.4 2002/05/28 12:57:17 tng
* Fix typo.
*
@@ -87,19 +90,20 @@
#include <limits.h> // for MAX of size_t and ssize_t
// ---------------------------------------------------------------------------
-// Define these away for this platform
+// A define in the build for each project is also used to control whether
+// the export keyword is from the project's viewpoint or the client's.
+// These defines provide the platform specific keywords that they need
+// to do this.
// ---------------------------------------------------------------------------
#define PLATFORM_EXPORT
#define PLATFORM_IMPORT
-
// ---------------------------------------------------------------------------
-// Indicate that we do not support native bools
+// Indicate that we do not support native bools
// If the compiler can handle boolean itself, do not define it
// ---------------------------------------------------------------------------
// #define NO_NATIVE_BOOL
-
// ---------------------------------------------------------------------------
// Each compiler might support L"" prefixed constants. There are places
// where it is advantageous to use the L"" where it supported, to avoid
@@ -107,6 +111,12 @@
// If your compiler does not support it, don't define this.
// ---------------------------------------------------------------------------
// #define XML_LSTRSUPPORT
+
+// ---------------------------------------------------------------------------
+// Indicate that we support C++ namespace
+// Do not define it if the compile cannot handle C++ namespace
+// ---------------------------------------------------------------------------
+// #define XERCES_HAS_CPP_NAMESPACE
// ---------------------------------------------------------------------------
// Define our version of the XML character
1.5 +15 -6 xml-xerces/c/src/xercesc/util/Compilers/SCOCCDefs.hpp
Index: SCOCCDefs.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Compilers/SCOCCDefs.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- SCOCCDefs.hpp 28 May 2002 12:57:17 -0000 1.4
+++ SCOCCDefs.hpp 4 Nov 2002 14:45:20 -0000 1.5
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.5 2002/11/04 14:45:20 tng
+ * C++ Namespace Support.
+ *
* Revision 1.4 2002/05/28 12:57:17 tng
* Fix typo.
*
@@ -92,21 +95,21 @@
#include <sys/types.h> // for size_t and ssize_t
#include <limits.h> // for MAX of size_t and ssize_t
-
// ---------------------------------------------------------------------------
-// Define these away for this platform
+// A define in the build for each project is also used to control whether
+// the export keyword is from the project's viewpoint or the client's.
+// These defines provide the platform specific keywords that they need
+// to do this.
// ---------------------------------------------------------------------------
#define PLATFORM_EXPORT
#define PLATFORM_IMPORT
-
// ---------------------------------------------------------------------------
-// Indicate that we do not support native bools
+// Indicate that we do not support native bools
// If the compiler can handle boolean itself, do not define it
// ---------------------------------------------------------------------------
// #define NO_NATIVE_BOOL
-
// ---------------------------------------------------------------------------
// Each compiler might support L"" prefixed constants. There are places
// where it is advantageous to use the L"" where it supported, to avoid
@@ -116,7 +119,13 @@
// #define XML_LSTRSUPPORT
// ---------------------------------------------------------------------------
-// Define our version of the XMLCh.
+// Indicate that we support C++ namespace
+// Do not define it if the compile cannot handle C++ namespace
+// ---------------------------------------------------------------------------
+// #define XERCES_HAS_CPP_NAMESPACE
+
+// ---------------------------------------------------------------------------
+// Define our version of the XML character
// ---------------------------------------------------------------------------
typedef unsigned short XMLCh;
1.5 +12 -4 xml-xerces/c/src/xercesc/util/Compilers/SunCCDefs.hpp
Index: SunCCDefs.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Compilers/SunCCDefs.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- SunCCDefs.hpp 28 May 2002 12:57:17 -0000 1.4
+++ SunCCDefs.hpp 4 Nov 2002 14:45:20 -0000 1.5
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.5 2002/11/04 14:45:20 tng
+ * C++ Namespace Support.
+ *
* Revision 1.4 2002/05/28 12:57:17 tng
* Fix typo.
*
@@ -124,12 +127,14 @@
#include <limits.h> // for MAX of size_t and ssize_t
// ---------------------------------------------------------------------------
-// Define these away for this platform
+// A define in the build for each project is also used to control whether
+// the export keyword is from the project's viewpoint or the client's.
+// These defines provide the platform specific keywords that they need
+// to do this.
// ---------------------------------------------------------------------------
#define PLATFORM_EXPORT
#define PLATFORM_IMPORT
-
// ---------------------------------------------------------------------------
// Indicate that we do not support native bools
// If the compiler can handle boolean itself, do not define it
@@ -138,7 +143,6 @@
#define NO_NATIVE_BOOL
#endif
-
// ---------------------------------------------------------------------------
// Each compiler might support L"" prefixed constants. There are places
// where it is advantageous to use the L"" where it supported, to avoid
@@ -147,12 +151,16 @@
// ---------------------------------------------------------------------------
// #define XML_LSTRSUPPORT
+// ---------------------------------------------------------------------------
+// Indicate that we support C++ namespace
+// Do not define it if the compile cannot handle C++ namespace
+// ---------------------------------------------------------------------------
+#define XERCES_HAS_CPP_NAMESPACE
// ---------------------------------------------------------------------------
// Define our version of the XML character
// ---------------------------------------------------------------------------
typedef unsigned short XMLCh;
-
// ---------------------------------------------------------------------------
// Define unsigned 16 and 32 bits integers
1.5 +9 -4 xml-xerces/c/src/xercesc/util/Compilers/SunKaiDefs.hpp
Index: SunKaiDefs.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Compilers/SunKaiDefs.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- SunKaiDefs.hpp 28 May 2002 12:57:17 -0000 1.4
+++ SunKaiDefs.hpp 4 Nov 2002 14:45:20 -0000 1.5
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.5 2002/11/04 14:45:20 tng
+ * C++ Namespace Support.
+ *
* Revision 1.4 2002/05/28 12:57:17 tng
* Fix typo.
*
@@ -99,7 +102,6 @@
#include <sys/types.h> // for size_t and ssize_t
#include <limits.h> // for MAX of size_t and ssize_t
-
// ---------------------------------------------------------------------------
// A define in the build for each project is also used to control whether
// the export keyword is from the project's viewpoint or the client's.
@@ -109,14 +111,12 @@
#define PLATFORM_EXPORT
#define PLATFORM_IMPORT
-
// ---------------------------------------------------------------------------
// Indicate that we do not support native bools
// If the compiler can handle boolean itself, do not define it
// ---------------------------------------------------------------------------
// #define NO_NATIVE_BOOL
-
// ---------------------------------------------------------------------------
// Each compiler might support L"" prefixed constants. There are places
// where it is advantageous to use the L"" where it supported, to avoid
@@ -125,9 +125,14 @@
// ---------------------------------------------------------------------------
// #define XML_LSTRSUPPORT
+// ---------------------------------------------------------------------------
+// Indicate that we support C++ namespace
+// Do not define it if the compile cannot handle C++ namespace
+// ---------------------------------------------------------------------------
+// #define XERCES_HAS_CPP_NAMESPACE
// ---------------------------------------------------------------------------
-// Define our version of the XMLCh.
+// Define our version of the XML character
// ---------------------------------------------------------------------------
typedef unsigned short XMLCh;
1.5 +15 -5 xml-xerces/c/src/xercesc/util/Compilers/TandemCCDefs.hpp
Index: TandemCCDefs.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Compilers/TandemCCDefs.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- TandemCCDefs.hpp 28 May 2002 12:57:17 -0000 1.4
+++ TandemCCDefs.hpp 4 Nov 2002 14:45:20 -0000 1.5
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.5 2002/11/04 14:45:20 tng
+ * C++ Namespace Support.
+ *
* Revision 1.4 2002/05/28 12:57:17 tng
* Fix typo.
*
@@ -100,19 +103,20 @@
#include <limits.h> // for MAX of size_t and ssize_t
// ---------------------------------------------------------------------------
-// Define these away for this platform
+// A define in the build for each project is also used to control whether
+// the export keyword is from the project's viewpoint or the client's.
+// These defines provide the platform specific keywords that they need
+// to do this.
// ---------------------------------------------------------------------------
#define PLATFORM_EXPORT
#define PLATFORM_IMPORT
-
// ---------------------------------------------------------------------------
-// Indicate that we do not support native bools
+// Indicate that we do not support native bools
// If the compiler can handle boolean itself, do not define it
// ---------------------------------------------------------------------------
// #define NO_NATIVE_BOOL
-
// ---------------------------------------------------------------------------
// Each compiler might support L"" prefixed constants. There are places
// where it is advantageous to use the L"" where it supported, to avoid
@@ -122,7 +126,13 @@
// #define XML_LSTRSUPPORT
// ---------------------------------------------------------------------------
-// Define our version of the XMLCh.
+// Indicate that we support C++ namespace
+// Do not define it if the compile cannot handle C++ namespace
+// ---------------------------------------------------------------------------
+// #define XERCES_HAS_CPP_NAMESPACE
+
+// ---------------------------------------------------------------------------
+// Define our version of the XML character
// ---------------------------------------------------------------------------
typedef unsigned short XMLCh;
1.7 +9 -7 xml-xerces/c/src/xercesc/util/Compilers/VCPPDefs.hpp
Index: VCPPDefs.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Compilers/VCPPDefs.hpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- VCPPDefs.hpp 25 Jun 2002 16:05:24 -0000 1.6
+++ VCPPDefs.hpp 4 Nov 2002 14:45:20 -0000 1.7
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.7 2002/11/04 14:45:20 tng
+ * C++ Namespace Support.
+ *
* Revision 1.6 2002/06/25 16:05:24 tng
* DOM L3: move the operator delete to DOMDocumentImpl.hpp
*
@@ -134,7 +137,6 @@
#include <sys/types.h> // for size_t and ssize_t
#include <limits.h> // for MAX of size_t and ssize_t
-
// ---------------------------------------------------------------------------
// A define in the build for each project is also used to control whether
// the export keyword is from the project's viewpoint or the client's.
@@ -144,14 +146,12 @@
#define PLATFORM_EXPORT __declspec(dllexport)
#define PLATFORM_IMPORT __declspec(dllimport)
-
// ---------------------------------------------------------------------------
// Indicate that we do not support native bools
// If the compiler can handle boolean itself, do not define it
// ---------------------------------------------------------------------------
// #define NO_NATIVE_BOOL
-
// ---------------------------------------------------------------------------
// Each compiler might support L"" prefixed constants. There are places
// where it is advantageous to use the L"" where it supported, to avoid
@@ -160,14 +160,16 @@
// ---------------------------------------------------------------------------
#define XML_LSTRSUPPORT
+// ---------------------------------------------------------------------------
+// Indicate that we support C++ namespace
+// Do not define it if the compile cannot handle C++ namespace
+// ---------------------------------------------------------------------------
+#define XERCES_HAS_CPP_NAMESPACE
// ---------------------------------------------------------------------------
-// Define our version of the XMLCh. XMLCh should be mapped to the native
-// wide char type (whatever wchar_t is.) In VC++, wchar_t is not an
-// intrinsic type and is just mapped to unsigned short.
+// Define our version of the XML character
// ---------------------------------------------------------------------------
typedef unsigned short XMLCh;
-
// ---------------------------------------------------------------------------
// Define unsigned 16 and 32 bits integers
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org