Boost logo

Boost Users :

From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2008-07-02 18:14:47


On Wed, Jul 2, 2008 at 12:49, Frank Illenseer <f.illenseer_at_[hidden]> wrote:
>
> 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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net