From 56043225000df52cf530a85dc5f53ad06ba241cd Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 7 Oct 2009 08:52:20 +0200 Subject: Add support for STL-conforming iterators The new XSDE_STL_ITERATOR configuration variable is used to conditionally turn this on. --- dist/config/config.make | 24 ++++++++++++++++-------- dist/config/config.nmake | 24 ++++++++++++++++-------- 2 files changed, 32 insertions(+), 16 deletions(-) (limited to 'dist/config') diff --git a/dist/config/config.make b/dist/config/config.make index e0eb217..ac3518c 100644 --- a/dist/config/config.make +++ b/dist/config/config.make @@ -29,47 +29,55 @@ XSDFLAGS := --generate-inline # 'win32' - Windows 2000, XP, etc. # 'posix' - POSIX OS, including UNIX/Linux, VxWorks, etc. # -XSDE_PLATFORM := posix +XSDE_PLATFORM := posix # Platform architecture width in bits. # -XSDE_ARCH_WIDTH := 32 +XSDE_ARCH_WIDTH := 32 # Platform byte order. Valid values are 'b' for big-endian # and 'l' for little-endian. # -XSDE_BYTEORDER := l +XSDE_BYTEORDER := l # Set to 'n' if you don't have STL (std::string, etc.). Also don't # forget to use the --no-stl option when compiling your schemas. # -XSDE_STL := y +XSDE_STL := y + + +# Set to 'n' if you don't want iterators to conform to the STL +# requirements. This feature requires working header +# and allows you to use the standard algorithms such as find_if, +# etc. +# +XSDE_STL_ITERATOR := y # Set to 'n' if you don't have iostream. # -XSDE_IOSTREAM := y +XSDE_IOSTREAM := y # Set to 'n' if you don't have C++ exceptions. Also don't forget to # use the --no-exceptions option when compiling your schemas. # -XSDE_EXCEPTIONS := y +XSDE_EXCEPTIONS := y # Set to 'n' if your platform doesn't have the "long long int" type or # the strtoull function. Also don't forget to use the --no-long-long # option when compiling your schemas. # -XSDE_LONGLONG := y +XSDE_LONGLONG := y # Set to 'n' if your platform doesn't have the snprintf function. # -XSDE_SNPRINTF := y +XSDE_SNPRINTF := y # Set to 'n' if you don't want support for XML Schema validation in diff --git a/dist/config/config.nmake b/dist/config/config.nmake index d09bb07..599d660 100644 --- a/dist/config/config.nmake +++ b/dist/config/config.nmake @@ -28,47 +28,55 @@ XSDFLAGS = --generate-inline # 'win32' - Windows 2000, XP, etc. # 'posix' - POSIX OS, including UNIX/Linux, VxWorks, etc. # -XSDE_PLATFORM = win32 +XSDE_PLATFORM = win32 # Platform architecture width in bits. # -XSDE_ARCH_WIDTH = 32 +XSDE_ARCH_WIDTH = 32 # Platform byte order. Valid values are 'b' for big-endian # and 'l' for little-endian. # -XSDE_BYTEORDER = l +XSDE_BYTEORDER = l # Set to 'n' if you don't have STL (std::string, etc.). Also don't # forget to use the --no-stl option when compiling your schemas. # -XSDE_STL = y +XSDE_STL = y + + +# Set to 'n' if you don't want iterators to conform to the STL +# requirements. This feature requires working header +# and allows you to use the standard algorithms such as find_if, +# etc. +# +XSDE_STL_ITERATOR = y # Set to 'n' if you don't have iostream. # -XSDE_IOSTREAM = y +XSDE_IOSTREAM = y # Set to 'n' if you don't have C++ exceptions. Also don't forget to # use the --no-exceptions option when compiling your schemas. # -XSDE_EXCEPTIONS = y +XSDE_EXCEPTIONS = y # Set to 'n' if your platform doesn't have the "long long int" type or # the strtoull function. Also don't forget to use the --no-long-long # option when compiling your schemas. # -XSDE_LONGLONG = n +XSDE_LONGLONG = n # Set to 'n' if your platform doesn't have the _snprintf function. # -XSDE_SNPRINTF = y +XSDE_SNPRINTF = y # Set to 'n' if you don't want support for XML Schema validation in -- cgit v1.1