EOSIO / eos

An open source smart contract platform
https://developers.eos.io/manuals/eos
MIT License
11.29k stars 3.6k forks source link

add some needed includes to build with boost 1.79 beta #11079

Open spoonincode opened 2 years ago

spoonincode commented 2 years ago

Change Description

Adds some includes needed to build with boost 1.79 beta.

The missing includes are solely related to fstream & boost::filesystem::fstream. The boost filesystem docs (even as far back as 1.66) are clear that #include <boost/filesystem.hpp> does not include file stream support. Internal changes to boost filesystem in 1.79 (namely removal of string_file) means that boost/filesystem/fstream.hpp no longer get implicitly included via boost/filesystem.hpp, so we need to be explicit about this.

Change Type

Select ONE:

Testing Changes

Select ANY that apply:

Consensus Changes

API Changes

Documentation Additions