Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from mich.cpp:3:
- ./fibin.h:272:16: warning: implicit conversion from 'const unsigned long long' to 'unsigned char' changes value from 377 to 121 [-Wconstant-conversion]
- return Evaluate<Expr, EmptyEnvironment>::result::value;
- ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mich.cpp:57:42: note: in instantiation of function template specialization 'Fibin<unsigned char, true>::eval<Lit<Fib<14> > >' requested here
- static_assert(121 == Fibin<uint8_t>::eval<L<14>>());
- ^
- In file included from mich.cpp:3:
- ./fibin.h:272:16: warning: implicit conversion from 'const unsigned long long' to 'unsigned char' changes value from 610 to 98 [-Wconstant-conversion]
- return Evaluate<Expr, EmptyEnvironment>::result::value;
- ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mich.cpp:58:41: note: in instantiation of function template specialization 'Fibin<unsigned char, true>::eval<Lit<Fib<15> > >' requested here
- static_assert(98 == Fibin<uint8_t>::eval<L<15>>());
- ^
- In file included from mich.cpp:3:
- ./fibin.h:272:16: warning: implicit conversion from 'const unsigned long long' to 'unsigned char' changes value from 987 to 219 [-Wconstant-conversion]
- return Evaluate<Expr, EmptyEnvironment>::result::value;
- ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mich.cpp:59:42: note: in instantiation of function template specialization 'Fibin<unsigned char, true>::eval<Lit<Fib<16> > >' requested here
- static_assert(219 == Fibin<uint8_t>::eval<L<16>>());
- ^
- In file included from mich.cpp:3:
- ./fibin.h:272:16: warning: implicit conversion from 'const unsigned long long' to 'unsigned char' changes value from 1597 to 61 [-Wconstant-conversion]
- return Evaluate<Expr, EmptyEnvironment>::result::value;
- ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mich.cpp:60:41: note: in instantiation of function template specialization 'Fibin<unsigned char, true>::eval<Lit<Fib<17> > >' requested here
- static_assert(61 == Fibin<uint8_t>::eval<L<17>>());
- ^
- In file included from mich.cpp:3:
- ./fibin.h:272:16: warning: implicit conversion from 'const unsigned long long' to 'unsigned char' changes value from 2584 to 24 [-Wconstant-conversion]
- return Evaluate<Expr, EmptyEnvironment>::result::value;
- ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mich.cpp:61:41: note: in instantiation of function template specialization 'Fibin<unsigned char, true>::eval<Lit<Fib<18> > >' requested here
- static_assert(24 == Fibin<uint8_t>::eval<L<18>>());
- ^
- In file included from mich.cpp:3:
- ./fibin.h:272:16: warning: implicit conversion from 'const unsigned long long' to 'unsigned char' changes value from 4181 to 85 [-Wconstant-conversion]
- return Evaluate<Expr, EmptyEnvironment>::result::value;
- ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mich.cpp:62:41: note: in instantiation of function template specialization 'Fibin<unsigned char, true>::eval<Lit<Fib<19> > >' requested here
- static_assert(85 == Fibin<uint8_t>::eval<L<19>>());
- ^
- In file included from mich.cpp:3:
- ./fibin.h:272:16: warning: implicit conversion from 'const unsigned long long' to 'unsigned char' changes value from 6765 to 109 [-Wconstant-conversion]
- return Evaluate<Expr, EmptyEnvironment>::result::value;
- ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mich.cpp:63:42: note: in instantiation of function template specialization 'Fibin<unsigned char, true>::eval<Lit<Fib<20> > >' requested here
- static_assert(109 == Fibin<uint8_t>::eval<L<20>>());
- ^
- In file included from mich.cpp:3:
- ./fibin.h:272:16: warning: implicit conversion from 'const unsigned long long' to 'unsigned char' changes value from 10946 to 194 [-Wconstant-conversion]
- return Evaluate<Expr, EmptyEnvironment>::result::value;
- ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mich.cpp:64:42: note: in instantiation of function template specialization 'Fibin<unsigned char, true>::eval<Lit<Fib<21> > >' requested here
- static_assert(194 == Fibin<uint8_t>::eval<L<21>>());
- ^
- In file included from mich.cpp:3:
- ./fibin.h:272:16: warning: implicit conversion from 'const unsigned long long' to 'unsigned char' changes value from 17711 to 47 [-Wconstant-conversion]
- return Evaluate<Expr, EmptyEnvironment>::result::value;
- ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mich.cpp:65:41: note: in instantiation of function template specialization 'Fibin<unsigned char, true>::eval<Lit<Fib<22> > >' requested here
- static_assert(47 == Fibin<uint8_t>::eval<L<22>>());
- ^
- In file included from mich.cpp:3:
- ./fibin.h:272:16: warning: implicit conversion from 'const unsigned long long' to 'unsigned char' changes value from 28657 to 241 [-Wconstant-conversion]
- return Evaluate<Expr, EmptyEnvironment>::result::value;
- ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mich.cpp:66:42: note: in instantiation of function template specialization 'Fibin<unsigned char, true>::eval<Lit<Fib<23> > >' requested here
- static_assert(241 == Fibin<uint8_t>::eval<L<23>>());
- ^
- In file included from mich.cpp:3:
- ./fibin.h:272:16: warning: implicit conversion from 'const unsigned long long' to 'unsigned char' changes value from 46368 to 32 [-Wconstant-conversion]
- return Evaluate<Expr, EmptyEnvironment>::result::value;
- ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mich.cpp:67:41: note: in instantiation of function template specialization 'Fibin<unsigned char, true>::eval<Lit<Fib<24> > >' requested here
- static_assert(32 == Fibin<uint8_t>::eval<L<24>>());
- ^
- In file included from mich.cpp:3:
- ./fibin.h:272:16: warning: implicit conversion from 'const unsigned long long' to 'unsigned char' changes value from 75025 to 17 [-Wconstant-conversion]
- return Evaluate<Expr, EmptyEnvironment>::result::value;
- ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mich.cpp:68:41: note: in instantiation of function template specialization 'Fibin<unsigned char, true>::eval<Lit<Fib<25> > >' requested here
- static_assert(17 == Fibin<uint8_t>::eval<L<25>>());
- ^
- In file included from mich.cpp:3:
- ./fibin.h:272:16: warning: implicit conversion from 'const unsigned long long' to 'unsigned char' changes value from 121393 to 49 [-Wconstant-conversion]
- return Evaluate<Expr, EmptyEnvironment>::result::value;
- ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mich.cpp:69:41: note: in instantiation of function template specialization 'Fibin<unsigned char, true>::eval<Lit<Fib<26> > >' requested here
- static_assert(49 == Fibin<uint8_t>::eval<L<26>>());
- ^
- In file included from mich.cpp:3:
- ./fibin.h:272:16: warning: implicit conversion from 'const unsigned long long' to 'unsigned char' changes value from 196418 to 66 [-Wconstant-conversion]
- return Evaluate<Expr, EmptyEnvironment>::result::value;
- ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mich.cpp:70:41: note: in instantiation of function template specialization 'Fibin<unsigned char, true>::eval<Lit<Fib<27> > >' requested here
- static_assert(66 == Fibin<uint8_t>::eval<L<27>>());
- ^
- In file included from mich.cpp:3:
- ./fibin.h:272:16: warning: implicit conversion from 'const unsigned long long' to 'unsigned char' changes value from 317811 to 115 [-Wconstant-conversion]
- return Evaluate<Expr, EmptyEnvironment>::result::value;
- ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mich.cpp:71:42: note: in instantiation of function template specialization 'Fibin<unsigned char, true>::eval<Lit<Fib<28> > >' requested here
- static_assert(115 == Fibin<uint8_t>::eval<L<28>>());
- ^
- In file included from mich.cpp:3:
- ./fibin.h:272:16: warning: implicit conversion from 'const unsigned long long' to 'unsigned char' changes value from 514229 to 181 [-Wconstant-conversion]
- return Evaluate<Expr, EmptyEnvironment>::result::value;
- ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mich.cpp:72:42: note: in instantiation of function template specialization 'Fibin<unsigned char, true>::eval<Lit<Fib<29> > >' requested here
- static_assert(181 == Fibin<uint8_t>::eval<L<29>>());
- ^
- mich.cpp:114:5: error: static_assert failed due to requirement 'Fibin<unsigned char, true>::eval() == 55'
- static_assert(Fibin<uint8_t>::eval<If< Eq<L<32>, L<5>>, L<10>, L<11> >>() == 55);
- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from mich.cpp:3:
- ./fibin.h:272:58: error: no member named 'value' in 'Invoke<Ref<16>, Lit<Fib<0> > >'
- return Evaluate<Expr, EmptyEnvironment>::result::value;
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
- mich.cpp:171:37: note: in instantiation of function template specialization 'Fibin<int, true>::eval<Let<1325242930, Lit<Fib<9> >, Let<16, Lambda<34, Sum<Ref<1325242930>, Ref<34> > >, Let<1325242930,
- Lit<Fib<10> >, Invoke<Ref<16>, Lit<Fib<0> > > > > > >' requested here
- static_assert(34 == Fibin<int>::eval<Scoping>());
- ^
- mich.cpp:171:25: error: static_assert expression is not an integral constant expression
- static_assert(34 == Fibin<int>::eval<Scoping>());
- ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from mich.cpp:3:
- ./fibin.h:272:58: error: no member named 'value' in 'Invoke<Let<34, Lit<Fib<1> >, Lambda<34, Ref<34> > >, Lit<Fib<3> > >'
- return Evaluate<Expr, EmptyEnvironment>::result::value;
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
- mich.cpp:173:37: note: in instantiation of function template specialization 'Fibin<unsigned int, true>::eval<Invoke<Let<34, Lit<Fib<1> >, Lambda<34, Ref<34> > >, Lit<Fib<3> > > >' requested here
- static_assert(2 == Fibin<uint>::eval<Invoke<Let<Var("x"), Lit<Fib<1>>, Lambda<Var("x"), Ref<Var("x")> > >, Lit<Fib<3>> > >());
- ^
- mich.cpp:173:24: error: static_assert expression is not an integral constant expression
- static_assert(2 == Fibin<uint>::eval<Invoke<Let<Var("x"), Lit<Fib<1>>, Lambda<Var("x"), Ref<Var("x")> > >, Lit<Fib<3>> > >());
- ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from mich.cpp:3:
- ./fibin.h:243:116: error: no type named 'result' in 'Evaluate<Eq<Lambda<34, Ref<34> >, Lambda<34, Ref<34> > >, Environment<16, Lambda<34, Ref<34> >, EmptyEnvironment> >'
- typename Evaluate<Eq<typename Evaluate<LeftVal, Env>::result, typename Evaluate<RightVal, Env>::result>, Env>::result typedef result;
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
- ./fibin.h:243:14: note: in instantiation of template class 'Evaluate<Eq<Lambda<34, Ref<34> >, Lambda<34, Ref<34> > >, Environment<16, Lambda<34, Ref<34> >, EmptyEnvironment> >' requested here
- typename Evaluate<Eq<typename Evaluate<LeftVal, Env>::result, typename Evaluate<RightVal, Env>::result>, Env>::result typedef result;
- ^
- ./fibin.h:233:35: note: in instantiation of template class 'Evaluate<Eq<Ref<16>, Ref<16> >, Environment<16, Lambda<34, Ref<34> >, EmptyEnvironment> >' requested here
- typename Evaluate<If<typename Evaluate<Condition, Env>::result, Then, Else>, Env>::result typedef result;
- ^
- ./fibin.h:238:14: note: in instantiation of template class 'Evaluate<If<Eq<Ref<16>, Ref<16> >, Lit<Fib<10> >, Lit<Fib<11> > >, Environment<16, Lambda<34, Ref<34> >, EmptyEnvironment> >' requested here
- typename Evaluate<Expression, Environment<Variable, typename Evaluate<Value,Env>::result, Env> >::result typedef result;
- ^
- ./fibin.h:272:16: note: in instantiation of template class 'Evaluate<Let<16, Lambda<34, Ref<34> >, If<Eq<Ref<16>, Ref<16> >, Lit<Fib<10> >, Lit<Fib<11> > > >, EmptyEnvironment>' requested here
- return Evaluate<Expr, EmptyEnvironment>::result::value;
- ^
- mich.cpp:191:29: note: in instantiation of function template specialization 'Fibin<int, true>::eval<Let<16, Lambda<34, Ref<34> >, If<Eq<Ref<16>, Ref<16> >, Lit<Fib<10> >, Lit<Fib<11> > > > >' requested
- here
- static_assert(55 == FB::eval<FunctionComparison>());
- ^
- mich.cpp:191:25: error: static_assert expression is not an integral constant expression
- static_assert(55 == FB::eval<FunctionComparison>());
- ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from mich.cpp:3:
- ./fibin.h:272:58: error: no member named 'value' in 'Invoke<Invoke<Lambda<16, Invoke<Lambda<34, Invoke<Ref<34>, Ref<34> > >, Lambda<34, Invoke<Ref<16>, Lambda<11281729, Invoke<Invoke<Ref<34>, Ref<34> >,
- Ref<11281729> > > > > > >, Lambda<16, Lambda<24, If<Eq<Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >,
- Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Lit<Fib<1> > > > > > > > > > > > >, Ref<24> >, Ref<24>, Sum<Ref<24>, Invoke<Ref<16>, Sum<Ref<24>, Lit<Fib<3> > > > > > > > >, Lit<Fib<1> > >'
- return Evaluate<Expr, EmptyEnvironment>::result::value;
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
- mich.cpp:219:30: note: in instantiation of function template specialization 'Fibin<unsigned long long, true>::eval<Invoke<Invoke<Lambda<16, Invoke<Lambda<34, Invoke<Ref<34>, Ref<34> > >, Lambda<34,
- Invoke<Ref<16>, Lambda<11281729, Invoke<Invoke<Ref<34>, Ref<34> >, Ref<11281729> > > > > > >, Lambda<16, Lambda<24, If<Eq<Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >,
- Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Lit<Fib<1> > > > > > > > > > > > >, Ref<24> >, Ref<24>, Sum<Ref<24>,
- Invoke<Ref<16>, Sum<Ref<24>, Lit<Fib<3> > > > > > > > >, Lit<Fib<1> > > >' requested here
- Fibin<uint64_t>::eval<Invoke<
- ^
- mich.cpp:219:13: error: static_assert expression is not an integral constant expression
- Fibin<uint64_t>::eval<Invoke<
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from mich.cpp:3:
- ./fibin.h:272:58: error: no member named 'value' in 'Invoke<Invoke<Lambda<16, Invoke<Lambda<34, Invoke<Ref<34>, Ref<34> > >, Lambda<34, Invoke<Ref<16>, Lambda<11281729, Invoke<Invoke<Ref<34>, Ref<34> >,
- Ref<11281729> > > > > > >, Lambda<16, Lambda<24, If<Eq<Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >,
- Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >,
- Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Lit<Fib<5> > > > > > > > > > > > > > > > > > > > > > > > > > >, Ref<24> >, Ref<24>,
- Sum<Ref<24>, Invoke<Ref<16>, Sum<Ref<24>, Lit<Fib<3> > > > > > > > >, Lit<Fib<1> > >'
- return Evaluate<Expr, EmptyEnvironment>::result::value;
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
- mich.cpp:225:30: note: in instantiation of function template specialization 'Fibin<unsigned long long, true>::eval<Invoke<Invoke<Lambda<16, Invoke<Lambda<34, Invoke<Ref<34>, Ref<34> > >, Lambda<34,
- Invoke<Ref<16>, Lambda<11281729, Invoke<Invoke<Ref<34>, Ref<34> >, Ref<11281729> > > > > > >, Lambda<16, Lambda<24, If<Eq<Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >,
- Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >,
- Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Sum<Lit<Fib<6> >, Lit<Fib<5> > > > >
- > > > > > > > > > > > > > > > > > > > > > >, Ref<24> >, Ref<24>, Sum<Ref<24>, Invoke<Ref<16>, Sum<Ref<24>, Lit<Fib<3> > > > > > > > >, Lit<Fib<1> > > >' requested here
- Fibin<uint64_t>::eval<Invoke<
- ^
- mich.cpp:225:13: error: static_assert expression is not an integral constant expression
- Fibin<uint64_t>::eval<Invoke<
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 16 warnings and 11 errors generated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement