26 Oct
2005
26 Oct
'05
5:57 p.m.
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?
I suspect the mention of an anomymous namespace may be a clue here: precompiled headers probably use the same mangled name for all translation units, which would not be std conforming behaviour. John.