From 58d3e1b8d03a10594e13658b50545fd714c04f6d Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 14 Jun 2014 18:22:02 +0200 Subject: 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 --- README.md | 2 +- src/function/base.h | 2 +- 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 + template inline xalan::XalanDocument* callConstructDocument( const XObjectArgVectorType& parameters, const xalan::Locator* locator, -- cgit v1.2.3