
Daniel James wrote:
When I tested it, it didn't affect VC9
You get the same thing happening in VC9(SP1) if you put #include <boost/functional/hash/hash.hpp> in a precompiled header and <list> in a cpp file that includes it. I recently ran into a similar issue, where i had #define BOOST_ERROR_CODE_HEADER_ONLY #include <boost/system/error_code.hpp> in a cpp file and the hash header in the precompiled header, which causes the error boost\libs\system\src\error_code.cpp(267) : error C2872: 'invalid_argument' : ambiguous symbol could be 'boost\system\error_code.hpp(85) : boost::system::errc::errc_t invalid_argument' or '\microsoft visual studio 9.0\vc\include\stdexcept(76) : std::invalid_argument' Maybe a bit of an odd case, but confusing in any case. In any case, it seems ok with the current trunk :) -- View this message in context: http://www.nabble.com/-hash--msvc-8.0--%3Cboost-functional-hash-detail-float... Sent from the Boost - Dev mailing list archive at Nabble.com.