[macstl-dev] Re: gcc-4.0.0 la perfecto!
Ilya Lipovsky
lipovsky at skycomputers.com
Sun Jul 3 04:54:36 WST 2005
> One final ask on gcc 3.4.2 before we abandon it:
>
> try typedef'ing the vector type once outside the class, then typedef that to
> data_type e.g.
>
> namespace macstl
> {
> namespace impl
> {
> typedef __vector unsigned char vuc;
> }
>
> template <> class vec <unsigned char, 16>
> {
> typedef impl::vuc data_type;
> };
>
> }
>
> instead of what's happening now:
>
> namespace macstl
> {
> template <> class vec <unsigned char, 16>
> {
> typedef __vector unsigned char data_type;
> };
> }
>
> If that doesn't work either, we'll call it quits on gcc 3.4.x and concentrate
> on getting 4.0 to work. (If it works, we can make the same change for all
> compilers, since it maintains some degree of macro-free-ness.)
>
Apparently, it worked! I am going to take a closer look at it next time.
There is also an issue with not finding the impl::generator even though
it's there. But, I hope, it's minor.
-Ilya
More information about the macstl-dev
mailing list