Created
March 24, 2016 11:50
-
-
Save anonymous/39e82d070e1036cece3a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sensei@Senseis-MacBook-Pro:tmp$ make | |
[100%] Building CXX object CMakeFiles/fenics_cpp.dir/main.cpp.o | |
In file included from /Users/sensei/Downloads/mapconst/main.cpp:2: | |
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iostream:38: | |
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ios:216: | |
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__locale:15: | |
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:439: | |
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:628: | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:1731:31: error: | |
no matching constructor for initialization of 'dolfin::Constant' | |
::new((void*)__p) _Up(_VSTD::forward<_Args>(__args)...); | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:1647:18: note: | |
in instantiation of function template specialization | |
'std::__1::allocator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::basic_string<char>, | |
dolfin::Constant>, void *> >::construct<dolfin::Constant>' requested here | |
{__a.construct(__p, _VSTD::forward<_Args>(__args)...);} | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:1493:14: note: | |
in instantiation of function template specialization | |
'std::__1::allocator_traits<std::__1::allocator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::basic_string<char>, | |
dolfin::Constant>, void *> > >::__construct<dolfin::Constant>' requested here | |
{__construct(__has_construct<allocator_type, _Tp*, _Args...>(), | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/unordered_map:1465:20: note: | |
in instantiation of function template specialization | |
'std::__1::allocator_traits<std::__1::allocator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::basic_string<char>, | |
dolfin::Constant>, void *> > >::construct<dolfin::Constant>' requested here | |
__node_traits::construct(__na, _VSTD::addressof(__h->__value_.__cc.second)); | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/unordered_map:1550:25: note: | |
in instantiation of member function 'std::__1::unordered_map<std::__1::basic_string<char>, dolfin::Constant, | |
std::__1::hash<std::__1::basic_string<char> >, std::__1::equal_to<std::__1::basic_string<char> >, | |
std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, dolfin::Constant> > | |
>::__construct_node_with_key' requested here | |
__node_holder __h = __construct_node_with_key(_VSTD::move(__k)); | |
^ | |
/Users/sensei/Downloads/mapconst/main.cpp:106:19: note: in instantiation of member function | |
'std::__1::unordered_map<std::__1::basic_string<char>, dolfin::Constant, | |
std::__1::hash<std::__1::basic_string<char> >, std::__1::equal_to<std::__1::basic_string<char> >, | |
std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, dolfin::Constant> > >::operator[]' | |
requested here | |
L.f = maptesting["abc"]; | |
^ | |
/Applications/FEniCS.app/Contents/Resources/include/dolfin/function/Constant.h:52:14: note: candidate constructor not | |
viable: requires single argument 'value', but no arguments were provided | |
explicit Constant(double value); | |
^ | |
/Applications/FEniCS.app/Contents/Resources/include/dolfin/function/Constant.h:91:14: note: candidate constructor not | |
viable: requires single argument 'values', but no arguments were provided | |
explicit Constant(std::vector<double> values); | |
^ | |
/Applications/FEniCS.app/Contents/Resources/include/dolfin/function/Constant.h:108:5: note: candidate constructor not | |
viable: requires single argument 'constant', but no arguments were provided | |
Constant(const Constant& constant); | |
^ | |
/Applications/FEniCS.app/Contents/Resources/include/dolfin/function/Constant.h:67:5: note: candidate constructor not | |
viable: requires 2 arguments, but 0 were provided | |
Constant(double value0, double value1); | |
^ | |
/Applications/FEniCS.app/Contents/Resources/include/dolfin/function/Constant.h:100:5: note: candidate constructor not | |
viable: requires 2 arguments, but 0 were provided | |
Constant(std::vector<std::size_t> value_shape, | |
^ | |
/Applications/FEniCS.app/Contents/Resources/include/dolfin/function/Constant.h:84:5: note: candidate constructor not | |
viable: requires 3 arguments, but 0 were provided | |
Constant(double value0, double value1, double value2); | |
^ | |
1 error generated. | |
make[2]: *** [CMakeFiles/fenics_cpp.dir/main.cpp.o] Error 1 | |
make[1]: *** [CMakeFiles/fenics_cpp.dir/all] Error 2 | |
make: *** [all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment