1>------ Rebuild All started: Project: EnumHash, Configuration: Debug Win32 ------ 1>Build started 27/09/2012 12:52:10. 1>_PrepareForClean: 1> Deleting file "Debug\EnumHash.lastbuildstate". 1>InitializeBuildStatus: 1> Creating "Debug\EnumHash.unsuccessfulbuild" because "AlwaysCreate" was specified. 1>ClCompile: 1> stdafx.cpp 1> EnumHash.cpp 1>o:\otherlibs\boost\current\boost\functional\hash\extensions.hpp(257): error C2665: 'boost::hash_value' : none of the 2 overloads could convert all the argument types 1> o:\otherlibs\boost\current\boost\functional\hash\hash.hpp(115): could be 'size_t boost::hash_value(std::type_index)' 1> o:\otherlibs\boost\current\boost\functional\hash\extensions.hpp(160): or 'size_t boost::hash_value(const std::tr1::tuple<> &)' 1> while trying to match the argument list '(const MyClass::eMyEnum)' 1> o:\otherlibs\boost\current\boost\functional\hash\extensions.hpp(256) : while compiling class template member function 'size_t boost::hash::operator ()(const T &) const' 1> with 1> [ 1> T=MyClass::eMyEnum 1> ] 1> o:\otherlibs\boost\current\boost\type_traits\is_empty.hpp(53) : see reference to class template instantiation 'boost::hash' being compiled 1> with 1> [ 1> T=MyClass::eMyEnum 1> ] 1> o:\otherlibs\boost\current\boost\type_traits\is_empty.hpp(79) : see reference to class template instantiation 'boost::detail::empty_helper_t1' being compiled 1> with 1> [ 1> T=boost::hash 1> ] 1> o:\otherlibs\boost\current\boost\type_traits\is_empty.hpp(88) : see reference to class template instantiation 'boost::detail::empty_helper' being compiled 1> with 1> [ 1> T=boost::hash, 1> is_a_class=true 1> ] 1> o:\otherlibs\boost\current\boost\type_traits\is_empty.hpp(220) : see reference to class template instantiation 'boost::detail::is_empty_impl' being compiled 1> with 1> [ 1> T=boost::hash 1> ] 1> o:\otherlibs\boost\current\boost\unordered\detail\util.hpp(191) : see reference to class template instantiation 'boost::is_empty' being compiled 1> with 1> [ 1> T=boost::hash 1> ] 1> o:\otherlibs\boost\current\boost\unordered\detail\util.hpp(200) : see reference to class template instantiation 'boost::unordered::detail::generate_base' being compiled 1> with 1> [ 1> T=boost::hash, 1> Index=1 1> ] 1> o:\otherlibs\boost\current\boost\unordered\detail\buckets.hpp(955) : see reference to class template instantiation 'boost::unordered::detail::compressed' being compiled 1> with 1> [ 1> T1=boost::hash, 1> T2=std::equal_to 1> ] 1> o:\otherlibs\boost\current\boost\unordered\detail\table.hpp(67) : see reference to class template instantiation 'boost::unordered::detail::functions' being compiled 1> with 1> [ 1> H=boost::hash, 1> P=std::equal_to 1> ] 1> o:\otherlibs\boost\current\boost\unordered\detail\unique.hpp(215) : see reference to class template instantiation 'boost::unordered::detail::table' being compiled 1> with 1> [ 1> Types=boost::unordered::detail::map>,MyClass::eMyEnum,std::string,boost::hash,std::equal_to> 1> ] 1> o:\otherlibs\boost\current\boost\unordered\unordered_map.hpp(74) : see reference to class template instantiation 'boost::unordered::detail::table_impl' being compiled 1> with 1> [ 1> Types=boost::unordered::detail::map>,MyClass::eMyEnum,std::string,boost::hash,std::equal_to> 1> ] 1> d:\project\library\dev\experiment\cpp\enumhash\enumhash\enumhash.cpp(22) : see reference to class template instantiation 'boost::unordered::unordered_map' being compiled 1> with 1> [ 1> K=MyClass::eMyEnum, 1> T=std::string 1> ] 1> Generating Code... 1> 1>Build FAILED. 1> 1>Time Elapsed 00:00:01.48 ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========