Boost logo

Boost :

From: Hubert HOLIN (Hubert.Holin_at_[hidden])
Date: 2002-10-15 04:06:19


Somewhere in the E.U., le 15/10/2002

        Thanks for the input.

                I have applied the changes you suggest. Please note that due to some
unfortunate circumstances beyond our control, the quaternion, octonion
and special functions libraries which shipped with Boost 1.29.0 were not
in the state they were meant to be in. You might want to download new
versions of these libraries from the CVS in a couple of days (while I am
at it, I'll try to move up to the new test system).

        Merci

                Hubert Holin
                Hubert.Holin_at_[hidden]

Alkis Evlogimenos wrote:
>
> The quaternion tests fail with this error message:
>
> In file included from /tmp/boost/boost/boost/math/octonion.hpp:14,
> from
> /tmp/boost/boost/libs/math/octonion/octonion_test.cpp:14:
> /tmp/boost/boost/boost/math/quaternion.hpp: In function `class _STL::istream &
> boost::math::operator >>(_STL::istream &, boost::math::quaternion<X> &)':
> /tmp/boost/boost/boost/math/quaternion.hpp:1154: type/value mismatch at
> argument 1 in template parameter list for `template <class _CharT>
> _STL::ctype<_CharT>'
> /tmp/boost/boost/boost/math/quaternion.hpp:1154: expected a type, got
> `charT'
> /tmp/boost/boost/boost/math/quaternion.hpp:1154: confused by earlier errors,
> bailing out
>
> /opt/gcc2/bin/g++ -c -Wall -ftemplate-depth-100 -D_STLP_DEBUG -g -O0
> -fno-inline -D_STLP_USE_DYNAMIC_LIB -I"../status" -isystem
> "/opt/gcc2/include/stlport" -isystem "/tmp/boost/boost" -o
> "../status/bin/octonion_test.test/gcc2953-stlport/debug/runtime-link-dynamic/octonion_test.o"
> "/tmp/boost/boost/libs/math/octonion/octonion_test.cpp"
>
> The following patch fixes this issue (moving the typedef before getting
> std::ctype):
>
> Index: boost/math/quaternion.hpp
> ===================================================================
> RCS file: /cvsroot/boost/boost/boost/math/quaternion.hpp,v
> retrieving revision 1.5
> diff -r1.5 quaternion.hpp
> 1151a1152,1155
> > #if defined(__GNUC__) && __GNUC__ < 3
> > typedef char charT;
> > #endif
> >
> 1155,1158d1158
> < #endif
> <
> < #if defined(__GNUC__) && __GNUC__ < 3
> < typedef char charT;
>
> Similarly for octonion:
>
> Index: boost/math/octonion.hpp
> ===================================================================
> RCS file: /cvsroot/boost/boost/boost/math/octonion.hpp,v
> retrieving revision 1.6
> diff -r1.6 octonion.hpp
> 1735a1736,1739
> > #if defined(__GNUC__) && __GNUC__ < 3
> > typedef char charT;
> > #endif
> >
> 1739,1742d1742
> < #endif
> <
> < #if defined(__GNUC__) && __GNUC__ < 3
> < typedef char charT;
>
> --
>
> Alkis
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


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