AMDG Robert Mecklenburg wrote:
Compiling against the boost trunk I'm getting hundreds of these:
g++ -Wall -Wextra -Wno-missing-braces -g -ftrapv -DBOOST_1_36_0 -Iboost-1_37 -MMD -MP -DUSE_TRAPV -c -o src/test/BlobTest.o src/test/BlobTest.cpp boost/test/floating_point_comparison.hpp:224: warning: 'boost::test_tools::<unnamed>::check_is_close' defined but not used boost/test/floating_point_comparison.hpp:246: warning: 'boost::test_tools::<unnamed>::check_is_small' defined but not used
Any chance we can fix this? If you need a tester for g++ 4.2.3, I can do it.
The usual trick for avoiding ODR violations seems to work. class X {}; template<class T> struct static_ { static T value; }; template<class T> T static_<T>::value; namespace { const X& x = static_<X>::value; } int main() { } In Christ, Steven Watanabe