|
Boost : |
From: John Maddock (john_at_[hidden])
Date: 2006-10-17 09:01:44
What's the state of support for VC6/7 in Boost.Operators?
I'm asking because I started investigating the remaining regressions for
Boost.Rational and I've come up against a road-block: I can get everything
to work (at least I think so), but not the comparison operators, so:
my_rational_1 != my_rational_2
doesn't compile with VC6/7, but does with everything else. I'm assuming
that's because these compilers don't find the necessary friend-functions in
the operators base classes, or is there something else going on here?
The error message is:
rational_test.cpp(261) : error C2678: binary '!=' : no operator defined
which takes a left-hand operand of type 'class boost::rational<short>' (or
there is no acceptable conversion)
../../boost/test/test_case_template.hpp(73) : while compiling
class-template member function 'void __thiscall
basic_rational_suite::rational_comparison_test<short>::test_method(void)'
BTW is the use of Boost.Operators by the rational lib new to this version?
If so we might just have to mark up VC6/7 as unsupported.
Thanks,
John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk