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


Am Dienstag, den 05.12.2006, 11:41 +0100 schrieb Daniel Wesslén:

>
> Has it been that long since I tested this on gcc?
> Changing "data()" on the offending lines to "this->data()" should do it,
> though I'm afraid I can't guarantee there won't be other errors like it
> at the moment.
> Use -fpermissive as suggested if you want to try it out for now.
>
> Thanks.
>
>
> --
> Daniel Wesslén
>

(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