Boost logo

Boost :

From: Maik Beckmann (maikbeckmann_at_[hidden])
Date: 2006-12-05 07:10:06


Am Dienstag, den 05.12.2006, 12:36 +0100 schrieb Maik Beckmann:

> (1)Note that I'm not an experienced developer!
>
> chaning data() to this->data() causes also no need for -fpermissive
> anymore.
>
> I made additionally changes to get it compiled:
>
> tmatrix.h: element ==> Base::template element
>
> constants.h: commented typeless constants zero and identity
> since this triggers..
> <error>
> ../include/math/constants.h:14: error:
> uninitialized const 'math::identity'
> ../include/math/constants.h:17:
> error: uninitialized const 'math::zero'
> </error>
>
> I'm not sure if the syntax
> classname::template template_member
> is the correct answer to the problem, since I didn't see this very often
> (but consider (1) ;o) ).
>
> Thanks for posting this Library. It would be wonderful if the gcc
> support gets updated.
>
> Best Regards,
> Maik Beckmann

If the constants zero and identity are not commented but initialized
like suggested by gcc
     
    constants.h:
               const identity_t identity = identity_t();
               const zero_t zero = zero_t();

matrix2.cpp matrix3.cpp, matrix.cpp compile as well.

Regards,
Maik


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