Open kenneth opened 6 years ago
What compiler version is this?
Also, I suspect this is actually a bug, caught by warnings-as-errors. The code should be:
template<typename... T> struct get_typename<static_variant< T... > > { static const char* name() { return typeid(static_variant<T...>).name(); } };
but I'm not sure where to apply this patch because this library is in the process of being changed from a submodule to a vendor (see #2209 ).
@theoreticalbts i clean all ,and rebuild still error
✗ make
[ 2%] Built target project_secp256k1
[ 3%] Built target equihash
[ 4%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/rpc/cli.cpp.o
/steemit/steem/libraries/fc/src/rpc/cli.cpp:21:5: error: "You have an old version of readline installed that might not support some of the features we
need" [-Werror,-W#warnings]
# warning "You have an old version of readline installed that might not support some of the features we need"
^
/steemit/steem/libraries/fc/src/rpc/cli.cpp:22:5: error: "Readline support will not be compiled in" [-Werror,-W#warnings]
# warning "Readline support will not be compiled in"
^
2 errors generated.
make[2]: *** [libraries/fc/CMakeFiles/fc.dir/src/rpc/cli.cpp.o] Error 1
make[1]: *** [libraries/fc/CMakeFiles/fc.dir/all] Error 2
make: *** [all] Error 2
due to -Werror
?
@abitmore i don't know but i mac readline is 7.0.3_1 how can i compile pass ?
@theoreticalbts The patch was already applied to fc
in develop
. It was applied after Appbase development was started and the library was sufficiently incompatible with stable
. The bug appearing now is due to changes in clang accompanying the new version of macOS this fall.
boost version 1.60