
Eric Niebler wrote:
Eric Niebler wrote:
We have a very interesting problem with the Sun compiler. I see from the regression reports that the mpl::string test is passing now with sun-5.9 on SunOS, but it's failing on Linux. The nature of the failure there is fascinating, and reveals our first true portability problem with multichar literals. Look at the error: <snip>
For anybody interested in tackling this programming challenge, I have made it easier by isolating the implementation-defined bit-twiddling to some macros in boost/mpl/string.hpp. With appropriate definitions of the BOOST_MPL_MULTICHAR_* macros, mpl::string should work on the sun-5.9/Linux toolset. Any takers? A patch in the attachment. Verified with sun c++ 5.9 on sparc, sun c++ 5.10 on linux and gcc 4.3.3 on linux.
Br, Dmitry