aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-06-14 18:22:02 +0200
committerAdrian Kummerlaender2014-06-14 18:22:02 +0200
commit58d3e1b8d03a10594e13658b50545fd714c04f6d (patch)
tree8e137bfe7837cda7ec4314f51662c94c1e83f469
parent2b484dc0d93e7577ceb153fb8c6114aaaa03d79a (diff)
downloadInputXSLT-58d3e1b8d03a10594e13658b50545fd714c04f6d.tar
InputXSLT-58d3e1b8d03a10594e13658b50545fd714c04f6d.tar.gz
InputXSLT-58d3e1b8d03a10594e13658b50545fd714c04f6d.tar.bz2
InputXSLT-58d3e1b8d03a10594e13658b50545fd714c04f6d.tar.lz
InputXSLT-58d3e1b8d03a10594e13658b50545fd714c04f6d.tar.xz
InputXSLT-58d3e1b8d03a10594e13658b50545fd714c04f6d.tar.zst
InputXSLT-58d3e1b8d03a10594e13658b50545fd714c04f6d.zip
Changed Base::callConstructDocument sequence parameter to std::size_t
* "unsigned" type led to a compiler error on 64bit systems ** the Sequence template uses std::size_t which resolves to "unsigned long" instead of "unsigned int" on 64bit systems ** as "unsigned" is resolved to "unsigned int" by the compiler this situation produced a type conflict * added recommendation for using a xalan library version built with ICU flags to README.md ** otherwise e.g. the "format-number" function is not fully supported
-rw-r--r--README.md2
-rw-r--r--src/function/base.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index d23544e..6e8b4fa 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,7 @@ The `test` directory contains black-box test cases for every external function p
- CMake
- C++ compiler with C++11 support
-- Apache [Xalan](https://xalan.apache.org/) XSLT Processor
+- Apache [Xalan](https://xalan.apache.org/) XSLT Processor (preferably built with ICU flags)
- Apache [Xerces](https://xerces.apache.org/) XML Library
- Boost [Filesystem](http://www.boost.org/doc/libs/1_55_0/libs/filesystem/doc/index.htm)
- Boost [Program Options](http://www.boost.org/doc/libs/1_55_0/doc/html/program_options.html)
diff --git a/src/function/base.h b/src/function/base.h
index f2b3d5c..5212d65 100644
--- a/src/function/base.h
+++ b/src/function/base.h
@@ -90,7 +90,7 @@ class FunctionBase : public xalan::Function {
return result;
}
- template <unsigned... Index>
+ template <std::size_t... Index>
inline xalan::XalanDocument* callConstructDocument(
const XObjectArgVectorType& parameters,
const xalan::Locator* locator,