Boost logo

Boost :

Subject: Re: [boost] [serialization] [libstdc++] [detail] utf8_codecvt_facet fixes broke serialization test_array_xml_warchive
From: Peter Dimov (lists_at_[hidden])
Date: 2014-09-05 14:23:50

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)
> #else
> #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.

Boost list run by bdawes at, gregod at, cpdaniel at, john at