__m128 g++ error

Discussion in 'C++' started by onorinbejasus, Sep 4, 2010.

  1. onorinbejasus

    onorinbejasus New Member

    Joined:
    Sep 4, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    I am porting software from a VS compiled program to my Mac. In this code, __m128's are used ALOT. An example of this error would be:


    Projector.cpp:1014: error: request for member ‘m128_f32’ in ‘v4Max.Vector4::fVector[2]’, which is of non-class type ‘float __vector__’

    I have included both xmmintrin.h and emmintrin.h, but the same error occurs. Is __m128 native to only windows, and if so, is there a solution for Macs?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice