Original Post
Hey, sorry to be a bother.... but this is really confusing me... I spent a while trying to figure out why I kept getting the error (when trying to create a std::vector c:\Program Files\VS2003\Vc7\include\vector(507): error C2719: '_Val': formal parameter with __declspec(align('16')) won't be aligned Basically, When I switched out my D3DXMATRIXA16's with D3DXMATRIX's , things worked fine. Why is this? I appreciate it. I am worried that I may take a performance hit in the long run by not using A16's. Clarification: For example: THIS WORKS FINE: ------------------------------- class X { public: X():val_(0){} X(int val):val_(val){} int get(){return val_;} void set(int val){val_=val;} private: long Speed; double Size; double TimeTilStart; double DistanceToTravel; //////////////////////////////// <------------------------------------ D3DXMATRIX matTemp; //////////////////////////////// int val_; }; std::vector hi; THIS DOES NOT WORK FINE ------------------------------- class X { public: X():val_(0){} X(int val):val_(val){} int get(){return val_;} void set(int val){val_=val;} private: long Speed; double Size; double TimeTilStart; double DistanceToTravel; //////////////////////////////// <------------------------------- D3DXMATRIXA16 matTemp; //////////////////////////////// int val_; }; std::vector hi;