#339 Compile Issues building HP-UX (config=HP-UX)

open
nobody
1
2012-09-14
2010-02-07
Alex Fabijanic
No

Configuration :
./configure --prefix==/usr/netlocal/poco-1.3.6 --no_tests --no_samples --config=HP-UX

compilation in 64b mode
gmake OSARCH_64BITS=1
and the compilation failed with the following errors

Error 902: "include/Poco/DynamicAny.h", line 178 # Template deduction failed to find a match for the call to 'extract' with signature 'void (const Poco::DynamicAny )'.
return extract<T>();
^^^^^^^^^^
Error 226: "include/Poco/DynamicAny.h", line 182 # No appropriate function found for call of 'convert'. Last viable candidate was "void Poco::DynamicAnyHolder::convert(signed char &) const" ["include/Poco/DynamicAnyHolder.h", line 87]. Argument of type 'void' could not be converted to 'signed char &'.
_pHolder->convert(result);
^^^^^^^
Error 556: "src/DynamicAny.cpp", line 215 # Unable to generate specialization "Poco::DynamicAny::operator void<void>() const" due to errors during generation.
return
this = *this + 1;
^^^^^^^^^
gmake[1]: * [/DT/DEV/dev/dle/poco-1.3.6/Foundation/obj/HP-UX/9000-785/debug_shared64/DynamicAny.o] Error 2
Compiling src/DynamicAnyHolder.cpp (debug, shared)
aCC -Iinclude -I/DT/DEV/dev/dle/poco-1.3.6/CppUnit/include -I/DT/DEV/dev/dle/poco-1.3.6/Foundation/include -I/DT/DEV/dev/dle/poco-1.3.6/XML/include -I/DT/DEV/dev/dle/poco-1.3.6/Util/include -I/DT/DEV/dev/dle/poco-1.3.6/Net/include -AA +W361 +W307 +W749 +W849 -DPOCO_BUILD_HOST=jabba -Dhpux -D_REENTRANT -D_THREAD_SAFE -D_RWSTD_MULTI_THREAD -D_HPUX_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_POSIX_C_SOURCE=199506L +DD64 -g0 +d -D_DEBUG= +Z -c src/DynamicAnyHolder.cpp -o /DT/DEV/dev/dle/poco-1.3.6/Foundation/obj/HP-UX/9000-785/debug_shared64/DynamicAnyHolder.o
Error 475: "include/Poco/DynamicAnyHolder.h", line 147 # Cannot generate a specialization of incomplete template struct POCO_STATIC_ASSERTION_FAILURE<(bool)0> ["include/Poco/DynamicAnyHolder.h", line 173].
poco_static_assert (!std::numeric_limits<F>::is_signed);
^^^^^^^^^^^^^^^^^^
Error 244: "include/Poco/DynamicAnyHolder.h", line 147 # sizeof may not be applied to an undefined class.
poco_static_assert (!std::numeric_limits<F>::is_signed);
^^^^^^^^^^^^^^^^^^
Error 556: "include/Poco/DynamicAnyHolder.h", line 1695 # Unable to generate specialization "void Poco::DynamicAnyHolder::convertSignedFloatToUnsigned<float,unsigned char="">(const float &,unsigned char &) const" due to errors during generation.
convertSignedFloatToUnsigned(_val, val);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Discussion