reactivemarkets / toolbox-cpp

The Reactive C++ Toolbox is an open source library of C++20 components designed for efficient, asynchronous network applications on the Linux platform.
https://reactivemarkets.github.io/toolbox-cpp/
Other
21 stars 20 forks source link

Add support for GCC 9.x #17

Closed markaylett closed 5 years ago

markaylett commented 5 years ago

@rfernandes reported an issue with the std/variant header in GCC 9.1.0 that breaks the build.

markaylett commented 5 years ago

The build issue is caused by a bug in GCC: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=271083

The following patch can be applied to the std::variant as a work-around:

PR-libstdc-90397-fix-std-variant-friend-declarations.diff.txt