|
Boost Users : |
From: Matt Amato (matt.amato_at_[hidden])
Date: 2005-10-26 12:34:12
I don't know if this is a bug or not, but using
boost/test/floating_point_comparison.hpp in a precompiled header under
VC71 on Windows yields multiply defined symbol errors for each file
using it. The workaround is to not use it in a precompiled header but
only in the source files where it is needed. Any ideas?
Linking...
stdafx.obj : error LNK2005: "struct
check_is_close_t::boost::check_is_close_t
boost::test_tools::`anonymous namespace'::check_is_close"
(?check_is_close@?A0x5e8fa061_at_test_tools_at_boost@@3Ucheck_is_close_t_at_23@A)
already defined in TestExample.obj
..\..\..\..\..\bin\Debug.NET\Test.exe : fatal error LNK1169: one or
more multiply defined symbols found
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net