[Trilinos-Users] with_boost

Eligiusz Postek ewpostek at googlemail.com
Sat Dec 2 01:50:48 EST 2017


Dear Colleagues,
I encountered an error with boost (1.65, 1.64).
I use gcc-5.
This is Trilinos taken from github,
could you give a hint,
Best regards,
Elek

[ 97%] Building CXX object
packages/stokhos/src/CMakeFiles/stokhos.dir/nox/NOX_Epetra_LinearSystem_SGGS.cpp.o
In file included from /usr/include/boost/functional/hash/hash.hpp:477:0,
                 from /usr/include/boost/functional/hash.hpp:6,
                 from /usr/include/boost/unordered/unordered_map.hpp:17,
                 from /usr/include/boost/unordered_map.hpp:16,
                 from
/users/work/ewpostek/libs_all/tri_x/trunk/packages/stokhos/src/epetra/Stokhos_AdaptivityManager.hpp:64,
                 from
/users/work/ewpostek/libs_all/tri_x/trunk/packages/stokhos/src/epetra/Stokhos_AdaptivityManager.cpp:44:
/usr/include/boost/functional/hash/extensions.hpp:38:33: error:
‘template<class T, class A> std::size_t boost::hash_value’ conflicts with a
previous declaration
     std::size_t hash_value(std::list<T, A> const& v);
                                 ^
/usr/include/boost/functional/hash/extensions.hpp:36:17: note: previous
declaration ‘namespace boost { }::hash_value’
     std::size_t hash_value(std::vector<T, A> const&);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20171202/da40a9f7/attachment.html>


More information about the Trilinos-Users mailing list