diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-07 08:52:20 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-07 08:52:20 +0200 |
commit | 56043225000df52cf530a85dc5f53ad06ba241cd (patch) | |
tree | 9bf6a0090522896c0fa96baff61a574defcc7165 /dist/config | |
parent | c1f810de13243f1b6b3a9e7c9313ceb936471e53 (diff) |
Add support for STL-conforming iterators
The new XSDE_STL_ITERATOR configuration variable is used to conditionally
turn this on.
Diffstat (limited to 'dist/config')
-rw-r--r-- | dist/config/config.make | 24 | ||||
-rw-r--r-- | dist/config/config.nmake | 24 |
2 files changed, 32 insertions, 16 deletions
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 <iterator> 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 <iterator> 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 |