5 Sep
2014
5 Sep
'14
6:23 p.m.
Beman Dawes wrote:
Actually, this is the same problem Marshall ran into a year or so ago when he fixed boost/detail/utf8_codecvt_facet.hpp:
...
-#if !defined(__MSL_CPP__) && !defined(__LIBCOMO__) +#if defined(_CPPLIB_VER) && (_CPPLIB_VER < 540) #define BOOST_CODECVT_DO_LENGTH_CONST const #else #define BOOST_CODECVT_DO_LENGTH_CONST #endif
As I already said months ago (I think), there's an easy fix for that: just define do_length two times, one const, one non-const. You won't have to #ifdef then, and it will work everywhere.