logo       

Link error with CVS code for MSVC-8.0 x64 builds: msg#00013

lib.boost.asio.user

Subject: Link error with CVS code for MSVC-8.0 x64 builds

Hi, I've been adapting a project to use the latest ASIO CVS and I've
encountered a link problem which only manifests itself with MSVC-8.0 x64
builds.

I'm using the asio.hpp header to blanket include all asio headers.
Builds with MSVC 7.1 or 8.0 32 bit work. For 64bit builds I get numerous
duplicate symbol errors all for the same symbol:

error LNK2005: "unsigned __int64 __cdecl
asio::detail::hash_value(unsigned __int64)"
(?hash_value@detail@asio@@YA_K_K@Z) already defined in .....

Hope this is helpful to you for tracking down the problem.

Kind regards, Eoin.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise