> For some reason isdigit is trying to instantiate the ctype facet for
> const char, ctype<const char>.  I haven't worked out the reason this
> instantiation is required, but by replacing all calls to isdigit in
> parsing.hpp with the 'equivalent' code below ( borrowed straight from
> Josutti's The Standard C++ Library ) CBuilder6 passes all format tests
> (with compiler warnings for binding non-const references to temporaries)

That situation is probably being caused by passing a const char to isdigit,
combined with a template argument deduction bug, just casting the character
to it's non-const equivalent will fix the problem:

>   while(i1 < buf.size() && isdigit((Ch)buf[i1],oss_.rdbuf()->getloc()))

BTW I had to do this to all the isdigit calls to fix all the problems.

John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/index.htm


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to