diff options
author | Adrian Kummerlaender | 2014-06-14 18:22:02 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2014-06-14 18:22:02 +0200 |
commit | 58d3e1b8d03a10594e13658b50545fd714c04f6d (patch) | |
tree | 8e137bfe7837cda7ec4314f51662c94c1e83f469 | |
parent | 2b484dc0d93e7577ceb153fb8c6114aaaa03d79a (diff) | |
download | InputXSLT-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.md | 2 | ||||
-rw-r--r-- | src/function/base.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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, |