Boost logo

Boost :

Subject: [boost] [test] Errors #including test/floating_point_comparison.hpp
From: Emil Dotchevski (emil_at_[hidden])
Date: 2009-10-26 19:21:46


The log below shows a warning and 3 errors in
test/predicate_result.hpp from Comeau C++ 4.3.10. Is this easy to fix?

(Incidentally, I am not using boost/test, I only need
floating_point_comparison.hpp -- shouldn't floating point comparison
be independent from boost/test?)

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode

como-win.compile.c++
..\..\..\..\..\..\bin\dev\boost-la\libs\la\test\col_matrix_test.test\como-win-4.3.10\debug\link-static\col_matrix_test.obj
"C:\code\dev\boost-trunk\boost/test/utils/basic_cstring/basic_cstring.hpp",
line 60: warning #68-D:
          integer conversion resulted in a change of sign
      enum npos_type { npos = static_cast<size_type>(-1) };
                              ^

"C:\code\dev\boost-trunk\boost/test/predicate_result.hpp", line 62:
warning #54-D:
          too few arguments in macro invocation
      BOOST_READONLY_PROPERTY( bool, (predicate_result) ) p_predicate_value;
      ^

"C:\code\dev\boost-trunk\boost/test/predicate_result.hpp", line 62: error #40:
          expected an identifier
      BOOST_READONLY_PROPERTY( bool, (predicate_result) ) p_predicate_value;
      ^

"C:\code\dev\boost-trunk\boost/test/predicate_result.hpp", line 62: error #277:
          invalid friend declaration
      BOOST_READONLY_PROPERTY( bool, (predicate_result) ) p_predicate_value;
      ^

"C:\code\dev\boost-trunk\boost/test/predicate_result.hpp", line 62: error #65:
          expected a ";"
      BOOST_READONLY_PROPERTY( bool, (predicate_result) ) p_predicate_value;
      ^


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk