Boost Users :
Subject: Re: [Boost-users] Error building Spirit parser in VS2017
From: Michael Powell (mwpowellhtx_at_[hidden])
Date: 2018-10-31 04:31:55
On Wed, Oct 31, 2018 at 12:28 AM Gavin Lambert via Boost-users
> On 31/10/2018 16:28, Michael Powell wrote:
> > I can defined _SILENCE_FPOS_SEEKPOS_DEPRECATION_WARNING instead, but
> > clearly if seekpos() is always returning 0, there's going to be some
> > regressions.
> > So... What's the recourse beyond that? Depending on the deprecated
> > (always returning zero) seekpos() is the wrong thing to do.
> When it follows that codepath, it doesn't use _only_ the zero, it
> combines it with another non-zero value so that it should still produce
> the correct answer.
> But if you want to avoid it entirely, then you need to do one of:
> 1. Use the 14.0 toolset.
> 2. Wait for the release of Boost 1.69.
> 3. Apply this patch to your local Boost:
I'm encountering the error in iostreams/positioning.hpp, not fpos.hpp
(although obviously that one needs remediation as well).
> Boost-users mailing list
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