Boost logo

Boost Users :

Subject: Re: [Boost-users] Error building Spirit parser in VS2017
From: Gavin Lambert (boost_at_[hidden])
Date: 2018-10-31 04:42:34


On 31/10/2018 17:31, Michael Powell wrote:
>> 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:
>> https://github.com/boostorg/iostreams/pull/57/files
>
> I'm encountering the error in iostreams/positioning.hpp, not fpos.hpp
> (although obviously that one needs remediation as well).

fpos.hpp is a configuration header used by positioning.hpp.

As I said before, defining _SILENCE_FPOS_SEEKPOS_DEPRECATION_WARNING is
sufficient for Boost 1.68; it will still just work. Doing the above is
optional but will let you resolve the issue without defining that.


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