Repository: steemit/steem

Issue #2204: can't compile pass ,why?
Created: 2018-03-07T04:11:54Z
boost version 1.60
Scanning dependencies of target graphene_schema
[ 51%] Building CXX object libraries/schema/CMakeFiles/graphene_schema.dir/schema.cpp.o
In file included from /steemit/steem/libraries/schema/schema.cpp:2:
In file included from /steemit/steem/libraries/schema/include/graphene/schema/schema.hpp:5:
In file included from /steemit/steem/libraries/schema/include/graphene/schema/schema_types.hpp:7:
In file included from /steemit/steem/libraries/schema/include/graphene/schema/schema_types/static_variant.hpp:7:
/steemit/steem/libraries/fc/include/fc/static_variant.hpp:385:34: error: class template partial specialization is not more specialized than the primary
      template [-Winvalid-partial-specialization]
  template<typename... T> struct get_typename<T...>  { static const char* name()   { return typeid(static_variant<T...>).name();   } };
                                 ^
/steemit/steem/libraries/fc/include/fc/reflect/typename.hpp:18:30: note: template is declared here
  template<typename T> class get_typename{};
                             ^
1 error generated.
make[2]: *** [libraries/schema/CMakeFiles/graphene_schema.dir/schema.cpp.o] Error 1
make[1]: *** [libraries/schema/CMakeFiles/graphene_schema.dir/all] Error 2
make: *** [all] Error 2

➜  steem git:(stable) ✗ make
[  3%] Built target project_secp256k1
[  4%] Built target equihash
[ 35%] Built target fc
[ 36%] Linking CXX executable log_test
[ 36%] Built target log_test
[ 37%] Linking CXX executable ecc_test
[ 37%] Built target ecc_test
[ 38%] Linking CXX executable blinding_test
[ 38%] Built target blinding_test
[ 39%] Linking CXX executable hmac_test
[ 39%] Built target hmac_test
[ 39%] Linking CXX executable bloom_test
[ 40%] Built target bloom_test
[ 41%] Linking CXX executable all_tests
[ 46%] Built target all_tests
[ 46%] Linking CXX executable real128_test
[ 47%] Built target real128_test
[ 47%] Linking CXX executable bip_lock
[ 48%] Built target bip_lock
[ 49%] Linking CXX executable ntp_test
[ 49%] Built target ntp_test
[ 50%] Linking CXX executable task_cancel_test
[ 50%] Built target task_cancel_test
[ 50%] Linking CXX executable blind
[ 51%] Built target blind
[ 51%] Linking CXX executable api
[ 51%] Built target api
[ 51%] Building CXX object libraries/schema/CMakeFiles/graphene_schema.dir/schema.cpp.o
In file included from /steemit/steem/libraries/schema/schema.cpp:2:
In file included from /steemit/steem/libraries/schema/include/graphene/schema/schema.hpp:5:
In file included from /steemit/steem/libraries/schema/include/graphene/schema/schema_types.hpp:7:
In file included from /steemit/steem/libraries/schema/include/graphene/schema/schema_types/static_variant.hpp:7:
/steemit/steem/libraries/fc/include/fc/static_variant.hpp:385:34: error: class template partial specialization is not more specialized than the primary
      template [-Winvalid-partial-specialization]
  template<typename... T> struct get_typename<T...>  { static const char* name()   { return typeid(static_variant<T...>).name();   } };
                                 ^
/steemit/steem/libraries/fc/include/fc/reflect/typename.hpp:18:30: note: template is declared here
  template<typename T> class get_typename{};
                             ^
1 error generated.
make[2]: *** [libraries/schema/CMakeFiles/graphene_schema.dir/schema.cpp.o] Error 1
make[1]: *** [libraries/schema/CMakeFiles/graphene_schema.dir/all] Error 2
make: *** [all] Error 2

Duplicate issue #2270: class template partial specialization is not more specialized than the primary template
Created: 2018-03-25T12:01:23Z
fc error?
In file included from /steemit/steem/libraries/schema/include/graphene/schema/schema_types/static_variant.hpp:7:
/steemit/steem/libraries/fc/include/fc/static_variant.hpp:385:34: error: class template partial specialization is not more specialized than the primary
      template [-Winvalid-partial-specialization]
  template<typename... T> struct get_typename<T...>  { static const char* name()   { return typeid(static_variant<T...>).name();   } };
                                 ^
/steemit/steem/libraries/fc/include/fc/reflect/typename.hpp:18:30: note: template is declared here
  template<typename T> class get_typename{};
                             ^
1 error generated.
make[2]: *** [libraries/schema/CMakeFiles/graphene_schema.dir/schema.cpp.o] Error 1
make[1]: *** [libraries/schema/CMakeFiles/graphene_schema.dir/all] Error 2
make: *** [all] Error 2

Closing comment (2018-03-26T15:11:06Z): Duplicate of #2204