Problems with "to_lower" function on IBM AIX
(const
Hello,
We are currently trying to compile our code using the BOOST collection
on IBM AIX 5.3 (POWER5). But we get errors:
Using BOOST 1.33.0
------------------
xlc++_r -I../../../../../include -q64 -qarch=ppc64 -qtune=balanced -qtls
-D_POSIX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_LARGE_FILES
-D_ALL_SOURCE -I../../../../../thirdparty/zlib/1.2.3/ibm_aix64/include
-D_RECHNER_IBM_AIX64 -D_RECHNER_STR=\"IBM_AIX64\"
-I../../../../../thirdparty/Boost/1_33_0 -I../../utilities/hardcore/include
-I../../utilities/parser/include -I./include -D_RELEASE -D_GUI_LINUX -O3 -c
./src/common_OptimisationConstraintsParser.cpp
"../../../../../thirdparty/Boost/1_33_0/boost/algorithm/string/detail/case_conv.hpp",
line 36.44: 1540-0215 (S) The wrong number of arguments have been specified for
"tolower(int)".
"../../../../../thirdparty/Boost/1_33_0/boost/algorithm/string/detail/case_conv.hpp",
line 31.23: 1540-0700 (I) The previous message was produced while processing
"boost::algorithm::detail::to_lowerF<char>::operator()(char) const".
"../../../../../thirdparty/Boost/1_33_0/boost/iterator/iterator_facade.hpp",
line 515.41: 1540-0700 (I) The previous message was produced while processing
"boost::iterator_core_access::dereference
On Wed, Jul 2, 2008 at 12:49, Frank Illenseer
We are currently trying to compile our code using the BOOST collection on IBM AIX 5.3 (POWER5). But we get errors:
"../../../../../thirdparty/Boost/1_33_0/boost/algorithm/string/detail/case_conv.hpp", line 36.44: 1540-0215 (S) The wrong number of arguments have been specified for "tolower(int)".
"../../../../../thirdparty/Boost/1_35_0/boost/algorithm/string/detail/case_conv.hpp", line 37.50: 1540-0157 (S) The text ">" is unexpected. It may be that this token was intended as a template argument list terminator but the name is not known to be a template.
Can maybe anyone give some hints on how to get this compiling? If any further information is needed, please just state and I wil try to provide.
This is a complete shot in the dark, but it looks like it doesn't know about the version of tolower with a std::locale parameter. The errors seem to imply that 1.33 calls it using template argument deduction, while 1.35 specifies the template arguments explicitly. It might be as simple as including a header, adding a using declaration, or explicitly scoping the call. Good luck, ~ Scott
participants (2)
-
Frank Illenseer
-
Scott McMurray