smart_ref causes build issues #1548
Labels
3d Bug
Classification indicating the existing implementation does not match the intention of the design
4c High Priority
Priority indicating significant impact to system/user -OR- workaround is prohibitivly expensive
6 Build
Impact flag identifying the build process
Milestone
Some platforms are very picky about including headers. That is fine. But there is one header that constantly needs to be added, and it seems to be fairly needless...
fc::smart_ref, as its name implies, attempts to be a "smart reference". It is used in only 1 area of Bitshares, having to do with the collection of fee parameters. Due to the design, each user of fee parameters (many) must also include the smart_ref header, otherwise certain platforms (esp. macOS) will not compile.
There have been many pull requests and issues to add this header to various files to complete compilation on various platforms. This issue is to find and implement a viable replacement with less hastle.
Related: #1547 (comment)
and: #1516 (comment)
Steps To Reproduce
On macOS, follow the normal steps to compile the current master branch. The compilation will fail due to smart_ref.
CORE TEAM TASK LIST
Build Error
Bug Report
The text was updated successfully, but these errors were encountered: